From 7b03785497bd4d34308ea838528bfa2602442a4d Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 17 Oct 2016 15:41:13 +0200 Subject: [PATCH] python-dnspython: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- .../python3-dnspython.INSTALL.msg | 1 + .../python3.4-dnspython.INSTALL.msg | 1 - srcpkgs/python-dnspython/template | 22 +++++++++++-------- srcpkgs/python3-dnspython | 1 + 4 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 srcpkgs/python-dnspython/python3-dnspython.INSTALL.msg delete mode 100644 srcpkgs/python-dnspython/python3.4-dnspython.INSTALL.msg create mode 120000 srcpkgs/python3-dnspython diff --git a/srcpkgs/python-dnspython/python3-dnspython.INSTALL.msg b/srcpkgs/python-dnspython/python3-dnspython.INSTALL.msg new file mode 100644 index 00000000000..42f1d177a9f --- /dev/null +++ b/srcpkgs/python-dnspython/python3-dnspython.INSTALL.msg @@ -0,0 +1 @@ +In order to perform DNSSEC validation install python3-crypto. diff --git a/srcpkgs/python-dnspython/python3.4-dnspython.INSTALL.msg b/srcpkgs/python-dnspython/python3.4-dnspython.INSTALL.msg deleted file mode 100644 index e027638c4d2..00000000000 --- a/srcpkgs/python-dnspython/python3.4-dnspython.INSTALL.msg +++ /dev/null @@ -1 +0,0 @@ -In order to perform DNSSEC validation install python3.4-crypto. diff --git a/srcpkgs/python-dnspython/template b/srcpkgs/python-dnspython/template index 516bc6cfcdd..96adb21c092 100644 --- a/srcpkgs/python-dnspython/template +++ b/srcpkgs/python-dnspython/template @@ -1,13 +1,12 @@ # Template file for 'python-dnspython' pkgname=python-dnspython version=1.15.0 -revision=2 +revision=3 noarch=yes wrksrc="dnspython-${version}" build_style=python-module -python_versions="2.7 3.4" pycompile_module="dns" -hostmakedepends="python-setuptools python3.4-setuptools unzip" +hostmakedepends="python-setuptools python3-setuptools unzip" depends="python" short_desc="A DNS toolkit for Python2" maintainer="Juan RP " @@ -20,15 +19,20 @@ post_install() { vlicense LICENSE } -python3.4-dnspython_package() { - replaces="python3.4-dnspython3>=0" +python3-dnspython_package() { + replaces="python3.4-dnspython>=0" noarch=yes - pycompile_version="3.4" pycompile_module="dns" - depends="python3.4" - short_desc="${short_desc/Python2/Python3.4}" + depends="python3" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* vlicense LICENSE } } +python3.4-dnspython_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-dnspython>=${version}_${revision}" +} diff --git a/srcpkgs/python3-dnspython b/srcpkgs/python3-dnspython new file mode 120000 index 00000000000..9c4b0ce7792 --- /dev/null +++ b/srcpkgs/python3-dnspython @@ -0,0 +1 @@ +python-dnspython \ No newline at end of file