Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
python-infinity


Commits:
03e9fd55 by loqs at 2026-02-10T22:50:48+00:00
SPDX license identifier

https://github.com/kvesteri/infinity/blob/1.5/LICENSE

- - - - -
b0c47480 by loqs at 2026-02-10T22:52:40+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
=====================================
@@ -4,10 +4,13 @@ pkgbase = python-infinity
        pkgrel = 9
        url = https://github.com/kvesteri/infinity
        arch = any
-       license = BSD
+       license = BSD-3-Clause
        checkdepends = python-pytest
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
        makedepends = python-six
+       makedepends = python-wheel
        depends = python
        source = 
https://pypi.python.org/packages/source/i/infinity/infinity-1.5.tar.gz
        sha512sums = 
d61c16fe08749dab050ffb17f8cb392b22ef0c409d736625820419859a0533e067d04a3244e937cf968b40eb02d6bcecb0f80525797dc372eba7205836bad9cb


=====================================
PKGBUILD
=====================================
@@ -9,15 +9,15 @@ pkgdesc='All-in-one infinity value for Python. Can be 
compared to any object.'
 url='https://github.com/kvesteri/infinity'
 depends=('python')
 checkdepends=('python-pytest')
-makedepends=('python-setuptools' 'python-six')
-license=('BSD')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-six' 'python-wheel')
+license=('BSD-3-Clause')
 arch=('any')
 
source=("https://pypi.python.org/packages/source/i/${_name}/${_name}-${pkgver}.tar.gz";)
 
sha512sums=('d61c16fe08749dab050ffb17f8cb392b22ef0c409d736625820419859a0533e067d04a3244e937cf968b40eb02d6bcecb0f80525797dc372eba7205836bad9cb')
 
 build() {
   cd "${srcdir}/${_name}-${pkgver}"
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -27,6 +27,6 @@ check() {
 
 package() {
   cd "${srcdir}/${_name}-${pkgver}"
-  python setup.py install --root="${pkgdir}/" --optimize=1
+  python -m installer --destdir="${pkgdir}" dist/*.whl
   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-infinity/-/compare/341b43b6fde3cbe66a92dabf1eb9fad6da5be1c7...b0c4748038e18374082d54789967431799de4e73

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-infinity/-/compare/341b43b6fde3cbe66a92dabf1eb9fad6da5be1c7...b0c4748038e18374082d54789967431799de4e73
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to