aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/py-pycryptodome/APKBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/testing/py-pycryptodome/APKBUILD b/testing/py-pycryptodome/APKBUILD
index 107706fcff..4ae30d870b 100644
--- a/testing/py-pycryptodome/APKBUILD
+++ b/testing/py-pycryptodome/APKBUILD
@@ -1,16 +1,15 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=py-pycryptodome
-pkgver=3.4.6
+pkgver=3.4.12
pkgrel=0
pkgdesc="Self-contained cryptographic library"
url="https://github.com/coveralls-clients/coveralls-python"
arch="all"
-license="Apache-2.0"
+license="BSD-2-Clause Unlicense"
depends=""
makedepends="python2-dev python3-dev py-setuptools"
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
-options="!check" #no testsuite
source="$pkgname-$pkgver.tar.gz::https://github.com/Legrandin/pycryptodome/archive/v$pkgver.tar.gz"
builddir="$srcdir"/pycryptodome-$pkgver
@@ -20,6 +19,12 @@ build() {
python3 setup.py --quiet build
}
+check() {
+ cd "$builddir"
+ python2 setup.py test
+ python3 setup.py test
+}
+
package() {
cd "$builddir"
mkdir -p "$pkgdir"/usr/bin
@@ -46,4 +51,4 @@ _py() {
$python setup.py --quiet install --prefix=/usr --root="$subpkgdir"
}
-sha512sums="40c9ea4cf7fca06bd7cd3a100e1d602e0130fbdcc75544ff1353ced2fae8925d29286200561832f2524a0f3db155a6924bb653d964408d4486aab694bf275cdc py-pycryptodome-3.4.6.tar.gz"
+sha512sums="53697ffb4768f8e8210febcaa685b1adcc44f64bf884db8caddc19eef390bb00b5b8b2e5555369d48d24b5beaa18f7817966b781d62ce8ed921dc50d9fe49299 py-pycryptodome-3.4.12.tar.gz"