Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-ipip-ipdb


Commits:
0351d70d by loqs at 2026-02-10T23:06:32+00:00
SPDX license identifier

https://github.com/ipipdotnet/ipdb-python/blob/v1.6.0/LICENSE

- - - - -
765bfc27 by loqs at 2026-02-11T21:12:24+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-ipip-ipdb
        url = https://github.com/ipipdotnet/ipdb-python
        arch = any
        license = Apache
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        depends = python
        conflicts = python-ipdb
        source = 
https://pypi.io/packages/source/i/ipip-ipdb/ipip-ipdb-1.6.0.tar.gz


=====================================
PKGBUILD
=====================================
@@ -5,17 +5,17 @@ pkgver=1.6.0
 pkgrel=7
 pkgdesc="IPIP.net officially supported IP database ipdb format parsing library"
 url="https://github.com/ipipdotnet/ipdb-python";
-license=('Apache')
+license=('Apache-2.0')
 arch=('any')
 depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 conflicts=('python-ipdb')
 source=("https://pypi.io/packages/source/i/ipip-ipdb/ipip-ipdb-$pkgver.tar.gz";)
 
sha512sums=('88353892920e3c97a12417e52fcee23919f351d9dae22d5fbdba964d6fad528103e18b9fe736cc73208dad1a68ec59d7bc6f94d87772845985e3ca6f8b3a2860')
 
 build() {
   cd ipip-ipdb-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -26,5 +26,5 @@ check() {
 
 package() {
   cd ipip-ipdb-$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/python-ipip-ipdb/-/compare/6698b65eec6a517a91957f275e39590aee5e7c14...765bfc27599651866a5b39e9e4dae910b7d07fd1

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-ipip-ipdb/-/compare/6698b65eec6a517a91957f275e39590aee5e7c14...765bfc27599651866a5b39e9e4dae910b7d07fd1
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to