python-openssl: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
2c62bf53ba
commit
1964707349
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-openssl'
|
# Template file for 'python-openssl'
|
||||||
pkgname=python-openssl
|
pkgname=python-openssl
|
||||||
version=16.1.0
|
version=16.1.0
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="pyOpenSSL-${version}"
|
wrksrc="pyOpenSSL-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
||||||
depends="python-cryptography python-six"
|
depends="python-cryptography python-six"
|
||||||
pycompile_module="OpenSSL"
|
pycompile_module="OpenSSL"
|
||||||
short_desc="Python2 interface to the OpenSSL library"
|
short_desc="Python2 interface to the OpenSSL library"
|
||||||
|
@ -16,13 +15,19 @@ license="Apache-2.0"
|
||||||
distfiles="${PYPI_SITE}/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz"
|
||||||
checksum=88f7ada2a71daf2c78a4f139b19d57551b4c8be01f53a1cb5c86c2f3bf01355f
|
checksum=88f7ada2a71daf2c78a4f139b19d57551b4c8be01f53a1cb5c86c2f3bf01355f
|
||||||
|
|
||||||
python3.4-openssl_package() {
|
python3-openssl_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4-cryptography python3.4-six"
|
depends="python3-cryptography python3-six"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="OpenSSL"
|
pycompile_module="OpenSSL"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-openssl>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-openssl_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-openssl>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
python-openssl
|
Loading…
Reference in New Issue