pyopenssl: renamed to python-openssl and added 3.4 subpkg.

This commit is contained in:
Juan RP 2014-06-18 16:04:39 +02:00
parent d114e26958
commit e8abb69f85
3 changed files with 26 additions and 15 deletions

View File

@ -1,15 +0,0 @@
# Template file for 'pyopenssl'
pkgname=pyopenssl
version=0.11
revision=4
wrksrc="pyOpenSSL-${version}"
build_style=python-module
hostmakedepends="python-devel"
makedepends="openssl-devel python-devel"
pycompile_module="OpenSSL"
short_desc="Python 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

View File

@ -0,0 +1,25 @@
# Template file for 'python-openssl'
pkgname=python-openssl
version=0.11
revision=5
wrksrc="pyOpenSSL-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="OpenSSL"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="openssl-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
}
}

1
srcpkgs/python3.4-openssl Symbolic link
View File

@ -0,0 +1 @@
python-openssl