Balló György pushed to branch main at Arch Linux / Packaging / Packages / 
zeitgeist-explorer


Commits:
f7231db6 by loqs at 2026-08-23T01:01:33+02: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,11 @@ pkgbase = zeitgeist-explorer
        url = https://launchpad.net/zeitgeist-explorer
        arch = any
        license = LGPL
+       makedepends = python-build
        makedepends = python-distutils-extra
+       makedepends = python-installer
+       makedepends = python-setuptools
+       makedepends = python-wheel
        depends = gtk3
        depends = python-dbus
        depends = python-gobject


=====================================
PKGBUILD
=====================================
@@ -8,7 +8,7 @@ arch=('any')
 url="https://launchpad.net/zeitgeist-explorer";
 license=('LGPL')
 depends=('gtk3' 'python-dbus' 'python-gobject' 'zeitgeist')
-makedepends=('python-distutils-extra')
+makedepends=('python-build' 'python-distutils-extra' 'python-installer' 
'python-setuptools' 'python-wheel')
 
source=(https://launchpad.net/$pkgname/0.x/$pkgver/+download/$pkgname-$pkgver.tar.gz{,.asc}
         zeitgeist-logo.svg
         zeitgeist-explorer.appdata.xml
@@ -37,12 +37,12 @@ prepare() {
 
 build() {
   cd $pkgname-$pkgver
-  python3 setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd $pkgname-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 ../zeitgeist-logo.svg 
"$pkgdir/usr/share/icons/hicolor/scalable/apps/zeitgeist-explorer.svg"
   install -Dm644 ../$pkgname.appdata.xml 
"$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
   rm -r "$pkgdir/usr/data"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/zeitgeist-explorer/-/commit/f7231db6b321830768d11f884b668ac1e068f1a3

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/zeitgeist-explorer/-/commit/f7231db6b321830768d11f884b668ac1e068f1a3
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