summaryrefslogtreecommitdiff
path: root/community/py3-asn1crypto/APKBUILD
blob: b86b16b3d62b9a14f82d82ba1ff2906ca045ce6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=py3-asn1crypto
_pyname=asn1crypto
pkgver=1.5.1
pkgrel=1
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"
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
"