Date: Monday, November 14, 2022 @ 19:07:12 Author: felixonmars Revision: 1347552
upgpkg: python-parver 0.4-1 Modified: python-parver/trunk/PKGBUILD ----------+ PKGBUILD | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-11-14 19:06:00 UTC (rev 1347551) +++ PKGBUILD 2022-11-14 19:07:12 UTC (rev 1347552) @@ -1,30 +1,30 @@ # Maintainer: Felix Yan <[email protected]> pkgname=python-parver -pkgver=0.3.1 -pkgrel=5 +pkgver=0.4 +pkgrel=1 pkgdesc="Parse and manipulate version numbers" url="https://github.com/RazerM/parver" license=('MIT') arch=('any') -depends=('python-arpeggio' 'python-attrs' 'python-six') -makedepends=('python-setuptools') -checkdepends=('python-pytest-runner' 'python-hypothesis' 'python-pretend') +depends=('python-arpeggio' 'python-attrs') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') +checkdepends=('python-pytest' 'python-hypothesis' 'python-pretend') source=("$pkgname-$pkgver.tar.gz::https://github.com/RazerM/parver/archive/$pkgver.tar.gz") -sha512sums=('2ea7eb7be0c58657f5261d7b4729da6caaf2fac67db3fc3f36d29627bdbeba45f6ecb0e4bb251575b621908eb1ff5fa5ede5fc2ef0e041156dcc00548fd34360') +sha512sums=('3ff9532904712726588b493e6300e8422edf5231774fa01308533e184e66c0e73037aff40be66417de2ad066ac8332a4c62ffabd0bc89cecb29d45ce7b3f2013') build() { cd parver-$pkgver - python setup.py build + python -m build -nw } check() { cd parver-$pkgver - python setup.py pytest + PYTHONPATH=src pytest } package() { cd parver-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + python -m installer -d "$pkgdir" dist/*.whl + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ }
