[arch-commits] Commit in python-dephell-pythons/trunk (PKGBUILD py39.patch)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 07:14:53 UTC 2020
Date: Thursday, November 12, 2020 @ 07:14:52
Author: foutrelis
Revision: 751322
Add 3.9 to known Python versions
Added:
python-dephell-pythons/trunk/py39.patch
Modified:
python-dephell-pythons/trunk/PKGBUILD
------------+
PKGBUILD | 18 +++++++++++++-----
py39.patch | 14 ++++++++++++++
2 files changed, 27 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 07:01:00 UTC (rev 751321)
+++ PKGBUILD 2020-11-12 07:14:52 UTC (rev 751322)
@@ -2,8 +2,8 @@
_pkgname=dephell_pythons
pkgname=python-dephell-pythons
-pkgver=0.1.14
-pkgrel=2
+pkgver=0.1.15
+pkgrel=1
pkgdesc="Work with python versions"
arch=('any')
url="https://github.com/dephell/${_pkgname}"
@@ -11,10 +11,18 @@
depends=('python-attrs' 'python-dephell-specifier' 'python-packaging')
makedepends=('python-setuptools')
checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-sha256sums=('a2da1ba905084f0935392be6e1fee019b98f45439429e45278a181174cff93a9')
-b2sums=('e705f239cea702690607409e45ab766c4766ea13c3c3b2854b3ccddb33a40f9cacf70a744dc8a2339f86070045eba12f9b4e3292eb39d4ad893550d841262151')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
+ py39.patch)
+sha256sums=('804c29afa2147322aa23e791f591d0204fd1e9983afa7d91e1d1452fc7be1c5c'
+ 'f12e9736ef37020e8d2883a450b184922dc5beddd953eeca68fae2d0a335fd3c')
+b2sums=('49a892c221b188407938d0254e7336a9d63697acb6106fb82ecbaef2ce7e81b62a1570431ec0a064d58562e359045406ec206bcd0590548f3afa82153b05b06e'
+ '3a0ae636ffd37dd3e7b5aeb0d6d9209328606b50e02a1684b021854e609ad59f98805ef665e94b223d52cd3bdb8a08c62eade57539d8a6dd9c19fcc097271ff4')
+prepare() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+ patch -Np1 -i ../py39.patch
+}
+
build(){
cd "${srcdir}"/${_pkgname}-${pkgver}
Added: py39.patch
===================================================================
--- py39.patch (rev 0)
+++ py39.patch 2020-11-12 07:14:52 UTC (rev 751322)
@@ -0,0 +1,14 @@
+diff -upr dephell_pythons-0.1.15.orig/dephell_pythons/_constants.py dephell_pythons-0.1.15/dephell_pythons/_constants.py
+--- dephell_pythons-0.1.15.orig/dephell_pythons/_constants.py 2019-12-18 16:15:47.000000000 +0200
++++ dephell_pythons-0.1.15/dephell_pythons/_constants.py 2020-11-12 09:11:15.299174412 +0200
+@@ -6,8 +6,8 @@ import platform
+ IS_WINDOWS = (os.name == 'nt' or platform.system() == 'Windows')
+
+ PYTHONS_DEPRECATED = ('2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4')
+-PYTHONS_POPULAR = ('3.5', '3.6', '3.7')
+-PYTHONS_UNRELEASED = ('3.8', '4.0')
++PYTHONS_POPULAR = ('3.5', '3.6', '3.7', '3.8', '3.9')
++PYTHONS_UNRELEASED = ('4.0',)
+ PYTHONS = PYTHONS_POPULAR + tuple(reversed(PYTHONS_DEPRECATED)) + PYTHONS_UNRELEASED
+
+ PYTHON_IMPLEMENTATIONS = (
More information about the arch-commits
mailing list