Date: Monday, November 28, 2022 @ 07:33:38
Author: grawlinson
Revision: 1354535
upgpkg: python-hachoir 3.2.0-1; new upstream release
Modified:
python-hachoir/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-28 07:33:28 UTC (rev 1354534)
+++ PKGBUILD 2022-11-28 07:33:38 UTC (rev 1354535)
@@ -6,7 +6,7 @@
# Contributor: ianux <ianux AT free DOT fr>
pkgname=python-hachoir
-pkgver=3.1.3
+pkgver=3.2.0
pkgrel=1
pkgdesc='A Python library to view and edit a binary stream field by field'
arch=('any')
@@ -18,8 +18,14 @@
'python-wxpython'
'python-darkdetect'
)
-makedepends=('git' 'python-setuptools')
-_commit='a41e1df9ead5f6df30d616623e26b0537963ce87'
+makedepends=(
+ 'git'
+ 'python-build'
+ 'python-installer'
+ 'python-wheel'
+ 'python-setuptools'
+)
+_commit='90c624d976eb64064f370ee5a3c040535182ef49'
source=("$pkgname::git+https://github.com/vstinner/hachoir.git#commit=$_commit")
b2sums=('SKIP')
@@ -32,7 +38,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
}