parent
4b604ec29b
commit
7d953f022e
@ -7,6 +7,7 @@ wrksrc="Jinja2-${version}"
|
|||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="jinja2"
|
pycompile_module="jinja2"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
checkdepends="python-MarkupSafe python3-MarkupSafe python-pytest python3-pytest"
|
||||||
depends="python-MarkupSafe"
|
depends="python-MarkupSafe"
|
||||||
short_desc="Full featured template engine (Python2)"
|
short_desc="Full featured template engine (Python2)"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
@ -15,6 +16,11 @@ license="3-clause-BSD"
|
|||||||
distfiles="${PYPI_SITE}/J/Jinja2/Jinja2-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/J/Jinja2/Jinja2-${version}.tar.gz"
|
||||||
checksum=f84be1bb0040caca4cea721fcbbbbd61f9be9464ca236387158b0feea01914a4
|
checksum=f84be1bb0040caca4cea721fcbbbbd61f9be9464ca236387158b0feea01914a4
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
python2 -m pytest tests/
|
||||||
|
python3 -m pytest tests/
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
# these files are valid only on Python 3.6+
|
# these files are valid only on Python 3.6+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user