void-packages/srcpkgs/python-dnspython/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

31 lines
762 B
Bash

# Template file for 'python-dnspython'
pkgname=python-dnspython
version=1.15.0
revision=4
noarch=yes
wrksrc="dnspython-${version}"
build_style=python-module
pycompile_module="dns"
hostmakedepends="python-setuptools python3-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=40f563e1f7a7b80dc5a4e76ad75c23da53d62f1e15e6e517293b04e1f84ead7c
post_install() {
vlicense LICENSE
}
python3-dnspython_package() {
noarch=yes
pycompile_module="dns"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}