34 lines
961 B
Bash
34 lines
961 B
Bash
# Template file for 'python-Mako'
|
|
pkgname=python-Mako
|
|
version=1.0.9
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="Mako-${version}"
|
|
build_style=python-module
|
|
pycompile_module="mako"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-setuptools python-MarkupSafe"
|
|
short_desc="Hyperfast and lightweight templating for Python2"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://www.makotemplates.org/"
|
|
distfiles="${PYPI_SITE}/M/Mako/Mako-${version}.tar.gz"
|
|
checksum=0728c404877cd4ca72c409c0ea372dc5f3b53fa1ad2bb434e1d216c0444ff1fd
|
|
alternatives="mako:mako-render:/usr/bin/mako-render2"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-Mako_package() {
|
|
archs=noarch
|
|
pycompile_module="mako"
|
|
depends="python3-setuptools python3-MarkupSafe"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
alternatives="mako:mako-render:/usr/bin/mako-render3"
|
|
pkg_install() {
|
|
vmove usr/bin/mako-render3
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|