diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-07 00:00:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-07 00:00:56 +0100 |
commit | 7bcfea9c5e79a425a62a66bba477b9d3c0d7fdd0 (patch) | |
tree | 02bad8e4f1f060d4858a1a2ec3fc9404f0b7a197 /dev-python/jinja | |
parent | 43c2a85d4e20318dd3d35872e348707900870067 (diff) |
gentoo auto-resync : 07:05:2024 - 00:00:56
Diffstat (limited to 'dev-python/jinja')
-rw-r--r-- | dev-python/jinja/Manifest | 2 | ||||
-rw-r--r-- | dev-python/jinja/jinja-3.1.4.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/jinja/Manifest b/dev-python/jinja/Manifest index 4f702e6366b7..fffa8a62f7ff 100644 --- a/dev-python/jinja/Manifest +++ b/dev-python/jinja/Manifest @@ -1,3 +1,5 @@ DIST jinja-3.1.3.gh.tar.gz 274692 BLAKE2B 0c66600104db89ed17c0a0c58180e8a348f9d505504f4ae1bee01c8c09053994140f87a4d336255e292258f15adc3e535deef494e8fda980ef76547268ddc4fa SHA512 1f4384b3a1cd0f8e128608aa11d00c41f93b6be41459d9e5d8f50e6f879d2427aaea5d04681c85a1577651b9dc434c11c5e7c7caecef6f5fe26518a3d2fdc77e +DIST jinja2-3.1.4.tar.gz 240245 BLAKE2B cb70699cea93ddf53b7c8876b9006cc70599d49f8c64ab615759a53db6829cab7b55ac673777bc4c8dc5dfc68efada29d37f47fe7cf449044721f659fe6a654d SHA512 d07d68a2687af68c705d3b7f5a2c67aca7b9d125316b15085888b9d0d6e769981af76f6f524728b89b5501bd671d518fcb2638f9ae112e57ca2bf2a53482cd89 EBUILD jinja-3.1.3.ebuild 1316 BLAKE2B 4916821c75021de212d8bea1eab33aeb076faecfdc3f3a228695e90bebefcb80a6dc58ed9d255ae4cca28fd455511664f190fb0b0919781d463e638c42f016a2 SHA512 15c9185c547cc0d6943d847916ee6dc482df6b05428f65c5d095440f126a56379c4e927382efde7587a72e31982d8f54797092725ae1cac8a812268360acb897 +EBUILD jinja-3.1.4.ebuild 1104 BLAKE2B 9bc77156d5e53935779921035165ec8abb7d667e7659bab2a32c9c6a47acd633165781a789eb01166774352d9919bca224d7ecd5178b2a5834fb6646ff5c8de2 SHA512 2ee1f36f27b6c59035853389e3ee242de5379b14b93180f5461dc06cea1ec67e8bcdffc2d695aac4b93f7afc785b01604f5549787f96e3a2260554d7fa2f8582 MISC metadata.xml 467 BLAKE2B 5cba0288a395e281e76810639b6e74153f1fe7532addb41ab9ff1e7e3d23616f2cd6cce9ef266ec3545fe6694fb3e25457f9ad383d5de3e2612dedd5609f2a6f SHA512 04f6f784b771602d2ad23afba5d8c9d10fb44b68873ea20a92904f0350081265852c9e4874866e8684c6a163e99f88053b5ea367357fd74790861f6e7d9cb1e3 diff --git a/dev-python/jinja/jinja-3.1.4.ebuild b/dev-python/jinja/jinja-3.1.4.ebuild new file mode 100644 index 000000000000..a11efb7ba171 --- /dev/null +++ b/dev-python/jinja/jinja-3.1.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_PN=jinja2 +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="A full-featured template engine for Python" +HOMEPAGE=" + https://palletsprojects.com/p/jinja/ + https://github.com/pallets/jinja/ + https://pypi.org/project/Jinja2/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + +RDEPEND=" + >=dev-python/markupsafe-2.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 +} + +pkg_postinst() { + if ! has_version dev-python/Babel; then + elog "For i18n support, please emerge dev-python/Babel." + fi +} |