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


Commits:
5f37326f by loqs at 2026-02-06T21:43:58+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
=====================================
@@ -6,7 +6,10 @@ pkgbase = python-fluidity
        arch = any
        license = MIT
        checkdepends = python-should-dsl
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        depends = python
        source = 
https://github.com/nsi-iff/fluidity/archive/468627ea13ed4c3043dc67ccc1ff16089fdb7b25/python-fluidity-468627ea13ed4c3043dc67ccc1ff16089fdb7b25.tar.gz
        sha512sums = 
9c80fb3480fe4167247374f4fb8f1d8d8b77cb7d485d26518485b06b628d70f7bf0d538c4b6a08bf071bccff3082c7266e446d1682984a60e447c0d090b0f899


=====================================
PKGBUILD
=====================================
@@ -9,14 +9,14 @@ url="https://github.com/nsi-iff/fluidity";
 license=('MIT')
 arch=('any')
 depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 checkdepends=('python-should-dsl')
 
source=("https://github.com/nsi-iff/fluidity/archive/$_commit/$pkgname-$_commit.tar.gz";)
 
sha512sums=('9c80fb3480fe4167247374f4fb8f1d8d8b77cb7d485d26518485b06b628d70f7bf0d538c4b6a08bf071bccff3082c7266e446d1682984a60e447c0d090b0f899')
 
 build() {
   cd fluidity-$_commit
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -41,7 +41,7 @@ check() {
 
 package() {
   cd fluidity-$_commit
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
 
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-fluidity/-/commit/5f37326f15eb6e7e411c184be8622138e5ed49a5

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


Reply via email to