void-packages/srcpkgs/python-openssl/template

26 lines
837 B
Text

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