python-dnspython: update to 1.13.0

dnspython now uses a single source for Python 2 and Python 3.
This commit is contained in:
Alessio Sergi 2016-05-11 12:13:13 +02:00
parent 5b801e8ba2
commit b914256254
3 changed files with 29 additions and 9 deletions

View file

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

View file

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

View file

@ -1,16 +1,34 @@
# Template file for 'python-dnspython'
pkgname="python-dnspython"
version=1.12.0
pkgname=python-dnspython
version=1.13.0
revision=1
wrksrc="dnspython-${version}"
noarch=yes
wrksrc="dnspython-${version}"
build_style=python-module
hostmakedepends="python-devel unzip"
depends="python"
python_versions="2.7 3.4"
pycompile_module="dns"
short_desc="A DNS toolkit for Python"
maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
license="BSD"
hostmakedepends="python-setuptools python3.4-setuptools unzip"
depends="python"
short_desc="A DNS toolkit for Python2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="ISC"
homepage="http://www.dnspython.org/"
distfiles="${PYPI_SITE}/d/dnspython/dnspython-${version}.zip"
checksum=63bd1fae61809eedb91f84b2185816fac1270ae51494fbdd36ea25f904a8502f
checksum=80f89881b402fc3b931a936111b43bcfe3abd8b0005d27e50e3c5fb59f7260f8
post_install() {
vlicense LICENSE
}
python3.4-dnspython_package() {
replaces="python3.4-dnspython3>=0"
noarch=yes
pycompile_version="3.4"
pycompile_module="dns"
depends="python3.4"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
vlicense LICENSE
}
}