summaryrefslogtreecommitdiff
path: root/user/py3-cffi/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/py3-cffi/APKBUILD')
-rw-r--r--user/py3-cffi/APKBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/user/py3-cffi/APKBUILD b/user/py3-cffi/APKBUILD
index 9c7e1124c..4760f7521 100644
--- a/user/py3-cffi/APKBUILD
+++ b/user/py3-cffi/APKBUILD
@@ -1,7 +1,8 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-cffi
-pkgver=1.11.5
+_pkgname=cffi
+pkgver=1.12.3
pkgrel=0
pkgdesc="Interface for Python to call in to C code"
url="https://cffi.readthedocs.io/"
@@ -11,22 +12,19 @@ depends="python3 py3-cparser"
makedepends="libffi-dev python3-dev"
checkdepends="py3-pytest"
subpackages=""
-source="https://files.pythonhosted.org/packages/e7/a7/4cd50e57cc6f436f1cc3a7e8fa700ff9b8b4d471620629074913e3735fb2/cffi-$pkgver.tar.gz"
-builddir="$srcdir/cffi-$pkgver"
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
python3 setup.py test
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="6770d5293cfd7405e733d60c96655641b5bcc5878fc66a737f4a8308f465d459ee0e3fcaa47893d8f57fb195e5534dd7e4728c868f33d7e657688f45e1fb1880 cffi-1.11.5.tar.gz"
+sha512sums="9070f5cfe543c9261a79f995548899c3e7539ee20f562ba91a4a909887745bd28448b0e38241031d6b2ab87286fd0ec91768b8bf6577716427612d41b0ed3b93 py3-cffi-1.12.3.tar.gz"