python-asn1crypto: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 23:29:14 +07:00
parent bf026172c6
commit 93ecf613c2
3 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-asn1crypto'
pkgname=python-asn1crypto
version=0.24.0
revision=2
archs=noarch
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=9d5c20441baf0cb60a4ac34cc447c6c189024b6b4c6cd7877034f4965c464e49
post_install() {
vlicense LICENSE
}
python3-asn1crypto_package() {
archs=noarch
depends="python3"
pycompile_module="asn1crypto"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-asn1crypto

View file

@ -0,0 +1,18 @@
# Template file for 'python3-asn1crypto'
pkgname=python3-asn1crypto
version=0.24.0
revision=3
wrksrc="asn1crypto-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 ASN.1 library with a focus on performance and a pythonic API"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/wbond/asn1crypto"
distfiles="${PYPI_SITE}/a/asn1crypto/asn1crypto-${version}.tar.gz"
checksum=9d5c20441baf0cb60a4ac34cc447c6c189024b6b4c6cd7877034f4965c464e49
post_install() {
vlicense LICENSE
}