add (from main repo): jinja-2.11.2-r1 (still needed)

This commit is contained in:
Andreas Billmeier 2021-02-14 12:34:07 +01:00 committed by Andreas Billmeier
parent 28daa14946
commit 7950ce94b9
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 79 additions and 5 deletions

View File

@ -9,6 +9,7 @@
* update aioesphomeapi-2.6.3-r2, fix missing requirements.txt
* bump httplib2-0.18.1
* update PyRMVtransport-0.2.10
* add (from main repo): jinja-2.11.2-r1 (still needed)
2021-02-12
* bump aioharmony-0.2.7

View File

@ -1,3 +1,5 @@
DIST jinja-2.10.3.tar.gz 266316 BLAKE2B 0d8c10bb866eb887fd1c88ca5c5304f46d27930d8426587185ea72c0b79b512919bd5fa75987c26e433be049fd5764fb4ec08d42a4ec5ed00510fe8051e10f5e SHA512 566b781218b533c16b107b57e0252da5947fad262fd8d3fbb134b5916939c5e5d31c95e34bd6b14eec333d2ba3b4a6faa4168497a1ac774e7044f8220ac1b06e
DIST jinja-2.11.2.tar.gz 258055 BLAKE2B 5cf12d6c79e7e659b16318cb3dc483a276511192903469629ec497c10ba6cd023f5a834961ac74cbda556177aaac46f5045c5aaca3068dcef87017760895851c SHA512 453e0c94c57065ab78f997726256bd2a31bb79124a2ee17b632cb124a3ccefded33d81b35cac73497f095b1cd5d8cd4420d6932a637fd7c4cdb786f1753e49ac
EBUILD jinja-2.10.3.ebuild 1622 BLAKE2B cae65b5bc69423cedb57034b4166793cba89fe42d3edbe08c59c0c14c5ba68131837e47cbdc64993e8bae0e0c7ed2cf7b5691b938e349ad0cbaa55ab2bb896a4 SHA512 64ca2ae27eac5edb42eefcf944f220487e03de828406b47ced007ce25cf6b9046f932687a77da373db67c8904987b4ade927180e86f8b828b3312ebc5d1dc4df
MISC metadata.xml 374 BLAKE2B 7d6caffa81473cac206ff3ad29cc5be6ebc22d82bd3a7eb0befec7cd65a859aa9208851237c629d0c019307986eafda5a93d2977d62f847d68dfe5d415139daf SHA512 5c3b1f608d45786b27c3bf31f04816f6a85e2cfaa44eec5a9aa21029a2e8ab26264e87f9a6faa4c44a44d718aa8186110fb4d0878655dd76d880a7173b6e5d59
EBUILD jinja-2.11.2-r1.ebuild 1590 BLAKE2B be3e93f8d938a71e1a22dcfe8b8cf1c6ee5f81cd9459d46e398663dcfbfdf6c7e22d2ee533d18ce50ece7a1a0926cdfc7c4e34d531d61888e9836c953a5970d0 SHA512 d17a819da39c74a541d0aaaa75f8b214b5b4f0d8224e7253a62fa21f2c45679e2b787b0624d4b45096263a5884d45d82b6c7fb45d36b0c4526cff454b26edf9b
MISC metadata.xml 459 BLAKE2B 9f39d32ddc5c4f4244168dc33e7a824710edb50f125c8ecc273ea3d2095df8a3053c6cdbfe57bec5a94e593420948844fb293d9d9b1667ce56b8e3fc7884b11e SHA512 9615b934055753d0b8afff2d304101cc508a05948af9495e6c362c4c158cf5a54becd38754d5282d7de26496acb705a23e96b6b5da63dab438a937bd1cfa3ca2

View File

@ -0,0 +1,68 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="A full-featured template engine for Python"
HOMEPAGE="https://jinja.palletsprojects.com/ https://pypi.org/project/Jinja2/"
# pypi tarball is missing tests
SRC_URI="https://github.com/pallets/jinja/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
IUSE="examples"
RDEPEND="
dev-python/markupsafe[${PYTHON_USEDEP}]
!dev-python/jinja:compat"
distutils_enable_sphinx docs \
dev-python/sphinx-issues \
dev-python/pallets-sphinx-themes
distutils_enable_tests pytest
# XXX: handle Babel better?
src_prepare() {
# avoid unnecessary dep on extra sphinxcontrib modules
sed -i '/sphinxcontrib.log_cabinet/ d' docs/conf.py || die
distutils-r1_src_prepare
}
python_compile() {
distutils-r1_python_compile
if ! python_is_python3; then
rm "${BUILD_DIR}"/lib/jinja2/async*.py || die
fi
}
python_install() {
distutils-r1_python_install --skip-build
}
python_install_all() {
if use examples ; then
docinto examples
dodoc -r examples/.
fi
distutils-r1_python_install_all
insinto /usr/share/vim/vimfiles/syntax
doins ext/Vim/*
}
pkg_postinst() {
if ! has_version dev-python/Babel; then
elog "For i18n support, please emerge dev-python/Babel."
fi
}

View File

@ -2,11 +2,14 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">Jinja2</remote-id>
<remote-id type="github">pallets/jinja</remote-id>
<remote-id type="pypi">Jinja</remote-id>
<maintainer status="unknown">
<email>armin.ronacher@active-4.com</email>
<name>Armin Ronacher</name>
</maintainer>
</upstream>
</pkgmetadata>