From 4bdc6467c4a4cc936ad77d22611f93325c78ad80 Mon Sep 17 00:00:00 2001 From: benalb Date: Tue, 26 Feb 2019 18:13:29 +0100 Subject: [PATCH] New package: python-dominate-2.3.5 --- srcpkgs/python-dominate/template | 24 ++++++++++++++++++++++++ srcpkgs/python3-dominate | 1 + 2 files changed, 25 insertions(+) create mode 100644 srcpkgs/python-dominate/template create mode 120000 srcpkgs/python3-dominate 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