Date: Saturday, November 5, 2022 @ 02:13:33
Author: grawlinson
Revision: 1342269
upgpkg: python-license-expression 30.0.1-2; todo rebuild - remove pip from
makedepends
Modified:
python-license-expression/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-05 00:46:18 UTC (rev 1342268)
+++ PKGBUILD 2022-11-05 02:13:33 UTC (rev 1342269)
@@ -5,7 +5,7 @@
pkgname=python-license-expression
pkgver=30.0.0
-pkgrel=1
+pkgrel=2
pkgdesc='Utility to parse, normalize and compare license expressions'
arch=('any')
url='https://github.com/nexB/license-expression'
@@ -16,9 +16,11 @@
)
makedepends=(
'git'
- 'python-setuptools'
+ 'python-build'
+ 'python-installer'
'python-wheel'
- 'python-pip'
+ 'python-setuptools-scm'
+ 'python-wheel'
)
checkdepends=(
'python-pytest'
@@ -46,17 +48,17 @@
build() {
cd "$pkgname"
- python setup.py build
+ python -m build --wheel --no-isolation
}
check() {
cd "$pkgname"
- pytest
+ pytest -v
}
package() {
cd "$pkgname"
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ python -m installer --destdir="$pkgdir" dist/*.whl
}