[arch-commits] Commit in python-authres/trunk (PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Sun Sep 4 18:25:46 UTC 2022
Date: Sunday, September 4, 2022 @ 18:25:45
Author: polyzen
Revision: 1292867
upgpkg: python-authres 1.2.0-8: Use PEP 517
Modified:
python-authres/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-04 18:04:25 UTC (rev 1292866)
+++ PKGBUILD 2022-09-04 18:25:45 UTC (rev 1292867)
@@ -6,19 +6,20 @@
pkgname=python-authres
pkgver=1.2.0
-pkgrel=7
+pkgrel=8
pkgdesc='Python Authentication-Results headers generation and parsing'
arch=('any')
url=https://launchpad.net/authentication-results-python
license=('Apache')
depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/a/authres/authres-$pkgver.tar.gz")
sha256sums=('93d1b995ad7ce21e62db649f361048125dd6022563a0ae8a23909465f1fd25b7')
build() {
cd authres-$pkgver
- python setup.py build
+ python -m build --wheel --skip-dependency-check --no-isolation
}
check() {
@@ -28,5 +29,5 @@
package() {
cd authres-$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