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


Commits:
22f683de by Jelle van der Waa at 2024-05-24T18:15:02+02:00
upgpkg: 1.1.8-9: Drop python-nose checkdepends

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,10 @@
 pkgbase = python-pytimeparse
        pkgdesc = A small library to parse various kinds of time expressions
        pkgver = 1.1.8
-       pkgrel = 8
+       pkgrel = 9
        url = https://github.com/wroberts/pytimeparse
        arch = any
        license = MIT
-       checkdepends = python-nose
        makedepends = python-build
        makedepends = python-installer
        makedepends = python-wheel


=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
 pkgname=python-pytimeparse
 _pyname=${pkgname#python-}
 pkgver=1.1.8
-pkgrel=8
+pkgrel=9
 pkgdesc='A small library to parse various kinds of time expressions'
 arch=(any)
 url="https://github.com/wroberts/$_pyname";
@@ -13,7 +13,6 @@ license=(MIT)
 depends=(python)
 makedepends=(python-{build,installer,wheel}
              python-setuptools)
-checkdepends=(python-nose)
 _archive="$_pyname-$pkgver"
 
source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.tar.gz";)
 sha256sums=('e86136477be924d7e670646a98561957e8ca7308d44841e21f5ddea757556a0a')
@@ -25,7 +24,7 @@ build() {
 
 check() {
        cd "$_archive"
-       nosetests
+       python -m unittest discover -vs .
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytimeparse/-/commit/22f683def8660df86fafe45b12c5e5832b1d7761

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


Reply via email to