python-pycryptodome: remove package
This commit is contained in:
parent
5bd9ae19dc
commit
f456c07dc5
3 changed files with 22 additions and 38 deletions
|
@ -1,37 +0,0 @@
|
|||
# Template file for 'python-pycryptodome'
|
||||
pkgname=python-pycryptodome
|
||||
version=3.9.7
|
||||
revision=3
|
||||
wrksrc="pycryptodome-${version}"
|
||||
build_style=python-module
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
makedepends="python-devel python3-devel"
|
||||
short_desc="Python2 package of low-level cryptographic primitives"
|
||||
maintainer="Wietse Kuipers <wietse@kuiprs.nl>"
|
||||
license="Public Domain, BSD-2-Clause"
|
||||
homepage="https://www.pycryptodome.org/"
|
||||
changelog="https://raw.githubusercontent.com/Legrandin/pycryptodome/master/Changelog.rst"
|
||||
distfiles="${PYPI_SITE}/p/pycryptodome/pycryptodome-${version}.tar.gz"
|
||||
checksum=f1add21b6d179179b3c177c33d18a2186a09cc0d3af41ff5ed3f377360b869f2
|
||||
|
||||
provides="python-crypto-${version}_1"
|
||||
replaces="python-crypto>=0"
|
||||
|
||||
do_check() {
|
||||
python2 setup.py test
|
||||
python3 setup.py test
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.rst
|
||||
}
|
||||
|
||||
python3-pycryptodome_package() {
|
||||
provides="python3-crypto-${version}_1"
|
||||
replaces="python3-crypto>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE.rst
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-pycryptodome
|
22
srcpkgs/python3-pycryptodome/template
Normal file
22
srcpkgs/python3-pycryptodome/template
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'python3-pycryptodome'
|
||||
pkgname=python3-pycryptodome
|
||||
version=3.9.7
|
||||
revision=3
|
||||
wrksrc="pycryptodome-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
makedepends="python3-devel"
|
||||
short_desc="Python3 package of low-level cryptographic primitives"
|
||||
maintainer="Wietse Kuipers <wietse@kuiprs.nl>"
|
||||
license="Public Domain, BSD-2-Clause"
|
||||
homepage="https://www.pycryptodome.org/"
|
||||
changelog="https://raw.githubusercontent.com/Legrandin/pycryptodome/master/Changelog.rst"
|
||||
distfiles="${PYPI_SITE}/p/pycryptodome/pycryptodome-${version}.tar.gz"
|
||||
checksum=f1add21b6d179179b3c177c33d18a2186a09cc0d3af41ff5ed3f377360b869f2
|
||||
|
||||
provides="python3-crypto-${version}_1"
|
||||
replaces="python3-crypto>=0"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.rst
|
||||
}
|
Loading…
Reference in a new issue