George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-geoip
Commits:
971a56f3 by George Rawlinson at 2026-01-02T17:21:49+00:00
reuse: simplify conf
- - - - -
d7f95d6f by George Rawlinson at 2026-01-02T17:27:50+00:00
upgpkg: 1.3.2-19
* Update license to use SPDX expressions.
* Switch to PEP-517 compatible system.
* Switch checksums from sha256 to sha512+b2.
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- REUSE.toml
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,15 +1,18 @@
pkgbase = python-geoip
pkgdesc = Python bindings for the GeoIP IP-to-country resolver library
pkgver = 1.3.2
- pkgrel = 18
- url = https://pypi.python.org/pypi/GeoIP/
+ pkgrel = 19
+ url = https://pypi.org/project/GeoIP/
arch = x86_64
- license = LGPL
+ license = LGPL-2.1-only
+ makedepends = python-build
+ makedepends = python-installer
makedepends = python-setuptools
- makedepends = geoip
+ makedepends = python-wheel
depends = python
depends = geoip
- source =
https://pypi.python.org/packages/source/G/GeoIP/GeoIP-1.3.2.tar.gz
- sha256sums =
a890da6a21574050692198f14b07aa4268a01371278dfc24f71cd9bc87ebf0e6
+ source =
python-geoip-1.3.2.tar.gz::https://pypi.python.org/packages/source/G/GeoIP/GeoIP-1.3.2.tar.gz
+ sha512sums =
313af794d839e83408b40573566fb55483c1ddd663a7919b54751bc9da85cf855f9eb17d8fdb641702740da5c5d79d79d3d7f15b82fa88092f780d0c667c4e7a
+ b2sums =
1c2cd64f1a62062e7a6bde04fcdb98bbafd415693d7f5ec41613a386419084ee362d5dfe5c6bb614b82fa6db9444fa8a59d14203f7c753f14651410267435757
pkgname = python-geoip
=====================================
PKGBUILD
=====================================
@@ -3,24 +3,34 @@
pkgname=python-geoip
pkgver=1.3.2
-pkgrel=18
-pkgdesc="Python bindings for the GeoIP IP-to-country resolver library"
-arch=('x86_64')
-url="https://pypi.python.org/pypi/GeoIP/"
-license=('LGPL')
-depends=('python' 'geoip')
-makedepends=('python-setuptools' 'geoip')
-source=(https://pypi.python.org/packages/source/G/GeoIP/GeoIP-${pkgver}.tar.gz)
-sha256sums=('a890da6a21574050692198f14b07aa4268a01371278dfc24f71cd9bc87ebf0e6')
+pkgrel=19
+pkgdesc='Python bindings for the GeoIP IP-to-country resolver library'
+arch=(x86_64)
+url='https://pypi.org/project/GeoIP/'
+license=(LGPL-2.1-only)
+depends=(
+ python
+ geoip
+)
+makedepends=(
+ python-build
+ python-installer
+ python-setuptools
+ python-wheel
+)
+source=("$pkgname-$pkgver.tar.gz::https://pypi.python.org/packages/source/G/GeoIP/GeoIP-$pkgver.tar.gz")
+sha512sums=('313af794d839e83408b40573566fb55483c1ddd663a7919b54751bc9da85cf855f9eb17d8fdb641702740da5c5d79d79d3d7f15b82fa88092f780d0c667c4e7a')
+b2sums=('1c2cd64f1a62062e7a6bde04fcdb98bbafd415693d7f5ec41613a386419084ee362d5dfe5c6bb614b82fa6db9444fa8a59d14203f7c753f14651410267435757')
build() {
cd "GeoIP-$pkgver"
- python setup.py build
+
+ python -m build --wheel --no-isolation
}
-package_python-geoip() {
+package() {
cd "GeoIP-$pkgver"
- python setup.py install --root="$pkgdir" -O1
-}
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}
# vim:set ts=2 sw=2 et:
=====================================
REUSE.toml
=====================================
@@ -7,16 +7,6 @@ path = [
"keys/**",
".SRCINFO",
".nvchecker.toml",
- "*.install",
- "*.sysusers",
- "*.tmpfiles",
- "*.logrotate",
- "*.pam",
- "*.service",
- "*.socket",
- "*.timer",
- "*.desktop",
- "*.hook",
]
SPDX-FileCopyrightText = "Arch Linux contributors"
SPDX-License-Identifier = "0BSD"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-geoip/-/compare/1c6653db965135b056e21effd8c6c53e0456ea44...d7f95d6ff240d9768eed5e35f9c1a328ce1c14e1
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-geoip/-/compare/1c6653db965135b056e21effd8c6c53e0456ea44...d7f95d6ff240d9768eed5e35f9c1a328ce1c14e1
You're receiving this email because of your account on gitlab.archlinux.org.