python-rsa: drop package
This commit is contained in:
parent
f35c49fde0
commit
dc3d4cdc88
|
@ -1,42 +0,0 @@
|
|||
# Template file for 'python-rsa'
|
||||
pkgname=python-rsa
|
||||
version=4.0
|
||||
revision=2
|
||||
archs=noarch
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="rsa"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-setuptools python-pyasn1"
|
||||
short_desc="Pure-Python RSA implementation (Python2)"
|
||||
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://stuvel.eu/rsa"
|
||||
distfiles="${PYPI_SITE}/r/rsa/rsa-${version}.tar.gz"
|
||||
checksum=1a836406405730121ae9823e19c6e806c62bbad73f890574fff50efa4122c487
|
||||
|
||||
alternatives="
|
||||
rsa:pyrsa-decrypt:/usr/bin/pyrsa-decrypt2
|
||||
rsa:pyrsa-encrypt:/usr/bin/pyrsa-encrypt2
|
||||
rsa:pyrsa-keygen:/usr/bin/pyrsa-keygen2
|
||||
rsa:pyrsa-priv2pub:/usr/bin/pyrsa-priv2pub2
|
||||
rsa:pyrsa-sign:/usr/bin/pyrsa-sign2
|
||||
rsa:pyrsa-verify:/usr/bin/pyrsa-verify2"
|
||||
|
||||
python3-rsa_package() {
|
||||
alternatives="
|
||||
rsa:pyrsa-decrypt:/usr/bin/pyrsa-decrypt3
|
||||
rsa:pyrsa-encrypt:/usr/bin/pyrsa-encrypt3
|
||||
rsa:pyrsa-keygen:/usr/bin/pyrsa-keygen3
|
||||
rsa:pyrsa-priv2pub:/usr/bin/pyrsa-priv2pub3
|
||||
rsa:pyrsa-sign:/usr/bin/pyrsa-sign3
|
||||
rsa:pyrsa-verify:/usr/bin/pyrsa-verify3"
|
||||
archs=noarch
|
||||
pycompile_module="rsa"
|
||||
depends="python3-setuptools python3-pyasn1"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/bin/*3
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-rsa
|
|
@ -0,0 +1,16 @@
|
|||
# Template file for 'python3-rsa'
|
||||
pkgname=python3-rsa
|
||||
version=4.0
|
||||
revision=3
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-setuptools python3-pyasn1"
|
||||
short_desc="Pure-Python RSA implementation (Python3)"
|
||||
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://stuvel.eu/rsa"
|
||||
distfiles="${PYPI_SITE}/r/rsa/rsa-${version}.tar.gz"
|
||||
checksum=1a836406405730121ae9823e19c6e806c62bbad73f890574fff50efa4122c487
|
||||
|
||||
conflicts="python-rsa>=0"
|
Loading…
Reference in New Issue