void-packages/srcpkgs/python-openssl/template
2015-04-20 09:09:11 +02:00

29 lines
845 B
Bash

# Template file for 'python-openssl'
pkgname=python-openssl
version=0.15.1
revision=1
noarch=yes
wrksrc="pyOpenSSL-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-cryptography python-six"
pycompile_module="OpenSSL"
short_desc="Python2 interface to the OpenSSL library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/pyca/pyopenssl"
license="Apache-2.0"
distfiles="${PYPI_SITE}/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz"
checksum=f0a26070d6db0881de8bcc7846934b7c3c930d8f9c79d45883ee48984bc0d672
python3.4-openssl_package() {
noarch=yes
depends="python3.4-cryptography python3.4-six"
pycompile_version="3.4"
pycompile_module="OpenSSL"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}