void-packages/srcpkgs/python-dominate/template

25 lines
720 B
Bash

# Template file for 'python-dominate'
pkgname=python-dominate
version=2.4.0
revision=2
archs=noarch
wrksrc="dominate-${version}"
build_style=python-module
pycompile_module="dominate"
hostmakedepends="python-setuptools python3-setuptools"
short_desc="Library for creating and manipulating HTML (Python2)"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="LGPL-3.0"
homepage="https://github.com/Knio/dominate"
distfiles="${PYPI_SITE}/d/dominate/dominate-${version}.tar.gz"
checksum=a92474b4312bd8b4c1789792f3ec8c571cd8afa8e7502a2b1c64dd48cd67e59c
python3-dominate_package() {
archs=noarch
pycompile_module="dominate"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}