Frederik Schwan pushed to branch main at Arch Linux / Packaging / Packages / libvirt-python
Commits: f27d80cd by loqs at 2024-03-08T14:16:33+00:00 Change to a PEP 517 based workflow - - - - - e541d954 by loqs at 2024-03-08T14:17:27+00:00 Change to SPDX license identifier https://gitlab.com/libvirt/libvirt-python/-/blob/v10.1.0/setup.cfg#L14 https://gitlab.com/libvirt/libvirt-python/-/blob/v10.1.0/COPYING - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -10,8 +10,8 @@ pkgrel=1 pkgdesc="libvirt python binding" arch=('x86_64') url="https://pypi.python.org/pypi/libvirt-python" -license=('LGPL') -makedepends=('python' 'python-setuptools' 'libvirt') +license=('LGPL-2.1-or-later') +makedepends=('python' 'python-setuptools' 'python-build' 'python-installer' 'python-wheel' 'libvirt') depends=('python' 'libvirt') options=('emptydirs') source=("https://libvirt.org/sources/python/libvirt-python-${pkgver}.tar.gz"{,.asc}) @@ -21,10 +21,10 @@ validpgpkeys=('453B65310595562855471199CA68BE8010084C9C') # Jiří Denemark <jde build() { cd "${srcdir}/${pkgbase}-${pkgver}" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "${srcdir}/${pkgbase}-${pkgver}" - python setup.py install --root="${pkgdir}" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libvirt-python/-/compare/3e0bc708c611dc503c7a27496031b3f17077f54d...e541d95473995c25c8f26853089f60b6627cb83a -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libvirt-python/-/compare/3e0bc708c611dc503c7a27496031b3f17077f54d...e541d95473995c25c8f26853089f60b6627cb83a You're receiving this email because of your account on gitlab.archlinux.org.