[arch-commits] Commit in khard/trunk (PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Sat Sep 3 10:46:31 UTC 2022
Date: Saturday, September 3, 2022 @ 10:46:31
Author: polyzen
Revision: 1291561
upgpkg: khard 0.17.0-7: Use PEP 517
Modified:
khard/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-03 10:46:30 UTC (rev 1291560)
+++ PKGBUILD 2022-09-03 10:46:31 UTC (rev 1291561)
@@ -3,7 +3,7 @@
pkgname=khard
pkgver=0.17.0
-pkgrel=6
+pkgrel=7
pkgdesc="Console CardDAV client"
arch=('any')
url="https://github.com/scheibler/khard"
@@ -10,8 +10,9 @@
license=('GPL3')
depends=('python-atomicwrites' 'python-configobj' 'python-ruamel-yaml'
'python-unidecode' 'python-vobject')
-makedepends=('python-sphinx-autoapi' 'python-sphinx-autodoc-typehints'
- 'python-setuptools-scm' 'python-sphinx')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
+ 'python-sphinx' 'python-sphinx-autoapi'
+ 'python-sphinx-autodoc-typehints' 'python-wheel')
checkdepends=('python-pytest')
optdepends=('vdirsyncer: Synchronization of address books with a DAV server'
'diffutils: Using sdiff_khard_wrapper.sh')
@@ -26,7 +27,7 @@
build() {
cd "$pkgname-$pkgver"
- python setup.py build
+ python -m build --wheel --skip-dependency-check --no-isolation
make -C doc man
}
@@ -37,9 +38,7 @@
package() {
cd "$pkgname-$pkgver"
- python setup.py install --skip-build \
- --optimize=1 \
- --root="${pkgdir}"
+ python -m installer --destdir="$pkgdir" dist/*.whl
# additional wrapper script
install -vDm 755 "misc/sdiff/sdiff_${pkgname}_wrapper.sh" \
"${pkgdir}/usr/lib/${pkgname}/sdiff_${pkgname}_wrapper.sh"
More information about the arch-commits
mailing list