Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
python-justbases


Commits:
3a824222 by Jelle van der Waa at 2024-05-24T17:54:01+02:00
upgpkg: 0.15-6: use unittest for running tests

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,10 @@
 pkgbase = python-justbases
        pkgdesc = conversion of ints and rationals to any base
        pkgver = 0.15
-       pkgrel = 5
+       pkgrel = 6
        url = https://github.com/mulkieran/justbases
        arch = any
        license = GPL
-       checkdepends = python-nose
        checkdepends = python-hypothesis
        makedepends = python-setuptools
        depends = python


=====================================
PKGBUILD
=====================================
@@ -3,12 +3,12 @@
 pkgname=python-justbases
 _pkgname=justbases
 pkgver=0.15
-pkgrel=5
+pkgrel=6
 pkgdesc="conversion of ints and rationals to any base"
 url="https://github.com/mulkieran/justbases";
 depends=('python')
 makedepends=('python-setuptools')
-checkdepends=('python-nose' 'python-hypothesis')
+checkdepends=('python-hypothesis')
 license=('GPL')
 arch=('any')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mulkieran/${_pkgname}/archive/v${pkgver}.tar.gz";)
@@ -16,7 +16,7 @@ 
sha256sums=('e2ae5a552816f618dc4dcb408b3fc1711097f829dd825a1fd508c69357b562e6')
 
 check() {
     cd "$srcdir/${_pkgname}-$pkgver"
-    nosetests
+    PYTHONPATH=src python -m unittest discover -vs .
 }
 build() {
     cd "$srcdir/${_pkgname}-$pkgver"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-justbases/-/commit/3a824222569df195470365666d29e86d80e059f2

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


Reply via email to