Date: Tuesday, October 4, 2022 @ 06:32:39
Author: grawlinson
Revision: 1320874
upgpkg: python-debian 0.1.48-1; new upstream release
* New upstream release.
* Switch to PEP-517 build system.
Modified:
python-debian/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-04 06:31:10 UTC (rev 1320873)
+++ PKGBUILD 2022-10-04 06:32:39 UTC (rev 1320874)
@@ -4,7 +4,7 @@
# Contributor: Johannes Dewender arch at JonnyJD dot net
pkgname=python-debian
-pkgver=0.1.44
+pkgver=0.1.48
pkgrel=1
pkgdesc='Python module to work with Debian-related data formats'
arch=('any')
@@ -15,8 +15,14 @@
'python-chardet'
'python-six'
)
-makedepends=('git' 'python-setuptools')
-_commit='541ab6657e7ba2fa80c3882febfb561dfc9649df'
+makedepends=(
+ 'git'
+ 'python-build'
+ 'python-installer'
+ 'python-wheel'
+ 'python-setuptools'
+)
+_commit='d16abb0710011a22567442ce0ecbbebb489c7628'
source=("$pkgname::git+$url.git#commit=$_commit")
b2sums=('SKIP')
@@ -29,7 +35,7 @@
build() {
cd "$pkgname"
- python setup.py build
+ python -m build --wheel --no-isolation
}
check() {
@@ -44,5 +50,5 @@
package() {
cd "$pkgname"
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ python -m installer --destdir="$pkgdir" dist/*.whl
}