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

Felix Yan felixonmars at archlinux.org
Sat May 23 01:58:06 UTC 2020


    Date: Saturday, May 23, 2020 @ 01:58:05
  Author: felixonmars
Revision: 631756

fix check()

Modified:
  python-elementpath/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-23 01:55:24 UTC (rev 631755)
+++ PKGBUILD	2020-05-23 01:58:05 UTC (rev 631756)
@@ -9,7 +9,7 @@
 arch=('any')
 depends=('python')
 makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-xmlschema')
+checkdepends=('python-lxml' 'python-pytest' 'python-xmlschema')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/sissaschool/elementpath/archive/v$pkgver.tar.gz")
 sha512sums=('44c4cc46d305e8bbb21742a05eb4248669079f3f7708284dac094387c8c332224fedcd2060a08c2e113f572aee3c4c055a9fba4ab5cd72981a1f969e662311c3')
 
@@ -20,7 +20,7 @@
 
 check() {
   cd elementpath-$pkgver
-  python setup.py pytest || warning "missing it_IT locale for testing"
+  python -m pytest
 }
 
 package() {



More information about the arch-commits mailing list