2014-06-18 16:04:39 +02:00
|
|
|
# Template file for 'python-openssl'
|
|
|
|
pkgname=python-openssl
|
2014-08-01 15:11:01 +02:00
|
|
|
version=0.13
|
|
|
|
revision=1
|
2014-06-18 16:04:39 +02:00
|
|
|
wrksrc="pyOpenSSL-${version}"
|
2014-06-18 16:06:42 +02:00
|
|
|
replaces="pyopenssl>=0"
|
2014-06-18 16:04:39 +02:00
|
|
|
build_style=python-module
|
|
|
|
python_versions="2.7 3.4"
|
|
|
|
pycompile_module="OpenSSL"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
2014-07-14 17:33:42 +02:00
|
|
|
makedepends="libressl-devel python-devel python3.4-devel"
|
2014-06-18 16:04:39 +02:00
|
|
|
short_desc="Python2 interface to the OpenSSL library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-08-01 15:11:01 +02:00
|
|
|
homepage="https://github.com/pyca/pyopenssl"
|
2014-06-18 16:04:39 +02:00
|
|
|
license="Apache-2.0"
|
2014-08-01 15:11:01 +02:00
|
|
|
distfiles="https://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz"
|
|
|
|
checksum=21e12b03abaa0e04ecc8cd9c251598f71bae11c9f385304234e4ea5618c6163b
|
2014-06-18 16:04:39 +02:00
|
|
|
|
|
|
|
python3.4-openssl_package() {
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="OpenSSL"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
2014-08-01 15:11:01 +02:00
|
|
|
vmove usr/lib/python3.4
|
2014-06-18 16:04:39 +02:00
|
|
|
}
|
|
|
|
}
|