Date: Monday, November 28, 2022 @ 07:45:12
Author: grawlinson
Revision: 1354536
archrelease: copy trunk to community-any
Added:
python-hachoir/repos/community-any/PKGBUILD
(from rev 1354535, python-hachoir/trunk/PKGBUILD)
Deleted:
python-hachoir/repos/community-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 54 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-28 07:33:38 UTC (rev 1354535)
+++ PKGBUILD 2022-11-28 07:45:12 UTC (rev 1354536)
@@ -1,48 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-# Contributor: Luis Martinez <luis dot martinez at tuta dot io>
-# Contributor: Michal Wojdyla < micwoj9292 at gmail dot com >
-# Contributor: arno <apithon.AT.free.DOT.fr>
-# Contributor: Pierre Bourdon <[email protected]>
-# Contributor: ianux <ianux AT free DOT fr>
-
-pkgname=python-hachoir
-pkgver=3.1.3
-pkgrel=1
-pkgdesc='A Python library to view and edit a binary stream field by field'
-arch=('any')
-url='https://hachoir.readthedocs.io/'
-license=('GPL')
-depends=(
- 'python'
- 'python-urwid'
- 'python-wxpython'
- 'python-darkdetect'
-)
-makedepends=('git' 'python-setuptools')
-_commit='a41e1df9ead5f6df30d616623e26b0537963ce87'
-source=("$pkgname::git+https://github.com/vstinner/hachoir.git#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- git describe --tags
-}
-
-build() {
- cd "$pkgname"
-
- python setup.py build
-}
-
-check() {
- cd "$pkgname"
-
- python runtests.py
-}
-
-package() {
- cd "$pkgname"
-
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: python-hachoir/repos/community-any/PKGBUILD (from rev 1354535,
python-hachoir/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-28 07:45:12 UTC (rev 1354536)
@@ -0,0 +1,54 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Luis Martinez <luis dot martinez at tuta dot io>
+# Contributor: Michal Wojdyla < micwoj9292 at gmail dot com >
+# Contributor: arno <apithon.AT.free.DOT.fr>
+# Contributor: Pierre Bourdon <[email protected]>
+# Contributor: ianux <ianux AT free DOT fr>
+
+pkgname=python-hachoir
+pkgver=3.2.0
+pkgrel=1
+pkgdesc='A Python library to view and edit a binary stream field by field'
+arch=('any')
+url='https://hachoir.readthedocs.io/'
+license=('GPL')
+depends=(
+ 'python'
+ 'python-urwid'
+ 'python-wxpython'
+ 'python-darkdetect'
+)
+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')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags
+}
+
+build() {
+ cd "$pkgname"
+
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "$pkgname"
+
+ python runtests.py
+}
+
+package() {
+ cd "$pkgname"
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}