[PATCH] community/py3-cssselect2: upgrade to 0.5.0
Export this patch
---
community/py3-cssselect2/APKBUILD | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/community/py3-cssselect2/APKBUILD b/community/py3-cssselect2/APKBUILD
index f96dbd6bb4..2f4c00630b 100644
--- a/community/py3-cssselect2/APKBUILD
@@ -2,13 +2,14 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-cssselect2
_pyname=cssselect2
-pkgver=0.4.1
-pkgrel=3
+pkgver=0.5.0
+pkgrel=0
pkgdesc="CSS selectors for Python ElementTree"
url="https://pypi.org/project/cssselect2/"
arch="noarch"
license="BSD-3-Clause"
depends="py3-tinycss2"
+makedepends="pyproject2setuppy"
checkdepends="py3-pytest py3-pytest-cov py3-pytest-isort py3-pytest-flake8"
_pypiprefix="${_pyname%${_pyname#?}}"
source="
@@ -18,7 +19,7 @@ builddir="$srcdir"/$_pyname-$pkgver
options="!check" # upstream tests are broken
build() {
- python3 setup.py build
+ python3 -m pyproject2setuppy build
}
check() {
@@ -26,7 +27,9 @@ check() {
}
package() {
- python3 setup.py install --prefix=/usr --root="$pkgdir"
+ python3 -m pyproject2setuppy install --prefix=/usr --root="$pkgdir"
}
-sha512sums="feafeec3dbe3157ee452d94cd391a09cfcb48ca8bd1563c117c77c9ceb01102c4989611ede39e433ec25d3ddda98a94c4589ccb290b79c729683e673763b42ac cssselect2-0.4.1.tar.gz"
+sha512sums="
+869dbce3915db87727b09016c094b908b0055693db238a24c89b0482fed64d7e1811ad2db407faee32638566fd4e47402f05155dc2d8887e98f2107f9b8633c2 cssselect2-0.5.0.tar.gz
+"
--
2.35.1