python-Mako: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 23:38:34 +07:00
parent 59219e6e01
commit 06c05702e7
3 changed files with 24 additions and 38 deletions

View file

@ -1,37 +0,0 @@
# Template file for 'python-Mako'
pkgname=python-Mako
version=1.1.3
revision=1
archs=noarch
wrksrc="Mako-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-MarkupSafe"
checkdepends="tox"
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=8195c8c1400ceb53496064314c6736719c6f25e7479cd24c77be3d9361cddc27
alternatives="mako:mako-render:/usr/bin/mako-render2"
do_check() {
tox -e py27,py${py3_ver/./}
}
post_install() {
vlicense LICENSE
}
python3-Mako_package() {
archs=noarch
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
}
}

View file

@ -1 +0,0 @@
python-Mako

View file

@ -0,0 +1,24 @@
# Template file for 'python3-Mako'
pkgname=python3-Mako
version=1.1.3
revision=2
wrksrc="Mako-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-MarkupSafe"
checkdepends="tox"
short_desc="Hyperfast and lightweight templating for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.makotemplates.org/"
distfiles="${PYPI_SITE}/M/Mako/Mako-${version}.tar.gz"
checksum=8195c8c1400ceb53496064314c6736719c6f25e7479cd24c77be3d9361cddc27
conflicts="python-Mako>=0"
do_check() {
tox -e py27,py${py3_ver/./}
}
post_install() {
vlicense LICENSE
}