# Contributor: André Klitzing # Maintainer: André Klitzing pkgname=py3-asn1crypto _pyname=asn1crypto pkgver=1.5.1 pkgrel=2 pkgdesc="Python3 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="py3-setuptools" subpackages="$pkgname-pyc" source="$_pyname-$pkgver.tar.gz::https://github.com/wbond/asn1crypto/archive/$pkgver.tar.gz" builddir="$srcdir/$_pyname-$pkgver" replaces="py-asn1crypto" # Backwards compatibility provides="py-asn1crypto=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 run.py tests } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 1bcb93d82a2602e3b5c66a180f5d16cd3a9731d86d89fbd44c1e23d735e708e9bf9bb6cbabc2a5d60619f51a7c38dfb1f7ed63820f422ccf42800a39f4637626 asn1crypto-1.5.1.tar.gz "