Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / python-netifaces
Commits: 0808a03f by loqs at 2026-02-14T20:36:57+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-netifaces url = https://alastairs-place.net/netifaces/ arch = x86_64 license = MIT + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python source = https://pypi.io/packages/source/n/netifaces/netifaces-0.11.0.tar.gz sha512sums = a53110efb78c89c4d72d002104866253a4c085dd27ff9f41d4cfe3811cc5619e7585ceda4e91e83cdd0645c40c745c61d205708ee9a34427b35f437a48f148e5 ===================================== PKGBUILD ===================================== @@ -10,20 +10,20 @@ arch=('x86_64') url="https://alastairs-place.net/netifaces/" license=('MIT') depends=('python') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=("https://pypi.io/packages/source/n/netifaces/netifaces-${pkgver}.tar.gz") sha512sums=('a53110efb78c89c4d72d002104866253a4c085dd27ff9f41d4cfe3811cc5619e7585ceda4e91e83cdd0645c40c745c61d205708ee9a34427b35f437a48f148e5') build() { cd "${srcdir}/netifaces-${pkgver}" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "${srcdir}/netifaces-${pkgver}" - python setup.py install --root "${pkgdir}" --skip-build + python -m installer --destdir="${pkgdir}" dist/*.whl # Install license, that is inside the readme file install -Dm644 README.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-netifaces/-/commit/0808a03ff7cabaa7348d487f9cfe44d0e5fbc07a -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-netifaces/-/commit/0808a03ff7cabaa7348d487f9cfe44d0e5fbc07a You're receiving this email because of your account on gitlab.archlinux.org.
