Balló György pushed to branch main at Arch Linux / Packaging / Packages / 
playitslowly


Commits:
3ae43599 by loqs at 2026-01-27T21:41:21+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 = playitslowly
        url = https://29a.ch/playitslowly
        arch = any
        license = GPL-3.0-or-later
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        depends = gst-plugins-bad
        depends = gst-plugins-base
        depends = gst-plugins-good


=====================================
PKGBUILD
=====================================
@@ -12,7 +12,7 @@ url='https://29a.ch/playitslowly'
 license=('GPL-3.0-or-later')
 depends=('gst-plugins-bad' 'gst-plugins-base' 'gst-plugins-good' 'gst-python' 
'gtk3'
          'python-gobject')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 optdepends=('gst-plugins-ugly: Extra media codecs'
             'gst-libav: Extra media codecs')
 source=("http://29a.ch/$pkgname/$pkgname-$pkgver.tar.gz";
@@ -45,10 +45,10 @@ prepare() {
 
 build() {
   cd $pkgname-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd $pkgname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/playitslowly/-/commit/3ae43599214b76c9c355df16397b07fab4aa0e7c

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/playitslowly/-/commit/3ae43599214b76c9c355df16397b07fab4aa0e7c
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to