python-pycryptodome: update to 3.4.6

This commit is contained in:
Alessio Sergi 2017-05-23 20:04:28 +02:00
parent 0cb4dd5724
commit bdc25b64a7

View file

@ -1,31 +1,30 @@
# Template file for 'python-pycryptodome'
pkgname=python-pycryptodome
version=3.4.3
version=3.4.6
revision=1
wrksrc="pycryptodome-${version}"
build_style=python-module
pycompile_module="pycryptodome"
pycompile_module="Crypto"
conflicts="python-crypto>=0"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
short_desc="PyCryptodome is a Python2 package of low-level cryptographic primitives"
short_desc="Python2 package of low-level cryptographic primitives"
maintainer="Wietse Kuipers <wietse@kuiprs.nl>"
homepage="http://www.pycryptodome.org/"
license="BSD"
homepage="https://www.pycryptodome.org/"
license="Public Domain, 2-clause-BSD"
distfiles="https://github.com/Legrandin/pycryptodome/archive/v${version}.tar.gz"
checksum=e10b7725deb6bcfc9500e5467ee68f68192bc4cbf5e89428eed73c3611fd6b24
pre_build() {
mkdir build
}
checksum=9beefd5d4e468108b43609246274469783945a89123d2525356eb86026967c69
post_install() {
vlicense LICENSE.rst
vlicense LICENSE.rst LICENSE
}
python3-pycryptodome_package() {
pycompile_module="pycryptodome"
pycompile_module="Crypto"
conflicts="python3-crypto>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.rst LICENSE
}
}