From 3372533871996f993bdc39ecef81d29a1f42d96e Mon Sep 17 00:00:00 2001 From: John Date: Sat, 9 Dec 2017 11:32:38 +0100 Subject: [PATCH] New package: python-pystache-0.5.4 --- srcpkgs/python-pystache/template | 27 +++++++++++++++++++++++++++ srcpkgs/python3-pystache | 1 + 2 files changed, 28 insertions(+) create mode 100644 srcpkgs/python-pystache/template create mode 120000 srcpkgs/python3-pystache diff --git a/srcpkgs/python-pystache/template b/srcpkgs/python-pystache/template new file mode 100644 index 00000000000..f73c33eb717 --- /dev/null +++ b/srcpkgs/python-pystache/template @@ -0,0 +1,27 @@ +# Template file for 'python-pystache' +pkgname=python-pystache +version=0.5.4 +revision=1 +noarch=yes +wrksrc="pystache-${version}" +build_style=python-module +pycompile_module="pystache" +hostmakedepends="python-setuptools python3-setuptools" +short_desc="Mustache template engine written in python" +maintainer="John " +license="MIT" +homepage="http://defunkt.io/pystache/" +distfiles="${PYPI_SITE}/p/pystache/pystache-${version}.tar.gz" +checksum=f7bbc265fb957b4d6c7c042b336563179444ab313fb93a719759111eabd3b85a + +post_install() { + vlicense LICENSE +} + +python3-pystache_package() { + pycompile_module="pystache" + pkg_install() { + vmove "usr/lib/python3*" + vmove "usr/bin/*3" + } +} diff --git a/srcpkgs/python3-pystache b/srcpkgs/python3-pystache new file mode 120000 index 00000000000..7663aaa10e8 --- /dev/null +++ b/srcpkgs/python3-pystache @@ -0,0 +1 @@ +python-pystache \ No newline at end of file