[arch-commits] Commit in python-dephell-pythons/repos/community-staging-any (3 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 07:15:36 UTC 2020


    Date: Thursday, November 12, 2020 @ 07:15:35
  Author: felixonmars
Revision: 751324

archrelease: copy trunk to community-staging-any

Added:
  python-dephell-pythons/repos/community-staging-any/PKGBUILD
    (from rev 751323, python-dephell-pythons/trunk/PKGBUILD)
  python-dephell-pythons/repos/community-staging-any/py39.patch
    (from rev 751323, python-dephell-pythons/trunk/py39.patch)
Deleted:
  python-dephell-pythons/repos/community-staging-any/PKGBUILD

------------+
 PKGBUILD   |   78 ++++++++++++++++++++++++++++++++---------------------------
 py39.patch |   14 ++++++++++
 2 files changed, 57 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 07:15:22 UTC (rev 751323)
+++ PKGBUILD	2020-11-12 07:15:35 UTC (rev 751324)
@@ -1,35 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=dephell_pythons
-pkgname=python-dephell-pythons
-pkgver=0.1.14
-pkgrel=2
-pkgdesc="Work with python versions"
-arch=('any')
-url="https://github.com/dephell/${_pkgname}"
-license=('MIT')
-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')
-
-build(){
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py build
-}
-
-check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python -m pytest
-}
-
-package() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: python-dephell-pythons/repos/community-staging-any/PKGBUILD (from rev 751323, python-dephell-pythons/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 07:15:35 UTC (rev 751324)
@@ -0,0 +1,43 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=dephell_pythons
+pkgname=python-dephell-pythons
+pkgver=0.1.15
+pkgrel=2
+pkgdesc="Work with python versions"
+arch=('any')
+url="https://github.com/dephell/${_pkgname}"
+license=('MIT')
+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"
+        py39.patch)
+sha256sums=('804c29afa2147322aa23e791f591d0204fd1e9983afa7d91e1d1452fc7be1c5c'
+            'f12e9736ef37020e8d2883a450b184922dc5beddd953eeca68fae2d0a335fd3c')
+b2sums=('49a892c221b188407938d0254e7336a9d63697acb6106fb82ecbaef2ce7e81b62a1570431ec0a064d58562e359045406ec206bcd0590548f3afa82153b05b06e'
+        '3a0ae636ffd37dd3e7b5aeb0d6d9209328606b50e02a1684b021854e609ad59f98805ef665e94b223d52cd3bdb8a08c62eade57539d8a6dd9c19fcc097271ff4')
+
+prepare() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+    patch -Np1 -i ../py39.patch
+}
+
+build(){
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python -m pytest
+}
+
+package() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Copied: python-dephell-pythons/repos/community-staging-any/py39.patch (from rev 751323, python-dephell-pythons/trunk/py39.patch)
===================================================================
--- py39.patch	                        (rev 0)
+++ py39.patch	2020-11-12 07:15:35 UTC (rev 751324)
@@ -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