[arch-commits] Commit in python-cheroot/trunk (2 files)

Thore Bödecker foxxx0 at archlinux.org
Mon Apr 23 09:54:53 UTC 2018


    Date: Monday, April 23, 2018 @ 09:54:53
  Author: foxxx0
Revision: 317361

upgpkg: python-cheroot 6.2.4-1

update to 6.2.4

Modified:
  python-cheroot/trunk/PKGBUILD
  python-cheroot/trunk/cheroot-fix-setup-python3.patch

---------------------------------+
 PKGBUILD                        |   17 ++++++++++++-----
 cheroot-fix-setup-python3.patch |    4 ++--
 2 files changed, 14 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-23 09:51:10 UTC (rev 317360)
+++ PKGBUILD	2018-04-23 09:54:53 UTC (rev 317361)
@@ -5,7 +5,7 @@
 _pkgbase="${pkgbase//python-/}"
 pkgname=('python-cheroot' 'python2-cheroot')
 pkgdesc="Highly-optimized, pure-python HTTP server"
-pkgver=6.2.3
+pkgver=6.2.4
 pkgrel=1
 arch=('any')
 url="https://github.com/cherrypy/cheroot"
@@ -13,11 +13,18 @@
 makedepends=('python-six' 'python2-six' 'python-setuptools-scm'
   'python2-setuptools-scm' 'python2-backports.functools_lru_cache'
   'python2-backports.unittest_mock' 'tree')
-source=("${pkgbase}-${pkgver}.tar.gz::https://pypi.python.org/packages/54/cf/8ab6ba507d10d71c8258664a49ea5f685c47ab466f7213260412f80f4b2a/cheroot-6.2.3.tar.gz"
-        "LICENSE")
-sha512sums=('88514c1ada39845178ad990654d2fe180ab3fcf075181a137276331c0d16fea674df5d3cab12711777bd49f3f66e975cc07a5ecf0352f799dadaf7dbfe3718f4'
-            '1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944')
+source=("${pkgbase}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/e7/73/5cca1fe3f66777d267f9981b1b586511fc895b2ab0cabfaecf05ecc9ea03/cheroot-6.2.4.tar.gz"
+        "LICENSE"
+        "cheroot-fix-setup-python3.patch")
+sha512sums=('7d8097af006e6a8b137b3bab93e802c2dd291ce81d6eb0ea4dd377a31d573a056a787b58dec2d55b00dd4af01e1c0c68b44c9e0b46299198ebf411986f0988ce'
+            '1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944'
+            '5ec0001c803682f142e3eb1ebcf10614b3d4f2e64dfea874a868b7702a79b429ae86aea5c7b90711d573d5cc25e3296c3b64dc55598d926c06de59d35d8f04bc')
 
+prepare() {
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  patch -p1 -N -i "${srcdir}/cheroot-fix-setup-python3.patch"
+}
+
 package_python-cheroot() {
   depends=('python-six')
 

Modified: cheroot-fix-setup-python3.patch
===================================================================
--- cheroot-fix-setup-python3.patch	2018-04-23 09:51:10 UTC (rev 317360)
+++ cheroot-fix-setup-python3.patch	2018-04-23 09:54:53 UTC (rev 317361)
@@ -5,7 +5,7 @@
      python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
      install_requires=[
 -        'backports.functools_lru_cache',
-+        'backports.functools_lru_cache;python_version<"3"',
++        'backports.functools_lru_cache;python_version<"3.4"',
          'six>=1.11.0',
          'more_itertools>=2.6',
      ],
@@ -14,7 +14,7 @@
  
              'pytest-cov',
 -            'backports.unittest_mock',
-+            'backports.unittest_mock;python_version<"3"',
++            'backports.unittest_mock;python_version<"3.4"',
          ],
      },
      setup_requires=[



More information about the arch-commits mailing list