Bert Peters pushed to branch main at Arch Linux / Packaging / Packages / 
xkcdpass


Commits:
acceac1f by Jelle van der Waa at 2025-01-09T20:11:07+01:00
Switch to unittest runner

Nose is deprecated for years and years now, the builtin runner handles
the tests fine and requires no external dependency.

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -14,7 +14,6 @@ url='https://github.com/redacted/XKCD-password-generator'
 license=('BSD-3-Clause')
 depends=('python')
 makedepends=('python-setuptools')
-checkdepends=('python-nose')
 optdepends=('cracklib: alternative wordlist'
     'words: alternative wordlist')
 source=("$url/archive/$pkgname-$pkgver.tar.gz")
@@ -27,7 +26,7 @@ build() {
 
 check() {
     cd "$_pkgname-$pkgname-$pkgver"
-    nosetests tests
+    python -m unittest discover -vs .
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xkcdpass/-/commit/acceac1f86feff6660a79a1f5bb93413e469029e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xkcdpass/-/commit/acceac1f86feff6660a79a1f5bb93413e469029e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to