mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-30 07:51:58 +01:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
34 lines
927 B
Plaintext
34 lines
927 B
Plaintext
# 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
|
|
"
|