summaryrefslogtreecommitdiff
path: root/user/py3-asn1crypto
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2018-11-21 03:12:37 -0800
committerzlg <zlg@zlg.space>2018-11-21 03:35:27 -0800
commitae0447ee1d5bb347952f1bc57e68e56778138095 (patch)
tree865ed775a2b678c6d4b8cc5124ed7e969fb0977f /user/py3-asn1crypto
parentc12b7cd5ec3403d200f7dc16e09594d650d5c9da (diff)
downloadpackages-ae0447ee1d5bb347952f1bc57e68e56778138095.tar.gz
packages-ae0447ee1d5bb347952f1bc57e68e56778138095.tar.bz2
packages-ae0447ee1d5bb347952f1bc57e68e56778138095.tar.xz
packages-ae0447ee1d5bb347952f1bc57e68e56778138095.zip
user/py3-asn1crypto: new package
Diffstat (limited to 'user/py3-asn1crypto')
-rw-r--r--user/py3-asn1crypto/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/py3-asn1crypto/APKBUILD b/user/py3-asn1crypto/APKBUILD
new file mode 100644
index 000000000..fc90861c4
--- /dev/null
+++ b/user/py3-asn1crypto/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: André Klitzing <aklitzing@gmail.com>
+# Maintainer: zlg <zlg+adelie@zlg.space>
+pkgname=py3-asn1crypto
+_pkgname=${pkgname#py3-}
+pkgver=0.24.0
+pkgrel=0
+pkgdesc="Python ASN.1 library with a focus on performance and a pythonic API"
+url="https://github.com/wbond/asn1crypto"
+arch="noarch"
+license="MIT"
+depends="python3"
+makedepends="python3-dev"
+subpackages=""
+source="$_pkgname-$pkgver.tar.gz::https://github.com/wbond/asn1crypto/archive/$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python3 run.py tests
+}
+
+package() {
+ mkdir -p "$pkgdir"
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="426cc380903b4dd7aadd7b831e3a11ee3442c961a33b856d4aa8d9060e829f2e0ad905a60c4d6504569718fe2cee01d9be31628c89ef030bc34281e381c898e8 asn1crypto-0.24.0.tar.gz"