2014-06-18 14:04:39 +00:00
|
|
|
# Template file for 'python-openssl'
|
|
|
|
pkgname=python-openssl
|
2015-01-19 00:19:15 +00:00
|
|
|
version=0.14
|
|
|
|
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"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
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"
|
|
|
|
checksum=a99db8e59c120138ad8a72eecedcc24b4510d2eed3ce48213b7e32f22cc4ee6e
|
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
|
|
|
}
|
|
|
|
}
|