diff options
Diffstat (limited to 'main/py-asn1crypto')
-rw-r--r-- | main/py-asn1crypto/APKBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/main/py-asn1crypto/APKBUILD b/main/py-asn1crypto/APKBUILD index 2952bc6bfe..e27aba8ef7 100644 --- a/main/py-asn1crypto/APKBUILD +++ b/main/py-asn1crypto/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: André Klitzing <aklitzing@gmail.com> pkgname=py-asn1crypto _pkgname=asn1crypto -pkgver=0.22.0 +pkgver=0.23.0 pkgrel=0 pkgdesc="Python ASN.1 library with a focus on performance and a pythonic API" url="https://github.com/wbond/asn1crypto" @@ -15,8 +15,14 @@ builddir="$srcdir/$_pkgname-$pkgver" build() { cd "$builddir" - python2 setup.py build || return 1 - python3 setup.py build || return 1 + python2 setup.py build + python3 setup.py build +} + +check() { + cd "$builddir" + python2 run.py tests + python3 run.py tests } package() { @@ -42,4 +48,4 @@ _py3() { _py python3 } -sha512sums="d7d88e81323d4e70a32723967aa7df912671c4039b26801846ccf3337ef3015528f9b0d23a25988b0d823291f069323e6985c8ef25f681cc1edb85d64d42d0e5 asn1crypto-0.22.0.tar.gz" +sha512sums="1f702d80050c2b198bc6a829bdef74d7722222f808a5ca6856482f16d1e0e9f36476845eac64ef27ca141ab6280b7da3ca60fa33edda6b886f27dc72c00d3650 asn1crypto-0.23.0.tar.gz" |