George Hu pushed to branch main at Arch Linux / Packaging / Packages / 
python-augeas


Commits:
474f4b4d by George Hu at 2025-11-19T21:33:59+08:00
Change installation method from manual setup.py invocation to PEP 517

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -5,6 +5,8 @@ pkgbase = python-augeas
        url = https://augeas.net
        arch = any
        license = LGPL-2.1-or-later
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
        depends = augeas
        depends = python-cffi


=====================================
PKGBUILD
=====================================
@@ -9,13 +9,13 @@ arch=('any')
 license=('LGPL-2.1-or-later')
 url="https://augeas.net";
 depends=('augeas' 'python-cffi')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools')
 
source=("https://files.pythonhosted.org/packages/source/p/python-augeas/python-augeas-$pkgver.tar.gz";)
 
sha512sums=('34e4e98219b9146ef843d94c2e854e951a9b7e81409e603e77e7defdbb8765c013a2c869a4f5db2244352ca35656e18667a0210dd24099cb3e4552a04b23aef8')
 
 build() {
   cd python-augeas-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -25,5 +25,5 @@ check() {
 
 package() {
   cd python-augeas-$pkgver
-  python setup.py install --skip-build -O1 --root="$pkgdir"
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-augeas/-/commit/474f4b4dc110477a0707c737694e53db6b967b35

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


Reply via email to