diff --git a/srcpkgs/python3-cheetah3/template b/srcpkgs/python3-cheetah3/template new file mode 100644 index 00000000000..0ceeba12a30 --- /dev/null +++ b/srcpkgs/python3-cheetah3/template @@ -0,0 +1,25 @@ +# Template file for 'python3-cheetah3' +pkgname=python3-cheetah3 +version=3.2.0 +revision=1 +wrksrc="Cheetah3-${version}" +build_style=python3-module +pycompile_module="Cheetah" +hostmakedepends="python3-setuptools" +makedepends="python3-devel" +short_desc="Python-powered template engine and code generator" +maintainer="Piotr Wójcik " +license="MIT" +homepage="http://www.cheetahtemplate.org/" +distfiles="${PYPI_SITE}/C/Cheetah3/Cheetah3-${version}.tar.gz" +checksum=0c8d1a2494eaad548544cb2c317514d5279db0ed569e34516b787d5e12b41589 +alternatives="python-cheetah:cheetah:/usr/bin/cheetah3 + python-cheetah:cheetah-analyze:/usr/bin/cheetah-analyze3 + python-cheetah:cheetah-compile:/usr/bin/cheetah-compile3" + +post_install() { + mv ${DESTDIR}/usr/bin/cheetah{,3} + mv ${DESTDIR}/usr/bin/cheetah-analyze{,3} + mv ${DESTDIR}/usr/bin/cheetah-compile{,3} + vlicense LICENSE +} diff --git a/srcpkgs/python3-cheetah3/update b/srcpkgs/python3-cheetah3/update new file mode 100644 index 00000000000..e9b0a0a5ea4 --- /dev/null +++ b/srcpkgs/python3-cheetah3/update @@ -0,0 +1 @@ +ignore="*b*"