From 5f87264e40c5c37614a9b2e24e59d661fdfd6c7b Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 20 Oct 2016 19:38:02 +0200 Subject: [PATCH] python-backports.ssl_match_hostname: remove python3 flavor; we use Python 3.5 now. --- .../template | 23 +++---------------- srcpkgs/python3-backports.ssl_match_hostname | 1 - .../python3.4-backports.ssl_match_hostname | 1 - 3 files changed, 3 insertions(+), 22 deletions(-) delete mode 120000 srcpkgs/python3-backports.ssl_match_hostname delete mode 120000 srcpkgs/python3.4-backports.ssl_match_hostname diff --git a/srcpkgs/python-backports.ssl_match_hostname/template b/srcpkgs/python-backports.ssl_match_hostname/template index fe3a1d391e..e9a1846e0c 100644 --- a/srcpkgs/python-backports.ssl_match_hostname/template +++ b/srcpkgs/python-backports.ssl_match_hostname/template @@ -1,12 +1,12 @@ # Template file for 'python-backports.ssl_match_hostname' pkgname=python-backports.ssl_match_hostname version=3.5.0.1 -revision=2 +revision=3 noarch=yes wrksrc="backports.ssl_match_hostname-${version}" -build_style=python-module +build_style=python2-module pycompile_module="backports" -hostmakedepends="python python3" +hostmakedepends="python" depends="python-backports" short_desc="The ssl.match_hostname() function from Python 3.5" maintainer="Alessio Sergi " @@ -19,20 +19,3 @@ post_install() { # namespace provided by python-backports package rm -f ${DESTDIR}/usr/lib/python*/site-packages/backports/__init__.py } - -python3-backports.ssl_match_hostname_package() { - noarch=yes - depends="python3-backports" - pycompile_module="backports" - replaces="python3.4-backports.ssl_match_hostname>=0" - short_desc="${short_desc}" - pkg_install() { - 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}" -} diff --git a/srcpkgs/python3-backports.ssl_match_hostname b/srcpkgs/python3-backports.ssl_match_hostname deleted file mode 120000 index b51813f1d8..0000000000 --- a/srcpkgs/python3-backports.ssl_match_hostname +++ /dev/null @@ -1 +0,0 @@ -python-backports.ssl_match_hostname \ No newline at end of file diff --git a/srcpkgs/python3.4-backports.ssl_match_hostname b/srcpkgs/python3.4-backports.ssl_match_hostname deleted file mode 120000 index b51813f1d8..0000000000 --- a/srcpkgs/python3.4-backports.ssl_match_hostname +++ /dev/null @@ -1 +0,0 @@ -python-backports.ssl_match_hostname \ No newline at end of file