Lukas Fleischer pushed to branch main at Arch Linux / Packaging / Packages / 
python-urwidtrees


Commits:
a0659ca7 by Lukas Fleischer at 2026-03-19T10:28:28-04:00
upgpkg: 1.0.4-3: use PEP 517 for building

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,14 @@
 pkgbase = python-urwidtrees
        pkgdesc = Tree widgets for urwid.
        pkgver = 1.0.4
-       pkgrel = 2
+       pkgrel = 3
        url = https://github.com/pazz/urwidtrees
        arch = any
        license = GPL-3.0-or-later
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        makedepends = python-sphinx
        depends = python
        depends = python-urwid>=1.1.0


=====================================
PKGBUILD
=====================================
@@ -4,27 +4,25 @@
 _pkgname=urwidtrees
 pkgname=python-urwidtrees
 pkgver=1.0.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Tree widgets for urwid."
 arch=(any)
 url="https://github.com/pazz/$_pkgname";
 license=('GPL-3.0-or-later')
-makedepends=(python-setuptools python-sphinx)
+makedepends=(python-build python-installer python-setuptools python-wheel 
python-sphinx)
 depends=(python 'python-urwid>=1.1.0')
 
source=("$_pkgname-$pkgver.tar.gz::https://github.com/pazz/$_pkgname/archive/$pkgver.tar.gz";)
 sha256sums=('db7344de2c03257698c9fc12f140d46cee505241b0df378e6f76925d22c32eaa')
 
 build() {
        cd "$srcdir/$_pkgname-$pkgver"
-       python setup.py build
+       python -m build --wheel --no-isolation
        make SPHINXBUILD=sphinx-build -C docs man html
 }
 
-package_python-urwidtrees() {
+package() {
        cd "$srcdir/$_pkgname-$pkgver"
-
-       python setup.py install --optimize=1 --root="$pkgdir"
-
+       python -m installer --destdir="$pkgdir" dist/*.whl
        install -dm755 "$pkgdir/usr/share/doc/$pkgname"
        cp -a docs/build/html/* "$pkgdir/usr/share/doc/$pkgname"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-urwidtrees/-/commit/a0659ca7f68d7e7139c8e7c769bb246ca0c50bf9

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


Reply via email to