python-pycryptodome: replaces pycrypto now that has been removed

This commit is contained in:
Alessio Sergi 2018-06-06 13:06:06 +02:00
parent eecc8272e7
commit 9188a3a611

View file

@ -1,11 +1,11 @@
# Template file for 'python-pycryptodome'
pkgname=python-pycryptodome
version=3.6.1
revision=1
revision=2
replaces="python-crypto>=0"
wrksrc="pycryptodome-${version}"
build_style=python-module
pycompile_module="Crypto"
conflicts="python-crypto>=0"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
short_desc="Python2 package of low-level cryptographic primitives"
@ -24,8 +24,8 @@ post_install() {
}
python3-pycryptodome_package() {
replaces="python3-crypto>=0"
pycompile_module="Crypto"
conflicts="python3-crypto>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*