From ae0447ee1d5bb347952f1bc57e68e56778138095 Mon Sep 17 00:00:00 2001 From: zlg Date: Wed, 21 Nov 2018 03:12:37 -0800 Subject: user/py3-asn1crypto: new package --- user/py3-asn1crypto/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/py3-asn1crypto/APKBUILD (limited to 'user/py3-asn1crypto') 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 +# Maintainer: zlg +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" -- cgit v1.2.3-70-g09d2