hashworks pushed to branch main at Arch Linux / Packaging / Packages /
python-geoipsets
Commits:
7e7bea69 by Justin Kromlinger at 2026-02-03T08:33:48+01:00
upgpkg: 2.4.1-2: Build using PEP 517 standard
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,11 +1,14 @@
pkgbase = python-geoipsets
pkgdesc = Tool to generate country-specific IP ranges for
iptables/ipset and nftables
pkgver = 2.4.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/chr0mag/geoipsets/tree/main/python
arch = any
license = GPL-3.0-only
checkdepends = python-pytest
+ makedepends = python-build
+ makedepends = python-installer
+ makedepends = python-wheel
makedepends = python-setuptools
depends = python-requests
depends = python-beautifulsoup4
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
pkgname=python-geoipsets
pkgver=2.4.1
-pkgrel=1
+pkgrel=2
pkgdesc='Tool to generate country-specific IP ranges for iptables/ipset and
nftables'
arch=('any')
license=('GPL-3.0-only')
@@ -12,6 +12,9 @@ depends=(
'python-beautifulsoup4'
)
makedepends=(
+ 'python-build'
+ 'python-installer'
+ 'python-wheel'
'python-setuptools'
)
checkdepends=('python-pytest')
@@ -21,7 +24,7 @@
sha512sums=('aba8223b564764dd93d10eee3a908efb7e7c155162c444c9a5c20143a14549d40d0
build() {
cd "geoipsets-$pkgver/python"
- python setup.py build
+ python -m build --wheel --no-isolation
}
check() {
@@ -33,7 +36,7 @@ check() {
package() {
cd "geoipsets-$pkgver/python"
- python setup.py install --root="$pkgdir" --optimize=1
+ python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README_python.md"
install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-geoipsets/-/commit/7e7bea691906a49d4ff4bb4dc29d97344ba843c9
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-geoipsets/-/commit/7e7bea691906a49d4ff4bb4dc29d97344ba843c9
You're receiving this email because of your account on gitlab.archlinux.org.