aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-asn1crypto
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-09-23 16:18:48 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-09-25 06:07:58 +0000
commite5f8f4557c15e4d3e7fbce782fcd26ca67998fa5 (patch)
tree4b7ec6219bfce29f167034ccc18a6d10e7a30a09 /main/py-asn1crypto
parent9b2486fbc3b7f0cd2cea5f1b49e55222c50c998c (diff)
downloadaports-e5f8f4557c15e4d3e7fbce782fcd26ca67998fa5.tar.bz2
aports-e5f8f4557c15e4d3e7fbce782fcd26ca67998fa5.tar.xz
main/py-asn1crypto: upgrade to 0.23.0 and add check
Diffstat (limited to 'main/py-asn1crypto')
-rw-r--r--main/py-asn1crypto/APKBUILD14
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"