aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-asn1crypto/APKBUILD
blob: 8633f0d4367445f4feabb1c940fb60a84e7dd8fb (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
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=py3-asn1crypto
_pkgname=asn1crypto
pkgver=1.3.0
pkgrel=0
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="$_pkgname-$pkgver.tar.gz::https://github.com/wbond/asn1crypto/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$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 --prefix=/usr --root="$pkgdir"
}

sha512sums="822eb3b7d2d73383f271d3c2c3eeff7353b3869cdec31166f0b6ce4751271843c41b136abbf5829ce9de82f8ec49121e8aac21ed84d795976706243dbc1200ea  asn1crypto-1.3.0.tar.gz"