mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-13 18:43:51 +02:00
python-Jinja2: rebuild for Python 3.6
This commit is contained in:
parent
37e64d0c37
commit
486f343a18
1 changed files with 4 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-Jinja2'
|
# Template file for 'python-Jinja2'
|
||||||
pkgname=python-Jinja2
|
pkgname=python-Jinja2
|
||||||
version=2.9.6
|
version=2.9.6
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="Jinja2-${version}"
|
wrksrc="Jinja2-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -16,12 +16,10 @@ distfiles="${PYPI_SITE}/J/Jinja2/Jinja2-${version}.tar.gz"
|
||||||
checksum=ddaa01a212cd6d641401cb01b605f4a4d9f37bfc93043d7f760ec70fb99ff9ff
|
checksum=ddaa01a212cd6d641401cb01b605f4a4d9f37bfc93043d7f760ec70fb99ff9ff
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# these files are valid only on Python 3.6+
|
|
||||||
for py_sitelib in $py2_sitelib $py3_sitelib; do
|
|
||||||
rm -f ${DESTDIR}/${py_sitelib}/jinja2/asyncsupport.py
|
|
||||||
rm -f ${DESTDIR}/${py_sitelib}/jinja2/asyncfilters.py
|
|
||||||
done
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
# 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
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-Jinja2_package() {
|
python3-Jinja2_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue