python-crypto: add python3.4 subpkg

This commit is contained in:
Alessio Sergi 2014-07-12 23:47:34 +02:00
parent e618c6470a
commit 1ec6effb81
2 changed files with 17 additions and 4 deletions

View File

@ -1,14 +1,16 @@
# Template file for 'python-crypto'
pkgname=python-crypto
version=2.6.1
revision=3
revision=4
wrksrc="pycrypto-${version}"
replaces="pycrypto>=0"
build_style=python-module
hostmakedepends="python-devel"
makedepends="gmp-devel python-devel"
python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel"
makedepends="${hostmakedepends} gmp-devel"
depends="python"
pycompile_module="Crypto"
short_desc="The Python Cryptography Toolkit"
short_desc="The Python Cryptography Toolkit (Python2)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://www.dlitz.net/software/pycrypto/"
license="PSF, Public domain"
@ -21,3 +23,13 @@ pre_build() {
fi
CC= CFLAGS= ./configure ${configure_args}
}
python3.4-crypto_package() {
depends="python3.4"
pycompile_version="3.4"
pycompile_module="Crypto"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}

1
srcpkgs/python3.4-crypto Symbolic link
View File

@ -0,0 +1 @@
python-crypto