Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / kamene
Commits: 821f770f by loqs at 2024-04-09T12:35:32+01:00 Change to a PEP 517 based workflow - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -13,7 +13,7 @@ optdepends=('python-cryptography: WEP decryption, IPsec and certificate support' 'graphviz: conversations() method support' 'sox: for VOIP support') checkdepends=('python-cryptography' 'python-pyx' 'python-matplotlib' 'python-netifaces' 'graphviz' 'sox') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') replaces=('scapy3k') arch=('any') license=('GPL2') @@ -23,7 +23,7 @@ sha512sums=('ba0e7ceb41e0687a8b8deb743f4cc8dc00021200ae028faac0afc3a1f202ac2c2cf build() { cd ${pkgname}-${pkgver} - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -34,7 +34,7 @@ check() { package() { cd ${pkgname}-${pkgver} - python setup.py install -O1 --skip-build --root="${pkgdir}" --prefix=/usr + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm 644 doc/kamene/*.rst -t "${pkgdir}/usr/share/doc/${pkgname}" install -Dm 644 doc/kamene.1.gz -t "${pkgdir}/usr/share/man/man1" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/kamene/-/commit/821f770f6730da375884fc0e3e230fed81a68c38 -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/kamene/-/commit/821f770f6730da375884fc0e3e230fed81a68c38 You're receiving this email because of your account on gitlab.archlinux.org.