diff --git a/srcpkgs/python-dominate/template b/srcpkgs/python-dominate/template new file mode 100644 index 00000000000..791a7cad340 --- /dev/null +++ b/srcpkgs/python-dominate/template @@ -0,0 +1,24 @@ +# Template file for 'python-dominate' +pkgname=python-dominate +version=2.3.5 +revision=1 +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 " +license="LGPL-3.0" +homepage="https://github.com/Knio/dominate" +distfiles="${PYPI_SITE}/d/dominate/dominate-${version}.tar.gz" +checksum=4076735c0745fe771e57b2313dbb4bfeec42731816ee23cee509f66e8912aa51 + +python3-dominate_package() { + archs=noarch + pycompile_module="dominate" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-dominate b/srcpkgs/python3-dominate new file mode 120000 index 00000000000..25538723ef6 --- /dev/null +++ b/srcpkgs/python3-dominate @@ -0,0 +1 @@ +python-dominate/ \ No newline at end of file