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

Felix Yan felixonmars at archlinux.org
Sun Mar 15 10:30:06 UTC 2020


    Date: Sunday, March 15, 2020 @ 10:30:05
  Author: felixonmars
Revision: 597732

remove pre-commit from checkdepends

Modified:
  python-celery/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-15 10:29:42 UTC (rev 597731)
+++ PKGBUILD	2020-03-15 10:30:05 UTC (rev 597732)
@@ -26,7 +26,7 @@
 checkdepends=('python-pytest' 'python-pytest-runner' 'python-case' 'python-cryptography'
               'python-gevent' 'python-pymongo' 'python-msgpack' 'python-pyro' 'python-redis'
               'python-sqlalchemy' 'python-boto3' 'python-yaml' 'python-pyzmq' 'python-eventlet'
-              'python-moto' 'python-pre-commit')
+              'python-moto')
 source=("https://pypi.io/packages/source/c/celery/celery-$pkgver.tar.gz"
         celery at .service celery.tmpfiles.d)
 options=('!emptydirs')
@@ -36,7 +36,7 @@
 
 prepare() {
   cd celery-$pkgver
-  sed -i -e 's/==/>=/' requirements/test.txt
+  sed -i -e 's/==/>=/' -e '/pre-commit/d' requirements/test.txt
 
   sed -i -e '/from pytest import PytestUnknownMarkWarning/a \    from _pytest.outcomes import Failed' \
          -e 's/ValueError/Failed/' t/unit/contrib/test_pytest.py



More information about the arch-commits mailing list