pycrypto: update to 2.6.1.
This commit is contained in:
parent
d41021e68b
commit
a1f4d98233
1 changed files with 6 additions and 9 deletions
|
@ -1,34 +1,31 @@
|
||||||
# Template file for 'pycrypto'
|
# Template file for 'pycrypto'
|
||||||
pkgname=pycrypto
|
pkgname=pycrypto
|
||||||
version=2.6
|
version=2.6.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
hostmakedepends="python"
|
||||||
makedepends="gmp-devel python-devel"
|
makedepends="gmp-devel python-devel"
|
||||||
short_desc="The Python Cryptography Toolkit"
|
short_desc="The Python Cryptography Toolkit"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="https://www.dlitz.net/software/pycrypto/"
|
homepage="https://www.dlitz.net/software/pycrypto/"
|
||||||
license="PSF, Public domain"
|
license="PSF, Public domain"
|
||||||
distfiles="http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/$pkgname-$version.tar.gz"
|
distfiles="http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/$pkgname-$version.tar.gz"
|
||||||
checksum=7293c9d7e8af2e44a82f86eb9c3b058880f4bcc884bf3ad6c8a34b64986edde8
|
checksum=f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c
|
||||||
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."
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
hostmakedepends="python"
|
|
||||||
fi
|
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
sed -e "s|'/usr/include/'|''|g" -i setup.py
|
sed -e "s|'/usr/include/'|''|g" -i setup.py
|
||||||
configure_args+=" ac_cv_func_malloc_0_nonnull=yes "
|
configure_args+=" ac_cv_func_malloc_0_nonnull=yes"
|
||||||
fi
|
fi
|
||||||
./configure ${configure_args}
|
CC= CFLAGS= ./configure ${configure_args}
|
||||||
}
|
}
|
||||||
|
|
||||||
pycrypto_package() {
|
pycrypto_package() {
|
||||||
pycompile_module="Crypto"
|
pycompile_module="Crypto"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr
|
vmove all
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue