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

Chih-Hsuan Yen yan12125 at archlinux.org
Sun Jan 5 12:56:50 UTC 2020


    Date: Sunday, January 5, 2020 @ 12:56:49
  Author: yan12125
Revision: 549317

python-sshpubkeys: use unittest directly instead of the test command from setuptools

The latter is deprecated since setuptools 41.5.0 [1].

[1] https://github.com/pypa/setuptools/blob/v41.5.0/CHANGES.rst#v4150

Modified:
  python-sshpubkeys/trunk/PKGBUILD

----------+
 PKGBUILD |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-05 12:23:46 UTC (rev 549316)
+++ PKGBUILD	2020-01-05 12:56:49 UTC (rev 549317)
@@ -20,7 +20,7 @@
 
 check() {
     cd $pkgname-$pkgver
-    python setup.py test
+    python -m unittest -v tests
 }
 
 package() {



More information about the arch-commits mailing list