pycrypto: update to 2.6; cross build support.
This commit is contained in:
parent
7b1d2512e5
commit
6332055099
|
@ -1,16 +1,25 @@
|
||||||
# Template file for 'pycrypto'
|
# Template file for 'pycrypto'
|
||||||
pkgname=pycrypto
|
pkgname=pycrypto
|
||||||
version=2.3
|
version=2.6
|
||||||
revision=2
|
revision=1
|
||||||
distfiles="http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/$pkgname-$version.tar.gz"
|
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
pycompile_module="Crypto"
|
||||||
makedepends="gmp-devel python-devel"
|
makedepends="gmp-devel python-devel"
|
||||||
|
crossmakedepends="${makedepends}"
|
||||||
short_desc="The Python Cryptography Toolkit"
|
short_desc="The Python Cryptography Toolkit"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=4f11e85fbcf13960373650fc2dae8f088f9b001f07fb6d3efb2fcb5334987182
|
homepage="https://www.dlitz.net/software/pycrypto/"
|
||||||
|
license="PSF, Public domain"
|
||||||
|
distfiles="http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/$pkgname-$version.tar.gz"
|
||||||
|
checksum=7293c9d7e8af2e44a82f86eb9c3b058880f4bcc884bf3ad6c8a34b64986edde8
|
||||||
long_desc="
|
long_desc="
|
||||||
The Python cryptography toolkit is intended to provide a reliable and stable
|
The Python cryptography toolkit is intended to provide a reliable and stable
|
||||||
base for writing Python programs that require cryptographic functions."
|
base for writing Python programs that require cryptographic functions."
|
||||||
|
|
||||||
pycompile_module="Crypto"
|
pre_build() {
|
||||||
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||||
|
sed -e "s|'/usr/include/'|''|g" -i setup.py
|
||||||
|
_args="ac_cv_func_malloc_0_nonnull=yes"
|
||||||
|
fi
|
||||||
|
./configure ${CONFIGURE_SHARED_ARGS} ${_args}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue