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


Commits:
57d21b33 by loqs at 2026-02-06T21:57:56+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-flup
        url = https://www.saddi.com/software/flup/
        arch = any
        license = BSD
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        depends = python
        source = https://pypi.io/packages/source/f/flup/flup-1.0.3.tar.gz
        sha512sums = 
f165685b39a8539d29d48d0ad3c9c0495f428892b8935545a128730687c658a1e8b74a09c8084dd4a2490b1d26f1382b48c95ba43401171fd46876b068ba2f8e


=====================================
PKGBUILD
=====================================
@@ -8,16 +8,16 @@ url="https://www.saddi.com/software/flup/";
 license=('BSD')
 arch=('any')
 depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 source=("https://pypi.io/packages/source/f/flup/flup-$pkgver.tar.gz";)
 
sha512sums=('f165685b39a8539d29d48d0ad3c9c0495f428892b8935545a128730687c658a1e8b74a09c8084dd4a2490b1d26f1382b48c95ba43401171fd46876b068ba2f8e')
 
 build() {
   cd flup-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package_python-flup() {
   cd flup-$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-flup/-/commit/57d21b33855d07de381180260b3eb5377dfe368e

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


Reply via email to