python-pycryptodome: provides pycrypto too
This commit is contained in:
parent
895f70b61a
commit
67c47873ad
|
@ -1,8 +1,7 @@
|
||||||
# Template file for 'python-pycryptodome'
|
# Template file for 'python-pycryptodome'
|
||||||
pkgname=python-pycryptodome
|
pkgname=python-pycryptodome
|
||||||
version=3.6.1
|
version=3.6.1
|
||||||
revision=2
|
revision=3
|
||||||
replaces="python-crypto>=0"
|
|
||||||
wrksrc="pycryptodome-${version}"
|
wrksrc="pycryptodome-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="Crypto"
|
pycompile_module="Crypto"
|
||||||
|
@ -15,6 +14,9 @@ license="Public Domain, BSD-2-Clause"
|
||||||
distfiles="${PYPI_SITE}/p/pycryptodome/pycryptodome-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/pycryptodome/pycryptodome-${version}.tar.gz"
|
||||||
checksum=15013007e393d0cc0e69f4329a47c4c8597b7f3d02c12c03f805405542f70c71
|
checksum=15013007e393d0cc0e69f4329a47c4c8597b7f3d02c12c03f805405542f70c71
|
||||||
|
|
||||||
|
provides="python-crypto-${version}_1"
|
||||||
|
replaces="python-crypto>=0"
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
python3 setup.py test
|
python3 setup.py test
|
||||||
}
|
}
|
||||||
|
@ -24,6 +26,7 @@ post_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-pycryptodome_package() {
|
python3-pycryptodome_package() {
|
||||||
|
provides="python3-crypto-${version}_1"
|
||||||
replaces="python3-crypto>=0"
|
replaces="python3-crypto>=0"
|
||||||
pycompile_module="Crypto"
|
pycompile_module="Crypto"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user