[arch-commits] Commit in ueberzug/trunk (PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Tue Sep 6 22:33:21 UTC 2022
Date: Tuesday, September 6, 2022 @ 22:33:19
Author: polyzen
Revision: 1295999
upgpkg: ueberzug 18.1.9-4: Use PEP 517
Modified:
ueberzug/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-06 22:31:21 UTC (rev 1295998)
+++ PKGBUILD 2022-09-06 22:33:19 UTC (rev 1295999)
@@ -3,13 +3,14 @@
pkgname=ueberzug
pkgver=18.1.9
-pkgrel=3
+pkgrel=4
pkgdesc='Command line util which allows to display images in combination with X11'
arch=('x86_64')
url=https://github.com/seebye/ueberzug
license=('GPL3')
depends=('libxext' 'python-attrs' 'python-docopt' 'python-pillow' 'python-xlib')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
provides=("python-$pkgname")
replaces=("python-$pkgname")
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
@@ -18,10 +19,10 @@
build() {
cd $pkgname-$pkgver
- python setup.py build
+ python -m build --wheel --skip-dependency-check --no-isolation
}
package() {
cd $pkgname-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ python -m installer --destdir="$pkgdir" dist/*.whl
}
More information about the arch-commits
mailing list