Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / python-whelk
Commits: f0db7ba6 by loqs at 2026-02-23T21:27:47+00:00 Use PEP 517 for building Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/. - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -5,7 +5,10 @@ pkgbase = python-whelk url = https://pypi.python.org/pypi/whelk arch = any license = custom:zlib + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python source = python-whelk-3.0.tar.gz::https://github.com/seveas/whelk/archive/3.0.tar.gz sha512sums = 7760e342b09a03951848d7c5ce258b43b44b6deda3efdb0433bd4704ebb8bd0e43589000e0e8916c2469ac154e0121292b79880fc09e5d44202117900ae7fb69 ===================================== PKGBUILD ===================================== @@ -8,13 +8,13 @@ arch=('any') license=('custom:zlib') url="https://pypi.python.org/pypi/whelk" depends=('python') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=("$pkgname-$pkgver.tar.gz::https://github.com/seveas/whelk/archive/$pkgver.tar.gz") sha512sums=('7760e342b09a03951848d7c5ce258b43b44b6deda3efdb0433bd4704ebb8bd0e43589000e0e8916c2469ac154e0121292b79880fc09e5d44202117900ae7fb69') build() { cd whelk-$pkgver - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -24,6 +24,6 @@ check() { package() { cd whelk-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-whelk/-/commit/f0db7ba6de66f391b21de2653898d940b650bdf5 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-whelk/-/commit/f0db7ba6de66f391b21de2653898d940b650bdf5 You're receiving this email because of your account on gitlab.archlinux.org.
