Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / python-harparser
Commits: 93f172b3 by loqs at 2026-02-08T23:11:47+00:00 Use PEP 517 for building Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/. - - - - - d802be6e by loqs at 2026-02-10T21:22:58+00:00 Package MIT license file - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -5,8 +5,10 @@ pkgbase = python-harparser url = https://github.com/JustusW/harparser arch = any license = MIT - makedepends = python + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python source = python-harparser-0.4.tar.gz::https://github.com/JustusW/harparser/archive/0.4.tar.gz source = python310.patch ===================================== PKGBUILD ===================================== @@ -8,7 +8,7 @@ arch=('any') license=('MIT') url="https://github.com/JustusW/harparser" depends=('python') -makedepends=('python' 'python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=("$pkgname-$pkgver.tar.gz::https://github.com/JustusW/harparser/archive/$pkgver.tar.gz" python310.patch) sha512sums=('1aef9ae75b9446d487310a2e4ae4ee8a2aff10c022f68c316307335a5df4346defd73e0d12d0bd4d1a08eeabc90ade9f8d043ee981467bb4fe633184e9f815d9' @@ -21,7 +21,7 @@ prepare() { build() { cd "$srcdir"/harparser-$pkgver - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -31,5 +31,6 @@ check() { package_python-harparser() { cd harparser-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm644 'LICENSE' -t "$pkgdir/usr/share/licenses/$pkgname" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-harparser/-/compare/b7ba305d78322dc9b710dcec49f0e7d6f4c44ef1...d802be6e39f808ddc0b51c54274ee878d87133bc -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-harparser/-/compare/b7ba305d78322dc9b710dcec49f0e7d6f4c44ef1...d802be6e39f808ddc0b51c54274ee878d87133bc You're receiving this email because of your account on gitlab.archlinux.org.
