Date: Monday, January 16, 2023 @ 11:30:54 Author: foxxx0 Revision: 1385681
upgpkg: python-nine 1.1.0-6: switch to unittest Modified: python-nine/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-01-16 11:25:04 UTC (rev 1385680) +++ PKGBUILD 2023-01-16 11:30:54 UTC (rev 1385681) @@ -1,10 +1,9 @@ # Maintainer: Thore Bödecker <[email protected]> # Contributor: Maikel Wever <[email protected]> -pkgbase='python-nine' -_pkgbase="${pkgbase#python-}" -pkgname=('python-nine') +pkgname='python-nine' +_pkgbase="${pkgname#python-}" pkgver=1.1.0 -pkgrel=5 +pkgrel=6 arch=('any') pkgdesc="Python 3/2 compatibility library, allowing to add py2 compat to py3 code" url="https://github.com/nandoflorestan/nine/" @@ -11,12 +10,12 @@ license=('custom') depends=('python') makedepends=('python-setuptools') -source=("https://github.com/nandoflorestan/nine/archive/v${pkgver}.tar.gz") +source=("${_pkgbase}-${pkgver}.tar.gz::https://github.com/nandoflorestan/nine/archive/v${pkgver}.tar.gz") sha512sums=('b445cd1f324a0d2045081226fb650eebd8dbc86942faff204c19fffc022f0190fc04abec563b107cb860202d29f08c132056b1098495471fdfda104e57878828') check() { cd "${srcdir}/${_pkgbase}-${pkgver}" - python ./setup.py test + python -m unittest discover -vs . } package() {
