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

Eli Schwartz eschwartz at archlinux.org
Tue Nov 10 20:02:17 UTC 2020


    Date: Tuesday, November 10, 2020 @ 20:02:16
  Author: eschwartz
Revision: 749776

python-jsonpickle: do not run coverage/black in pytest because it is completely pointless

Modified:
  python-jsonpickle/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-10 19:30:50 UTC (rev 749775)
+++ PKGBUILD	2020-11-10 20:02:16 UTC (rev 749776)
@@ -8,8 +8,8 @@
 url="https://jsonpickle.github.io/"
 depends=('python')
 makedepends=('python-setuptools-scm')
-checkdepends=('python-pytest-black' 'python-pytest-cov' 'python-numpy' 'python-feedparser'
-              'python-coverage' 'python-simplejson' 'python-pymongo' 'python-ujson' 'python-pandas')
+checkdepends=('python-numpy' 'python-feedparser' 'python-simplejson'
+              'python-pymongo' 'python-ujson' 'python-pandas' 'python-pytest')
 license=('BSD')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/jsonpickle/jsonpickle/archive/v$pkgver.tar.gz"
         fix-importlib_metadata-dependency.patch)
@@ -20,7 +20,8 @@
 
 prepare() {
   cd jsonpickle-$pkgver
-  sed -i 's/--flake8//' pytest.ini
+  # do not run coverage and other non-integration tests in an integration test
+  sed -i 's/--flake8 --black --cov --cov-append//' pytest.ini
   patch -Np1 < ../fix-importlib_metadata-dependency.patch
 }
 



More information about the arch-commits mailing list