dev-python/jinja: new package, add 3.1.2
Closes: #2704 Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
7a249f0514
commit
1e70f086a8
|
@ -617,14 +617,14 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
|
|||
|
||||
## Licenses
|
||||
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
|
||||
There are 1655 Ebuilds in total, 1644 of them have in total 1663 (42 different) licenses assigned.
|
||||
There are 1656 Ebuilds in total, 1645 of them have in total 1664 (42 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|945|
|
||||
|Apache-2.0|358|
|
||||
|GPL-3|110|
|
||||
|BSD|93|
|
||||
|BSD|94|
|
||||
|LGPL-3|23|
|
||||
|GPL-2|20|
|
||||
|all-rights-reserved|13|
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
DIST jinja-3.1.2.gh.tar.gz 272546 BLAKE2B dc4bc81900c07e7816ff63259073409650f1f679e00d76b9574aaba301b36a7037aaf77a87cc1c160ea2aa2272ceb67e2fd20fbd74bb9850880fb909babded8e SHA512 50feebc7eed4c8b5bb0c2951784c1c115e3ee1c0e0c91bbf1884551b1312ef8fce24804a2ca1dfd8c543406529afe4817567c39e7cfd15028b54049853623144
|
||||
EBUILD jinja-3.1.2.ebuild 1196 BLAKE2B 404f0d072ef7ccb2f1564cf5e0a08bec55b349058625c4f6084196b9599fcee393cd5cc6f40afb12395b4c71050900c1bb6152c29bbbd71fc6af6e3063a61832 SHA512 c2b51caf02183b15798d98cc6dca7890476bd2c98a261e95e5e9f3179a5b954bac9362154a7f9a5473037fe22bf2aaea762f7d564e0fad74863882f85abe77c5
|
||||
MISC metadata.xml 459 BLAKE2B 9f39d32ddc5c4f4244168dc33e7a824710edb50f125c8ecc273ea3d2095df8a3053c6cdbfe57bec5a94e593420948844fb293d9d9b1667ce56b8e3fc7884b11e SHA512 9615b934055753d0b8afff2d304101cc508a05948af9495e6c362c4c158cf5a54becd38754d5282d7de26496acb705a23e96b6b5da63dab438a937bd1cfa3ca2
|
|
@ -0,0 +1,59 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A full-featured template engine for Python"
|
||||
HOMEPAGE="
|
||||
https://palletsprojects.com/p/jinja/
|
||||
https://github.com/pallets/jinja/
|
||||
https://pypi.org/project/Jinja2/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/pallets/jinja/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
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
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>b@edevau.net</email>
|
||||
<name>Andreas Billmeier</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">Jinja</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>armin.ronacher@active-4.com</email>
|
||||
<name>Armin Ronacher</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue