python-dnspython: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
24bd245613
commit
7b03785497
1
srcpkgs/python-dnspython/python3-dnspython.INSTALL.msg
Normal file
1
srcpkgs/python-dnspython/python3-dnspython.INSTALL.msg
Normal file
@ -0,0 +1 @@
|
||||
In order to perform DNSSEC validation install python3-crypto.
|
@ -1 +0,0 @@
|
||||
In order to perform DNSSEC validation install python3.4-crypto.
|
@ -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
1
srcpkgs/python3-dnspython
Symbolic link
@ -0,0 +1 @@
|
||||
python-dnspython
|
Loading…
Reference in New Issue
Block a user