void-packages/srcpkgs/python-Jinja2/template

22 lines
742 B
Bash

# Template file for 'python-Jinja2'
pkgname=python-Jinja2
version=2.11.3
revision=2
build_style=python2-module
hostmakedepends="python-setuptools"
depends="python-MarkupSafe"
short_desc="Full featured template engine (Python2)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://jinja.pocoo.org/"
changelog="https://raw.githubusercontent.com/pallets/jinja/master/CHANGES.rst"
distfiles="${PYPI_SITE}/J/Jinja2/Jinja2-${version}.tar.gz"
checksum=a6d58433de0ae800347cab1fa3043cebbabe8baa9d29e668f1c768cb87a333c6
post_install() {
vlicense LICENSE.rst
# these files are valid only on Python 3.6+
rm -f ${DESTDIR}/${py2_sitelib}/jinja2/asyncsupport.py
rm -f ${DESTDIR}/${py2_sitelib}/jinja2/asyncfilters.py
}