58e281b1a4
pyOpenSSL is now a pure-Python library which depends on the new cryptography library.
28 lines
840 B
Text
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
|
|
}
|
|
}
|