python-backports.ssl_match_hostname: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
27822d32af
commit
91c1fee99f
2 changed files with 14 additions and 8 deletions
|
@ -1,13 +1,12 @@
|
|||
# Template file for 'python-backports.ssl_match_hostname'
|
||||
pkgname=python-backports.ssl_match_hostname
|
||||
version=3.5.0.1
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="backports.ssl_match_hostname-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
pycompile_module="backports"
|
||||
hostmakedepends="python python3.4"
|
||||
hostmakedepends="python python3"
|
||||
depends="python-backports"
|
||||
short_desc="The ssl.match_hostname() function from Python 3.5"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
|
@ -21,13 +20,19 @@ post_install() {
|
|||
rm -f ${DESTDIR}/usr/lib/python*/site-packages/backports/__init__.py
|
||||
}
|
||||
|
||||
python3.4-backports.ssl_match_hostname_package() {
|
||||
python3-backports.ssl_match_hostname_package() {
|
||||
noarch=yes
|
||||
pycompile_version="3.4"
|
||||
depends="python3-backports"
|
||||
pycompile_module="backports"
|
||||
depends="python3.4-backports"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
replaces="python3.4-backports.ssl_match_hostname>=0"
|
||||
short_desc="${short_desc}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
||||
python3.4-backports.ssl_match_hostname_package() {
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
short_desc="${short_desc} (transitional dummy package)"
|
||||
depends="python3-backports.ssl_match_hostname>=${version}_${revision}"
|
||||
}
|
||||
|
|
1
srcpkgs/python3-backports.ssl_match_hostname
Symbolic link
1
srcpkgs/python3-backports.ssl_match_hostname
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-backports.ssl_match_hostname
|
Loading…
Reference in a new issue