void-packages/srcpkgs/python-openssl/template
Alessio Sergi 58e281b1a4 python-openssl: update to 0.14
pyOpenSSL is now a pure-Python library which depends on the new
cryptography library.
2015-01-19 01:27:23 +01:00

28 lines
840 B
Text

# Template file for 'python-openssl'
pkgname=python-openssl
version=0.14
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@gmail.com>"
homepage="https://github.com/pyca/pyopenssl"
license="Apache-2.0"
distfiles="${PYPI_SITE}/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz"
checksum=a99db8e59c120138ad8a72eecedcc24b4510d2eed3ce48213b7e32f22cc4ee6e
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
}
}