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

Thore Bödecker foxxx0 at archlinux.org
Thu Nov 21 14:16:10 UTC 2019


    Date: Thursday, November 21, 2019 @ 14:16:10
  Author: foxxx0
Revision: 531054

upgpkg: python-cheroot 8.2.1-4

add missing python-jaraco dependency, fixes FS#64181

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

------------------------------------+
 PKGBUILD                           |   14 +++++++---
 disable-broken-testmon-stuff.patch |   45 +++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-21 13:54:12 UTC (rev 531053)
+++ PKGBUILD	2019-11-21 14:16:10 UTC (rev 531054)
@@ -6,23 +6,27 @@
 pkgname=('python-cheroot' 'python2-cheroot')
 pkgdesc="Highly-optimized, pure-python HTTP server"
 pkgver=8.2.1
-pkgrel=3
+pkgrel=4
 arch=('any')
 url="https://github.com/cherrypy/cheroot"
 license=('MIT')
 makedepends=('python-six' 'python2-six' 'python-setuptools-scm'
   'python2-setuptools-scm' 'python2-backports.functools_lru_cache'
-  'python2-backports.unittest_mock' 'tree' 'python-tox' 'python2-tox')
+  'python2-backports.unittest_mock' 'tree' 'python-tox' 'python2-tox'
+  'python-jaraco' 'git')
 source=("https://files.pythonhosted.org/packages/source/${_pkgbase:0:1}/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz"
         "LICENSE"
-        "disable-broken-tests.patch")
+        "disable-broken-tests.patch"
+        "disable-broken-testmon-stuff.patch")
 sha512sums=('3f6b55c6b2403569eedb1fe7b473d3a65ad5d06cb99a38370316db38b6138b1a6921c6b7d8ba64424c5b8c20c9c58ada33da7cb8ebb6f313610f63c1f364f862'
             '1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944'
-            'ee08317c027a36461a89642e47edd5f9706796dbd6c273bbda3a37da5b1578701f861b09f23957636de5e72f38c312ad07caf0216408ec5d543feea7130839ba')
+            'ee08317c027a36461a89642e47edd5f9706796dbd6c273bbda3a37da5b1578701f861b09f23957636de5e72f38c312ad07caf0216408ec5d543feea7130839ba'
+            'c49ab4843ffbcdf6799620b281c21cf0e50df34842629c01d3b6faaaabf8a76c5fa956214fe4d277d8ff41f75d7498600f3dd617b9028bc2eba0ca4b1527c6ac')
 
 prepare() {
   cd "${srcdir}/${_pkgbase}-${pkgver}"
   patch -p1 -N -i "${srcdir}/disable-broken-tests.patch"
+  patch -p1 -N -i "${srcdir}/disable-broken-testmon-stuff.patch"
 
   # git-archive support is not needed since we use PyPI tarballs
   sed -i '/setuptools_scm_git_archive/d' setup.cfg
@@ -50,7 +54,7 @@
 }
 
 package_python-cheroot() {
-  depends=('python-six')
+  depends=('python-six' 'python-jaraco')
 
   cd "${srcdir}/${_pkgbase}-${pkgver}"
   python setup.py install --root="$pkgdir/" --optimize=1

Added: disable-broken-testmon-stuff.patch
===================================================================
--- disable-broken-testmon-stuff.patch	                        (rev 0)
+++ disable-broken-testmon-stuff.patch	2019-11-21 14:16:10 UTC (rev 531054)
@@ -0,0 +1,45 @@
+diff -upr a/cheroot.egg-info/requires.txt b/cheroot.egg-info/requires.txt
+--- a/cheroot.egg-info/requires.txt	2019-10-18 02:59:50.000000000 +0200
++++ b/cheroot.egg-info/requires.txt	2019-11-21 15:12:09.409022012 +0100
+@@ -18,7 +18,6 @@ collective.checkdocs
+ pytest>=2.8
+ pytest-mock>=1.11.0
+ pytest-sugar>=0.9.1
+-pytest-testmon>=0.9.7
+ pytest-watch==4.2.0
+ pytest-xdist>=1.28.0
+ coverage==4.5.3
+diff -upr a/pytest.ini b/pytest.ini
+--- a/pytest.ini	2019-10-18 02:59:30.000000000 +0200
++++ b/pytest.ini	2019-11-21 15:11:39.575862172 +0100
+@@ -1,6 +1,6 @@
+ [pytest]
+ norecursedirs = dist docs build .tox .eggs
+-addopts = --durations=10 -v -rxXs -l -n auto --testmon --doctest-modules --ignore cheroot/ssl/pyopenssl.py --junitxml=junit-test-results.xml --cov=cheroot --cov-report term-missing:skip-covered --cov-report xml
++addopts = --durations=10 -v -rxXs -l -n auto --doctest-modules --ignore cheroot/ssl/pyopenssl.py --junitxml=junit-test-results.xml --cov=cheroot --cov-report term-missing:skip-covered --cov-report xml
+ filterwarnings =
+     error
+ doctest_optionflags = ALLOW_UNICODE ELLIPSIS
+diff -upr a/setup.cfg b/setup.cfg
+--- a/setup.cfg	2019-10-18 02:59:51.000000000 +0200
++++ b/setup.cfg	2019-11-21 15:11:55.979100130 +0100
+@@ -78,7 +78,6 @@ testing =
+ 	pytest>=2.8
+ 	pytest-mock>=1.11.0
+ 	pytest-sugar>=0.9.1
+-	pytest-testmon>=0.9.7
+ 	pytest-watch==4.2.0
+ 	pytest-xdist>=1.28.0
+ 	
+diff -upr a/tox.ini b/tox.ini
+--- a/tox.ini	2019-10-18 02:59:30.000000000 +0200
++++ b/tox.ini	2019-11-21 15:07:15.714056061 +0100
+@@ -6,7 +6,7 @@ minversion = 3.13.2
+ deps =
+     setuptools>=31.0.1
+ commands =
+-    pytest --testmon-off {posargs}
++    pytest {posargs}
+     codecov -f coverage.xml -X gcov
+ usedevelop = True
+ extras = testing



More information about the arch-commits mailing list