[arch-commits] Commit in python-cheroot/trunk (PKGBUILD disable-broken-tests.patch)

Thore Bödecker foxxx0 at archlinux.org
Mon Jun 3 12:04:25 UTC 2019


    Date: Monday, June 3, 2019 @ 12:04:24
  Author: foxxx0
Revision: 476718

upgpkg: python-cheroot 6.5.5-1

update to 6.5.5

Added:
  python-cheroot/trunk/disable-broken-tests.patch
Modified:
  python-cheroot/trunk/PKGBUILD

----------------------------+
 PKGBUILD                   |   13 +++++++++----
 disable-broken-tests.patch |   10 ++++++++++
 2 files changed, 19 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-03 11:14:47 UTC (rev 476717)
+++ PKGBUILD	2019-06-03 12:04:24 UTC (rev 476718)
@@ -5,7 +5,7 @@
 _pkgbase="${pkgbase//python-/}"
 pkgname=('python-cheroot' 'python2-cheroot')
 pkgdesc="Highly-optimized, pure-python HTTP server"
-pkgver=6.5.4
+pkgver=6.5.5
 pkgrel=1
 arch=('any')
 url="https://github.com/cherrypy/cheroot"
@@ -15,15 +15,20 @@
   'python2-backports.unittest_mock' 'tree' 'python-tox' 'python2-tox')
 source=("https://files.pythonhosted.org/packages/source/${_pkgbase:0:1}/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz"
         "LICENSE"
-        "cheroot-fix-setup-python3.patch")
-sha512sums=('62a48ced225bf9167259b82f5e88a953bdc422982a6c0b0121b28e895cc8347cc033f573b57a048c59167586e0b21e94ad233ce2b65a1b72feb01db82b5ed411'
+        "cheroot-fix-setup-python3.patch"
+        "disable-broken-tests.patch")
+sha512sums=('85ac5072615ba1b906c23b167e2582ad3cad12c5e4b70d81cef971a61a1caf287f479a665e8fabd66b2bae9c8bb1c9947e5e3fb4ba6e064678782bb3eb351d34'
             '1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944'
-            'f303770c9f8565755230c2e957c444f2c69aea711abd8efc3d916688a31fe187d996e250eeba43e692e87d558831d4708fc712e2c653519d7ea42efba7d3e832')
+            'f303770c9f8565755230c2e957c444f2c69aea711abd8efc3d916688a31fe187d996e250eeba43e692e87d558831d4708fc712e2c653519d7ea42efba7d3e832'
+            'ee08317c027a36461a89642e47edd5f9706796dbd6c273bbda3a37da5b1578701f861b09f23957636de5e72f38c312ad07caf0216408ec5d543feea7130839ba')
 
 prepare() {
   cd "${srcdir}/${_pkgbase}-${pkgver}"
   patch -p1 -N -i "${srcdir}/cheroot-fix-setup-python3.patch"
 
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  patch -p1 -N -i "${srcdir}/disable-broken-tests.patch"
+
   # git-archive support is not needed since we use PyPI tarballs
   sed -i '/setuptools_scm_git_archive/d' setup.cfg
 

Added: disable-broken-tests.patch
===================================================================
--- disable-broken-tests.patch	                        (rev 0)
+++ disable-broken-tests.patch	2019-06-03 12:04:24 UTC (rev 476718)
@@ -0,0 +1,10 @@
+--- cheroot-6.5.5/cheroot/test/test_ssl.py	2019-06-03 13:16:07.000000000 +0200
++++ b/cheroot/test/test_ssl.py	2019-06-03 13:55:56.147157113 +0200
+@@ -206,7 +206,6 @@ def test_ssl_adapters(
+ @pytest.mark.parametrize(
+     'adapter_type',
+     (
+-        'builtin',
+         'pyopenssl',
+     ),
+ )



More information about the arch-commits mailing list