python-cheetah: add python-cheetah alternative
This commit is contained in:
parent
3bfd58a47f
commit
4512d435f0
1 changed files with 9 additions and 3 deletions
|
@ -1,20 +1,26 @@
|
||||||
# Template file for 'python-cheetah'
|
# Template file for 'python-cheetah'
|
||||||
pkgname=python-cheetah
|
pkgname=python-cheetah
|
||||||
version=2.4.4
|
version=2.4.4
|
||||||
revision=4
|
revision=5
|
||||||
wrksrc="Cheetah-${version}"
|
wrksrc="Cheetah-${version}"
|
||||||
build_style=python2-module
|
build_style=python2-module
|
||||||
|
pycompile_module="Cheetah"
|
||||||
hostmakedepends="python-setuptools"
|
hostmakedepends="python-setuptools"
|
||||||
makedepends="python-devel"
|
makedepends="python-devel"
|
||||||
depends="python-Markdown"
|
depends="python-Markdown"
|
||||||
pycompile_module="Cheetah"
|
|
||||||
short_desc="Python-powered template engine and code generator"
|
short_desc="Python-powered template engine and code generator"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
homepage="http://www.cheetahtemplate.org/"
|
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
homepage="http://www.cheetahtemplate.org/"
|
||||||
distfiles="${PYPI_SITE}/C/Cheetah/Cheetah-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/C/Cheetah/Cheetah-${version}.tar.gz"
|
||||||
checksum=be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550
|
checksum=be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550
|
||||||
|
alternatives="python-cheetah:cheetah:/usr/bin/cheetah2
|
||||||
|
python-cheetah:cheetah-analyze:/usr/bin/cheetah-analyze2
|
||||||
|
python-cheetah:cheetah-compile:/usr/bin/cheetah-compile2"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
mv ${DESTDIR}/usr/bin/cheetah{,2}
|
||||||
|
mv ${DESTDIR}/usr/bin/cheetah-analyze{,2}
|
||||||
|
mv ${DESTDIR}/usr/bin/cheetah-compile{,2}
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue