2014-06-18 14:04:39 +00:00
|
|
|
# Template file for 'python-openssl'
|
|
|
|
pkgname=python-openssl
|
2015-04-20 07:09:11 +00:00
|
|
|
version=0.15.1
|
2015-01-19 00:19:15 +00:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
2014-06-18 14:04:39 +00:00
|
|
|
wrksrc="pyOpenSSL-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
2015-01-19 00:19:15 +00:00
|
|
|
depends="python-cryptography python-six"
|
|
|
|
pycompile_module="OpenSSL"
|
2014-06-18 14:04:39 +00:00
|
|
|
short_desc="Python2 interface to the OpenSSL library"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-08-01 13:11:01 +00:00
|
|
|
homepage="https://github.com/pyca/pyopenssl"
|
2014-06-18 14:04:39 +00:00
|
|
|
license="Apache-2.0"
|
2015-01-19 00:19:15 +00:00
|
|
|
distfiles="${PYPI_SITE}/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz"
|
2015-04-20 07:09:11 +00:00
|
|
|
checksum=f0a26070d6db0881de8bcc7846934b7c3c930d8f9c79d45883ee48984bc0d672
|
2014-06-18 14:04:39 +00:00
|
|
|
|
|
|
|
python3.4-openssl_package() {
|
2015-01-19 00:19:15 +00:00
|
|
|
noarch=yes
|
|
|
|
depends="python3.4-cryptography python3.4-six"
|
2014-06-18 14:04:39 +00:00
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="OpenSSL"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
2014-08-01 13:11:01 +00:00
|
|
|
vmove usr/lib/python3.4
|
2014-06-18 14:04:39 +00:00
|
|
|
}
|
|
|
|
}
|