34 lines
858 B
Bash
34 lines
858 B
Bash
# Template file for 'python-dnspython'
|
|
pkgname=python-dnspython
|
|
version=1.14.0
|
|
revision=1
|
|
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"
|
|
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=21458b942637578f238c7029dc0512c75e61ef64ee0de82a62d175e89d2131dc
|
|
|
|
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
|
|
}
|
|
}
|