32 lines
834 B
Bash
32 lines
834 B
Bash
# Template file for 'python-asn1crypto'
|
|
pkgname=python-asn1crypto
|
|
version=0.23.0
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="asn1crypto-${version}"
|
|
build_style=python-module
|
|
pycompile_module="asn1crypto"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Python2 ASN.1 library with a focus on performance and a pythonic API"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://github.com/wbond/asn1crypto"
|
|
license="MIT"
|
|
distfiles="${PYPI_SITE}/a/asn1crypto/asn1crypto-${version}.tar.gz"
|
|
checksum=0874981329cfebb366d6584c3d16e913f2a0eb026c9463efcc4aaf42a9d94d70
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-asn1crypto_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="asn1crypto"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|