summaryrefslogblamecommitdiff
path: root/user/py3-asn1crypto/APKBUILD
blob: fc90861c4a8a9fe787742eb246f2941a1083b9b1 (plain) (tree)































                                                                                                                                                                       
# 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"