void-packages/srcpkgs/python-openssl/template

27 lines
835 B
Plaintext
Raw Normal View History

# Template file for 'python-openssl'
pkgname=python-openssl
version=0.11
2014-07-14 17:33:42 +02:00
revision=7
wrksrc="pyOpenSSL-${version}"
2014-06-18 16:06:42 +02:00
replaces="pyopenssl>=0"
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"
short_desc="Python2 interface to the OpenSSL library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://launchpad.net/pyopenssl"
license="Apache-2.0"
distfiles="http://launchpad.net/pyopenssl/main/0.11/+download/pyOpenSSL-${version}.tar.gz"
checksum=42ae2dc29a5ebf5088521cb8df2b1bdf039d28e14845fd9df4ab59658b565cfd
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
}
}