python-dnspython: rebuild for Python 3.5

Switch to python3-* pkgs.
Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
Alessio Sergi 2016-10-17 15:41:13 +02:00
parent 24bd245613
commit 7b03785497
4 changed files with 15 additions and 10 deletions

View file

@ -0,0 +1 @@
In order to perform DNSSEC validation install python3-crypto.

View file

@ -1 +0,0 @@
In order to perform DNSSEC validation install python3.4-crypto.

View file

@ -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 <xtraeme@voidlinux.eu>"
@ -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}"
}

1
srcpkgs/python3-dnspython Symbolic link
View file

@ -0,0 +1 @@
python-dnspython