[arch-commits] Commit in yamllint/trunk (PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Tue Sep 6 22:17:41 UTC 2022
Date: Tuesday, September 6, 2022 @ 22:17:41
Author: polyzen
Revision: 1295910
upgpkg: yamllint 1.27.1-2: Use PEP 517
Modified:
yamllint/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-06 22:17:40 UTC (rev 1295909)
+++ PKGBUILD 2022-09-06 22:17:41 UTC (rev 1295910)
@@ -2,13 +2,14 @@
pkgname=yamllint
pkgver=1.27.1
-pkgrel=1
+pkgrel=2
pkgdesc='Linter for YAML files'
arch=('any')
url=https://github.com/adrienverge/yamllint
license=('GPL3')
depends=('python-pathspec' 'python-yaml')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
checkdepends=('python-nose')
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('e688324b58560ab68a1a3cff2c0a474e3fed371dfe8da5d1b9817b7df55039ce')
@@ -21,7 +22,7 @@
build() {
cd $pkgname-$pkgver
- python setup.py build
+ python -m build --wheel --skip-dependency-check --no-isolation
}
check() {
@@ -31,5 +32,5 @@
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