re-add jinja-3.1.1 (from main)
This commit is contained in:
parent
aac8280008
commit
67c797c045
@ -1,3 +1,5 @@
|
||||
DIST jinja-3.1.0.tar.gz 271851 BLAKE2B de55a518aa63e3c6ca88bd107709172f73fcb9419c75254b2c23c531b598af7860a303e7da6e61f03cf18edf6935c92f5c12c8b91a7f4eb955c64f472a506b02 SHA512 1bd75c752f8e1c45f05f881598c257a6a357658892307e1352dd4752f45ede9b23f0ce3c16909e1885243199c2b845357c3ea33af8d6848fe346c29eeaf22b60
|
||||
DIST jinja-3.1.1.tar.gz 272001 BLAKE2B 4787ee89d7e10cea24d3bf2810e391d5c17c00ffee8fd2f9244a9e24b219bc126e4111cc6b788107cbc07dd96732a2d1fc51dd87506545dc8beb7fdce5cd89b1 SHA512 285b3a2e09fbf891ce1d18e2692e400a9fe9d8968a36be50229972d9bdbb590bbea099cd26443de0fbe5ed7a2c6419eb211bfdac15c27a61b8db903e88855478
|
||||
EBUILD jinja-3.1.0.ebuild 1299 BLAKE2B a62b5f7f4749e0d81264df1a21853884b6182f4ecbb2fc927c9de1773807fff4b634e0f2b9ffabe5f193ad8ef2b1af04c53d211afb2afb02b2e9a54d0bca1efb SHA512 bb9fdca49feddd19b6e3977718bf38403a122bb96d1f785a20b69a23c93d97164a73b99ad069ab06a2353ef42e108dd97e550e80823505091273eafb43f78456
|
||||
EBUILD jinja-3.1.1.ebuild 1291 BLAKE2B feb44af59f727da6800a96860cc0efe1a11afd70476f0b70c631b73a77da6e0dd7e0c5b66d349e26cae8f398c809f98099ff8d159445940836a0cf8c80e9c5c6 SHA512 5d1dcc9935461e4eaf55517c809b56be769e6cde95093b3cad2e6ad8dcbc21d9dcde84b72aba67b4ea0a1371fbe020c1b483a538f46bb0fc3a9d78fc1f1ca72f
|
||||
MISC metadata.xml 459 BLAKE2B 9f39d32ddc5c4f4244168dc33e7a824710edb50f125c8ecc273ea3d2095df8a3053c6cdbfe57bec5a94e593420948844fb293d9d9b1667ce56b8e3fc7884b11e SHA512 9615b934055753d0b8afff2d304101cc508a05948af9495e6c362c4c158cf5a54becd38754d5282d7de26496acb705a23e96b6b5da63dab438a937bd1cfa3ca2
|
||||
|
||||
52
dev-python/jinja/jinja-3.1.1.ebuild
Normal file
52
dev-python/jinja/jinja-3.1.1.ebuild
Normal file
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} 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/"
|
||||
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 ~m68k ~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-2.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
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_install_all() {
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc -r examples/.
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version dev-python/Babel; then
|
||||
elog "For i18n support, please emerge dev-python/Babel."
|
||||
fi
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user