aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordai9ah <dai9ah@protonmail.com>2018-03-05 23:36:59 +0000
committerSören Tempel <soeren+git@soeren-tempel.net>2018-03-07 10:30:18 +0100
commit041b16ada63b9fdf4e74bff19f755bac9fd223fe (patch)
tree7db6fdf0f612270ddf5593b1c9be8e750332c1a1
parent88aa822566902e23735863b3f107d9479a528e2e (diff)
downloadaports-041b16ada63b9fdf4e74bff19f755bac9fd223fe.tar.bz2
aports-041b16ada63b9fdf4e74bff19f755bac9fd223fe.tar.xz
testing/py-pycryptodome: upgrade to 3.4.12
Add check and clarify license while being here.
-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"