diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/jinja2 | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/jinja2')
| -rw-r--r-- | dev-python/jinja2/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/jinja2/jinja2-3.1.6.ebuild | 61 | ||||
| -rw-r--r-- | dev-python/jinja2/metadata.xml | 13 |
3 files changed, 76 insertions, 0 deletions
diff --git a/dev-python/jinja2/Manifest b/dev-python/jinja2/Manifest new file mode 100644 index 000000000000..84bc3198c2c4 --- /dev/null +++ b/dev-python/jinja2/Manifest @@ -0,0 +1,2 @@ +DIST jinja2-3.1.6.tar.gz 245115 BLAKE2B 494aa04ec2fa9fcc1d89b24148eaec371e2be70d4c6d5e24dd6b2efc6e91ebb0da92fade8667979bf26ba32c87f754ebc5d5d21d2a35f9b4ce7bc228b53a46e3 SHA512 bddd5e142f1462426c57b2efafdfafdfc6b66de257668707940896feae71eabdf19e0b6e34ef49b965153baf9b1eb59bb5a97349bb287ea0921dd2a751e967ab +DIST jinja2-3.1.6.tar.gz.provenance 9088 BLAKE2B 5ea9e770540c9a6f27ac0bb4a2d404a4a91304d844aebbf3ed4c2276340182642f532c81a10460e9af163b828769274f2010e906f76816e1c5da0f33dd962ccb SHA512 2337f7f106406f51c1af12b367a8b41b4b3effe2eb2f98be1d28c169ff25856a64e62da92f70fd4133a8feee04af4ee1121053a3f72268ee05f9bd19a88b97df diff --git a/dev-python/jinja2/jinja2-3.1.6.ebuild b/dev-python/jinja2/jinja2-3.1.6.ebuild new file mode 100644 index 000000000000..25175ab47c1d --- /dev/null +++ b/dev-python/jinja2/jinja2-3.1.6.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_PN=jinja2 +PYPI_VERIFY_REPO=https://github.com/pallets/jinja +PYTHON_COMPAT=( python3_{13..14} ) +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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~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 + +EPYTEST_PLUGINS=() +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_test() { + local EPYTEST_IGNORE=() + if ! has_version "dev-python/trio[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_async.py + tests/test_async_filters.py + ) + fi + + epytest +} + +pkg_postinst() { + if ! has_version dev-python/babel; then + elog "For i18n support, please emerge dev-python/babel." + fi +} diff --git a/dev-python/jinja2/metadata.xml b/dev-python/jinja2/metadata.xml new file mode 100644 index 000000000000..614f607bf180 --- /dev/null +++ b/dev-python/jinja2/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches /> + <upstream> + <remote-id type="cpe">cpe:/a:palletsprojects:jinja</remote-id> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
