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

Filipe Laíns ffy00 at archlinux.org
Wed Apr 29 13:35:28 UTC 2020


    Date: Wednesday, April 29, 2020 @ 13:35:28
  Author: ffy00
Revision: 622261

add missing check dependency

Modified:
  python-libcst/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-29 13:26:58 UTC (rev 622260)
+++ PKGBUILD	2020-04-29 13:35:28 UTC (rev 622261)
@@ -10,14 +10,10 @@
 license=('MIT')
 depends=('python-typing_extensions' 'python-typing_inspect' 'python-yaml')
 makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-hypothesis' 'python-isort')
+checkdepends=('python-pytest-runner' 'python-hypothesis' 'python-isort' 'python-black')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
 sha512sums=('9e68bf141fc798fa2b97712e0ed30ad91b609369d783d487a84781eac48c747caa325cf31351b2173d08da5fb027356fd19b063ed43ca6225a38e071f0208496')
 
-prepare() {
-  rm $_pkgname-$pkgver/libcst/{tests/test_fuzz.py,codegen/tests/test_codegen_clean.py}
-}
-
 build() {
   cd $_pkgname-$pkgver
 
@@ -27,7 +23,7 @@
 check() {
   cd $_pkgname-$pkgver
 
-  python setup.py pytest
+  python setup.py pytest --addopts '--ignore libcst/tests/test_fuzz.py'
 }
 
 package() {



More information about the arch-commits mailing list