1 |
commit: cd19a78ac797e77d6c751b1cbcb7a7be5f3c36b7 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 16 18:09:51 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 16 18:11:19 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd19a78a |
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 | 1 - |
13 |
dev-python/jinja/jinja-2.11.3-r1.ebuild | 57 --------------------------------- |
14 |
2 files changed, 58 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/jinja/Manifest b/dev-python/jinja/Manifest |
17 |
index db7582319811..e6fcb661fffd 100644 |
18 |
--- a/dev-python/jinja/Manifest |
19 |
+++ b/dev-python/jinja/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST jinja-2.11.3.tar.gz 258057 BLAKE2B 4735464d044718ce1e6b2663ecb1b238b38fbf0f37ed683257775fe9e853186c089b98494209e511be5aa96bf6df8f6d472be132b6184a7d9213e182099c0433 SHA512 f8e2951edf780d7b44ac74d36579c89b0a5c076b4250faf643ae7e3ff6a431fedaabed640e5efb496cda1a79a4057bf312ae652484c8d4631d521689eb0adbc1 |
22 |
DIST jinja-3.1.2.gh.tar.gz 272546 BLAKE2B dc4bc81900c07e7816ff63259073409650f1f679e00d76b9574aaba301b36a7037aaf77a87cc1c160ea2aa2272ceb67e2fd20fbd74bb9850880fb909babded8e SHA512 50feebc7eed4c8b5bb0c2951784c1c115e3ee1c0e0c91bbf1884551b1312ef8fce24804a2ca1dfd8c543406529afe4817567c39e7cfd15028b54049853623144 |
23 |
|
24 |
diff --git a/dev-python/jinja/jinja-2.11.3-r1.ebuild b/dev-python/jinja/jinja-2.11.3-r1.ebuild |
25 |
deleted file mode 100644 |
26 |
index 7f1982612b37..000000000000 |
27 |
--- a/dev-python/jinja/jinja-2.11.3-r1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,57 +0,0 @@ |
30 |
-# Copyright 1999-2023 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-PYTHON_COMPAT=( python3_9 pypy3 ) |
36 |
-PYTHON_REQ_USE="threads(+)" |
37 |
- |
38 |
-inherit distutils-r1 |
39 |
- |
40 |
-DESCRIPTION="A full-featured template engine for Python" |
41 |
-HOMEPAGE="https://jinja.palletsprojects.com/ https://pypi.org/project/Jinja2/" |
42 |
-# pypi tarball is missing tests |
43 |
-SRC_URI="https://github.com/pallets/jinja/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="BSD" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" |
48 |
-IUSE="examples" |
49 |
- |
50 |
-RDEPEND=" |
51 |
- dev-python/markupsafe[${PYTHON_USEDEP}] |
52 |
- !dev-python/jinja:compat" |
53 |
- |
54 |
-distutils_enable_sphinx docs \ |
55 |
- dev-python/sphinx-issues \ |
56 |
- dev-python/pallets-sphinx-themes |
57 |
-distutils_enable_tests pytest |
58 |
- |
59 |
-# XXX: handle Babel better? |
60 |
- |
61 |
-src_prepare() { |
62 |
- # avoid unnecessary dep on extra sphinxcontrib modules |
63 |
- sed -i -e '/sphinxcontrib.log_cabinet/ d' docs/conf.py || die |
64 |
- # fix compat with markupsafe-2.1.0+ |
65 |
- sed -i -e 's:soft_unicode:soft_str:g' src/jinja2/*.py || die |
66 |
- |
67 |
- distutils-r1_src_prepare |
68 |
-} |
69 |
- |
70 |
-python_install_all() { |
71 |
- if use examples ; then |
72 |
- docinto examples |
73 |
- dodoc -r examples/. |
74 |
- fi |
75 |
- |
76 |
- distutils-r1_python_install_all |
77 |
- |
78 |
- insinto /usr/share/vim/vimfiles/syntax |
79 |
- doins ext/Vim/* |
80 |
-} |
81 |
- |
82 |
-pkg_postinst() { |
83 |
- if ! has_version dev-python/Babel; then |
84 |
- elog "For i18n support, please emerge dev-python/Babel." |
85 |
- fi |
86 |
-} |