Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jinja/
Date: Tue, 26 Apr 2022 16:56:35
Message-Id: 1650992183.846533b0779496309057edf93921237bdf600b76.mgorny@gentoo
1 commit: 846533b0779496309057edf93921237bdf600b76
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 26 16:53:02 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 26 16:56:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=846533b0
7
8 dev-python/jinja: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/jinja/Manifest | 2 --
13 dev-python/jinja/jinja-3.0.3.ebuild | 52 -------------------------------------
14 dev-python/jinja/jinja-3.1.0.ebuild | 52 -------------------------------------
15 3 files changed, 106 deletions(-)
16
17 diff --git a/dev-python/jinja/Manifest b/dev-python/jinja/Manifest
18 index 9d7b28b760f1..592c3324db60 100644
19 --- a/dev-python/jinja/Manifest
20 +++ b/dev-python/jinja/Manifest
21 @@ -1,4 +1,2 @@
22 DIST jinja-2.11.3.tar.gz 258057 BLAKE2B 4735464d044718ce1e6b2663ecb1b238b38fbf0f37ed683257775fe9e853186c089b98494209e511be5aa96bf6df8f6d472be132b6184a7d9213e182099c0433 SHA512 f8e2951edf780d7b44ac74d36579c89b0a5c076b4250faf643ae7e3ff6a431fedaabed640e5efb496cda1a79a4057bf312ae652484c8d4631d521689eb0adbc1
23 -DIST jinja-3.0.3.tar.gz 273634 BLAKE2B 3f72840f3f895471896b918b0d3173aa7b40a077fe78a014064e66ac74c3d1ef1ae811723a84ea56d32edde23ee26ab6091bd5ce7ee4e46a9693f34d2538b491 SHA512 8a364620a4660add0593f4b252a2f20423aa3017193dffe6e8aa80710444da0cae5e6c4b77247d39f33e90185f475714fb892f6b5f01d3055a88b0f669a748be
24 -DIST jinja-3.1.0.tar.gz 271851 BLAKE2B de55a518aa63e3c6ca88bd107709172f73fcb9419c75254b2c23c531b598af7860a303e7da6e61f03cf18edf6935c92f5c12c8b91a7f4eb955c64f472a506b02 SHA512 1bd75c752f8e1c45f05f881598c257a6a357658892307e1352dd4752f45ede9b23f0ce3c16909e1885243199c2b845357c3ea33af8d6848fe346c29eeaf22b60
25 DIST jinja-3.1.1.tar.gz 272001 BLAKE2B 4787ee89d7e10cea24d3bf2810e391d5c17c00ffee8fd2f9244a9e24b219bc126e4111cc6b788107cbc07dd96732a2d1fc51dd87506545dc8beb7fdce5cd89b1 SHA512 285b3a2e09fbf891ce1d18e2692e400a9fe9d8968a36be50229972d9bdbb590bbea099cd26443de0fbe5ed7a2c6419eb211bfdac15c27a61b8db903e88855478
26
27 diff --git a/dev-python/jinja/jinja-3.0.3.ebuild b/dev-python/jinja/jinja-3.0.3.ebuild
28 deleted file mode 100644
29 index 2fb8cc8d12ee..000000000000
30 --- a/dev-python/jinja/jinja-3.0.3.ebuild
31 +++ /dev/null
32 @@ -1,52 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=8
37 -
38 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
39 -PYTHON_REQ_USE="threads(+)"
40 -
41 -inherit distutils-r1
42 -
43 -DESCRIPTION="A full-featured template engine for Python"
44 -HOMEPAGE="https://jinja.palletsprojects.com/ https://pypi.org/project/Jinja2/"
45 -# pypi tarball is missing tests
46 -SRC_URI="https://github.com/pallets/jinja/archive/${PV}.tar.gz -> ${P}.tar.gz"
47 -
48 -LICENSE="BSD"
49 -SLOT="0"
50 -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"
51 -IUSE="examples"
52 -
53 -RDEPEND="
54 - >=dev-python/markupsafe-2.0.0[${PYTHON_USEDEP}]
55 - !dev-python/jinja:compat"
56 -
57 -distutils_enable_sphinx docs \
58 - dev-python/sphinx-issues \
59 - dev-python/pallets-sphinx-themes
60 -distutils_enable_tests pytest
61 -
62 -# XXX: handle Babel better?
63 -
64 -src_prepare() {
65 - # avoid unnecessary dep on extra sphinxcontrib modules
66 - sed -i '/sphinxcontrib.log_cabinet/ d' docs/conf.py || die
67 -
68 - distutils-r1_src_prepare
69 -}
70 -
71 -python_install_all() {
72 - if use examples ; then
73 - docinto examples
74 - dodoc -r examples/.
75 - fi
76 -
77 - distutils-r1_python_install_all
78 -}
79 -
80 -pkg_postinst() {
81 - if ! has_version dev-python/Babel; then
82 - elog "For i18n support, please emerge dev-python/Babel."
83 - fi
84 -}
85
86 diff --git a/dev-python/jinja/jinja-3.1.0.ebuild b/dev-python/jinja/jinja-3.1.0.ebuild
87 deleted file mode 100644
88 index 008e162474da..000000000000
89 --- a/dev-python/jinja/jinja-3.1.0.ebuild
90 +++ /dev/null
91 @@ -1,52 +0,0 @@
92 -# Copyright 1999-2022 Gentoo Authors
93 -# Distributed under the terms of the GNU General Public License v2
94 -
95 -EAPI=8
96 -
97 -DISTUTILS_USE_PEP517=setuptools
98 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
99 -PYTHON_REQ_USE="threads(+)"
100 -
101 -inherit distutils-r1
102 -
103 -DESCRIPTION="A full-featured template engine for Python"
104 -HOMEPAGE="https://jinja.palletsprojects.com/ https://pypi.org/project/Jinja2/"
105 -SRC_URI="https://github.com/pallets/jinja/archive/${PV}.tar.gz -> ${P}.tar.gz"
106 -
107 -LICENSE="BSD"
108 -SLOT="0"
109 -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"
110 -IUSE="examples"
111 -
112 -RDEPEND="
113 - >=dev-python/markupsafe-2.0.0[${PYTHON_USEDEP}]
114 -"
115 -
116 -distutils_enable_sphinx docs \
117 - dev-python/sphinx-issues \
118 - dev-python/pallets-sphinx-themes
119 -distutils_enable_tests pytest
120 -
121 -# XXX: handle Babel better?
122 -
123 -src_prepare() {
124 - # avoid unnecessary dep on extra sphinxcontrib modules
125 - sed -i '/sphinxcontrib.log_cabinet/ d' docs/conf.py || die
126 -
127 - distutils-r1_src_prepare
128 -}
129 -
130 -python_install_all() {
131 - if use examples ; then
132 - docinto examples
133 - dodoc -r examples/.
134 - fi
135 -
136 - distutils-r1_python_install_all
137 -}
138 -
139 -pkg_postinst() {
140 - if ! has_version dev-python/Babel; then
141 - elog "For i18n support, please emerge dev-python/Babel."
142 - fi
143 -}