Lukas Fleischer pushed to branch main at Arch Linux / Packaging / Packages / 
python-geoip2


Commits:
6fb55a34 by Lukas Fleischer at 2026-02-11T13:24:18-05:00
upgpkg: 5.2.0-1: upstream update

- - - - -


4 changed files:

- .SRCINFO
- PKGBUILD
- REUSE.toml
- + unpin-uv-build-dependency.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-geoip2
        pkgdesc = MaxMind GeoIP2 API
-       pkgver = 5.1.0
-       pkgrel = 2
+       pkgver = 5.2.0
+       pkgrel = 1
        url = https://github.com/maxmind/GeoIP2-python
        arch = any
        license = Apache
@@ -11,15 +11,18 @@ pkgbase = python-geoip2
        makedepends = python-build
        makedepends = python-installer
        makedepends = python-setuptools-scm
+       makedepends = python-uv-build
        makedepends = python-wheel
        depends = python
        depends = python-aiohttp
        depends = python-maxminddb
        depends = python-requests
        depends = python-setuptools
-       source = git+https://github.com/maxmind/GeoIP2-python.git#tag=v5.1.0
+       source = git+https://github.com/maxmind/GeoIP2-python.git#tag=v5.2.0
+       source = unpin-uv-build-dependency.patch
        source = git+https://github.com/maxmind/MaxMind-DB.git
-       sha512sums = 
7148ae01ab01920a39ba0b167955ad93f756cd52d8da243b38006f06b0661a176bbe7aee41af5dceaf37ac19c7b65bf1bde14f6a04c74ff5a84c096e7a31134b
+       sha512sums = 
fd6eee433ab03e64e4441418605dade9167e29f6221d91f5c8b16f7b2ba97e8b40f3090a2cf6893f5ca057dd1abec3d774ca5b37dab44fd4971bdd585d48bc2c
+       sha512sums = 
e2cf1eb29cfed5f279c0bc6d031e73e4dab2a2fb48dc57295f068bdf472036c7d50373332a0c5d6c9a2331faf77ea6f984159da287d62ff51184e358ccd9db2b
        sha512sums = SKIP
 
 pkgname = python-geoip2


=====================================
PKGBUILD
=====================================
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=python-geoip2
-pkgver=5.1.0
-pkgrel=2
+pkgver=5.2.0
+pkgrel=1
 pkgdesc="MaxMind GeoIP2 API"
 url="https://github.com/maxmind/GeoIP2-python";
 license=('Apache')
@@ -19,6 +19,7 @@ makedepends=(
   python-build
   python-installer
   python-setuptools-scm
+  python-uv-build
   python-wheel
 )
 checkdepends=(
@@ -27,9 +28,11 @@ checkdepends=(
 )
 source=(
   git+https://github.com/maxmind/GeoIP2-python.git#tag=v$pkgver
+  unpin-uv-build-dependency.patch
   git+https://github.com/maxmind/MaxMind-DB.git
 )
-sha512sums=('7148ae01ab01920a39ba0b167955ad93f756cd52d8da243b38006f06b0661a176bbe7aee41af5dceaf37ac19c7b65bf1bde14f6a04c74ff5a84c096e7a31134b'
+sha512sums=('fd6eee433ab03e64e4441418605dade9167e29f6221d91f5c8b16f7b2ba97e8b40f3090a2cf6893f5ca057dd1abec3d774ca5b37dab44fd4971bdd585d48bc2c'
+            
'e2cf1eb29cfed5f279c0bc6d031e73e4dab2a2fb48dc57295f068bdf472036c7d50373332a0c5d6c9a2331faf77ea6f984159da287d62ff51184e358ccd9db2b'
             'SKIP')
 
 prepare() {
@@ -37,6 +40,7 @@ prepare() {
   git submodule init
   git config submodule.tests/data.url "$srcdir/MaxMind-DB"
   git -c protocol.file.allow=always submodule update
+  patch -Np1 -i ../unpin-uv-build-dependency.patch
 }
 
 build() {
@@ -46,7 +50,11 @@ build() {
 
 check() {
   cd GeoIP2-python
-  pytest -vv
+
+  python -m installer -d test_dir dist/*.whl
+
+  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH" pytest
 }
 
 package() {


=====================================
REUSE.toml
=====================================
@@ -17,6 +17,7 @@ path = [
     "*.timer",
     "*.desktop",
     "*.hook",
+    "unpin-uv-build-dependency.patch",
 ]
 SPDX-FileCopyrightText = "Arch Linux contributors"
 SPDX-License-Identifier = "0BSD"


=====================================
unpin-uv-build-dependency.patch
=====================================
@@ -0,0 +1,12 @@
+diff --git a/pyproject.toml b/pyproject.toml
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -43,7 +43,7 @@ lint = [
+ ]
+ 
+ [build-system]
+-requires = ["uv_build>=0.7.19,<0.8.0"]
++requires = ["uv_build"]
+ build-backend = "uv_build"
+ 
+ [tool.uv.build-backend]



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-geoip2/-/commit/6fb55a3482fa04aa9eb52508f6806401d188af52

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-geoip2/-/commit/6fb55a3482fa04aa9eb52508f6806401d188af52
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to