[arch-commits] Commit in python-flake8-isort/trunk (PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Sun Sep 4 19:28:31 UTC 2022
Date: Sunday, September 4, 2022 @ 19:28:30
Author: polyzen
Revision: 1292883
upgpkg: python-flake8-isort 4.2.0-2: Use PEP 517
Modified:
python-flake8-isort/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-04 19:23:04 UTC (rev 1292882)
+++ PKGBUILD 2022-09-04 19:28:30 UTC (rev 1292883)
@@ -4,13 +4,15 @@
_name=flake8-isort
pkgname=python-flake8-isort
pkgver=4.2.0
-pkgrel=1
+pkgrel=2
pkgdesc='Flake8 plugin to validate annotations complexity'
arch=('any')
url=https://github.com/gforcada/flake8-isort
license=('GPL3')
depends=('flake8' 'python-isort')
-checkdepends=('python-pytest' 'python-setuptools' 'python-toml')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-pytest' 'python-toml')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('26571500cd54976bbc0cf1006ffbcd1a68dd102f816b7a1051b219616ba9fee0')
b2sums=('0c291293a640f90d46f76e7f20c3a0bcaa886260d9582dce8261c079584ddb4704d0c825001eaf0424fa36a7467ea322d06ef8c72ebd01632562a4edda62ab53')
@@ -17,7 +19,7 @@
build() {
cd $_name-$pkgver
- python setup.py build
+ python -m build --wheel --skip-dependency-check --no-isolation
}
check() {
@@ -27,5 +29,5 @@
package() {
cd $_name-$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