aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptrcnull <git@ptrcnull.me>2022-09-02 21:14:43 +0200
committeralice <alice@ayaya.dev>2022-09-02 19:19:00 +0000
commit8f2ca0e35be37e9a9d8abad891b2472d2c2d41bf (patch)
treef1884346175d83d0358849acfad0d1f723d720e9
parent208dc78dbbcc8aeefa27b7cd354753bca5721a20 (diff)
downloadaports-8f2ca0e35be37e9a9d8abad891b2472d2c2d41bf.tar.gz
aports-8f2ca0e35be37e9a9d8abad891b2472d2c2d41bf.tar.bz2
aports-8f2ca0e35be37e9a9d8abad891b2472d2c2d41bf.tar.xz
main/py3-cparser: upgrade to 2.21
-rw-r--r--main/py3-cparser/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/main/py3-cparser/APKBUILD b/main/py3-cparser/APKBUILD
index 7648c4152b..cb672d42f6 100644
--- a/main/py3-cparser/APKBUILD
+++ b/main/py3-cparser/APKBUILD
@@ -2,14 +2,15 @@
# Maintainer:
pkgname=py3-cparser
_pkgname=pycparser
-pkgver=2.20
-pkgrel=2
+pkgver=2.21
+pkgrel=0
pkgdesc="C parser written in Python3"
url="https://github.com/eliben/pycparser"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
+checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
@@ -21,11 +22,13 @@ build() {
}
check() {
- python3 tests/all_tests.py
+ python3 -m pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="ff0853c9f981b43b4f2e879350715c07b02cf9dab223d4980d8fe0a3138c98041b5f848a9355ae4f1cb45e7f137c03a88843008e18d77af9250e0d9c55f5ca1b pycparser-2.20.tar.gz"
+sha512sums="
+e61fbdde484d1cf74d4b27bdde40cf2da4b7028ca8ecd37c83d77473dab707d457321aecaf97da3b114c1d58a4eb200290b76f9c958044b57e5fed949895b5f0 pycparser-2.21.tar.gz
+"