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

Eli Schwartz eschwartz at archlinux.org
Wed Apr 1 17:59:58 UTC 2020


    Date: Wednesday, April 1, 2020 @ 17:59:58
  Author: eschwartz
Revision: 609070

python-cheroot: don't depend on python-coverage for tests

Modified:
  python-cheroot/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-01 17:59:15 UTC (rev 609069)
+++ PKGBUILD	2020-04-01 17:59:58 UTC (rev 609070)
@@ -14,9 +14,9 @@
   'python2-setuptools-scm' 'python2-backports.functools_lru_cache'
   'python2-backports.unittest_mock' 'tree' 'python-tox' 'python2-tox'
   'python-jaraco' 'git')
-checkdepends=('python-pytest' 'python-pytest-xdist' 'python-pytest-cov'
+checkdepends=('python-pytest' 'python-pytest-xdist'
               'python-requests' 'python-pyopenssl' 'python-trustme'
-              'python2-pytest' 'python2-pytest-xdist' 'python2-pytest-cov'
+              'python2-pytest' 'python2-pytest-xdist'
               'python2-requests' 'python2-pyopenssl')
 source=("https://files.pythonhosted.org/packages/source/${_pkgbase:0:1}/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz"
         "LICENSE"
@@ -31,6 +31,8 @@
   cd "${srcdir}/${_pkgbase}-${pkgver}"
   patch -p1 -N -i "${srcdir}/disable-broken-tests.patch"
   patch -p1 -N -i "${srcdir}/disable-broken-testmon-stuff.patch"
+  # don't use python-coverage
+  sed -i '/^    --cov/d' pytest.ini
 
   # git-archive support is not needed since we use PyPI tarballs
   sed -i '/setuptools_scm_git_archive/d' setup.cfg



More information about the arch-commits mailing list