1 |
commit: eb32ce68d51df398d42cfed16b93a263381b5093 |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 6 11:54:54 2019 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 6 11:54:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb32ce68 |
7 |
|
8 |
dev-python/jinja: remove old |
9 |
|
10 |
Bug: https://bugs.gentoo.org/685844 |
11 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.66, Repoman-2.3.11 |
13 |
|
14 |
dev-python/jinja/Manifest | 2 - |
15 |
dev-python/jinja/jinja-2.10.ebuild | 72 ----------------------------------- |
16 |
dev-python/jinja/jinja-2.9.5.ebuild | 75 ------------------------------------- |
17 |
3 files changed, 149 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/jinja/Manifest b/dev-python/jinja/Manifest |
20 |
index aa85e1c3a42..50c6a9cbcc4 100644 |
21 |
--- a/dev-python/jinja/Manifest |
22 |
+++ b/dev-python/jinja/Manifest |
23 |
@@ -1,3 +1 @@ |
24 |
DIST jinja-2.10.1.tar.gz 267828 BLAKE2B 0cd7e2880f1d41f3a6aafa0878343c2ff017099de6b2ad607baa3c9cba9d58c9241e1ba65cc23ea16244a1b3ea8720933f45f1061811e5f1abdcd881c4017bce SHA512 71c90be0b2aeefaa80279cba55f7827b5a42455f9dc55de9ca7e9e3e363678caa357426955267542f3c8a9b775e61aca55e439af192ed0a67f592be4ef91aff6 |
25 |
-DIST jinja-2.10.tar.gz 267508 BLAKE2B 3872a073bd3954a079aee74fb2f23815f75559a88a8ab6d849cc9855e158d096a1ac62c219ae7f48a54d082c3073e83749c8536439248c80494e882f6a18995f SHA512 bdfd3c4d01b39827c128cbd7f6ebc0ad1434748be41c5037ba1b23156eea1d28f805ffe2a051b4e9b5b38938615c35c8876095b0bf0bed2c139cf5ea49ae2420 |
26 |
-DIST jinja-2.9.5.tar.gz 486763 BLAKE2B 680b8d58056b180295b52998a573da2fe86ac8b117a942e647626aef16d42c7af89a0ba7f5ab098fcdb29bd18940e316144fea1882e15d71f67bda945b4a6ab8 SHA512 15c1b79981c4d6fcbb7fa947fe0fd7e43973433c03d6549a84deec8ad70881f7fd0d3a35160bf6371361994f838da7eb478c577de2612e004679ae51bd97b121 |
27 |
|
28 |
diff --git a/dev-python/jinja/jinja-2.10.ebuild b/dev-python/jinja/jinja-2.10.ebuild |
29 |
deleted file mode 100644 |
30 |
index d35036ab8cc..00000000000 |
31 |
--- a/dev-python/jinja/jinja-2.10.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,72 +0,0 @@ |
34 |
-# Copyright 1999-2019 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=6 |
38 |
- |
39 |
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 ) |
40 |
-PYTHON_REQ_USE="threads(+)" |
41 |
- |
42 |
-inherit eutils distutils-r1 |
43 |
- |
44 |
-DESCRIPTION="A full-featured template engine for Python" |
45 |
-HOMEPAGE="http://jinja.pocoo.org/ https://pypi.org/project/Jinja2/" |
46 |
- |
47 |
-# pypi tarball is missing tests |
48 |
-SRC_URI="https://github.com/pallets/jinja/archive/${PV}.tar.gz -> ${P}.tar.gz" |
49 |
- |
50 |
-LICENSE="BSD" |
51 |
-SLOT="0" |
52 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" |
53 |
-IUSE="doc examples test" |
54 |
-RESTRICT="!test? ( test )" |
55 |
- |
56 |
-RDEPEND=" |
57 |
- dev-python/markupsafe[${PYTHON_USEDEP}] |
58 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
59 |
- !dev-python/jinja:compat" |
60 |
-DEPEND="${RDEPEND} |
61 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
62 |
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
63 |
- |
64 |
-# XXX: handle Babel better? |
65 |
- |
66 |
-wrap_opts() { |
67 |
- local mydistutilsargs=() |
68 |
- |
69 |
- if [[ ${EPYTHON} == python* ]]; then |
70 |
- mydistutilargs+=( --with-debugsupport ) |
71 |
- fi |
72 |
- |
73 |
- "${@}" |
74 |
-} |
75 |
- |
76 |
-python_compile() { |
77 |
- wrap_opts distutils-r1_python_compile |
78 |
-} |
79 |
- |
80 |
-python_compile_all() { |
81 |
- use doc && emake -C docs html |
82 |
-} |
83 |
- |
84 |
-python_test() { |
85 |
- py.test || die |
86 |
-} |
87 |
- |
88 |
-python_install_all() { |
89 |
- use doc && local HTML_DOCS=( docs/_build/html/. ) |
90 |
- if use examples ; then |
91 |
- docinto examples |
92 |
- dodoc -r examples/. |
93 |
- fi |
94 |
- |
95 |
- distutils-r1_python_install_all |
96 |
- |
97 |
- insinto /usr/share/vim/vimfiles/syntax |
98 |
- doins ext/Vim/* |
99 |
-} |
100 |
- |
101 |
-pkg_postinst() { |
102 |
- if ! has_version dev-python/Babel; then |
103 |
- elog "For i18n support, please emerge dev-python/Babel." |
104 |
- fi |
105 |
-} |
106 |
|
107 |
diff --git a/dev-python/jinja/jinja-2.9.5.ebuild b/dev-python/jinja/jinja-2.9.5.ebuild |
108 |
deleted file mode 100644 |
109 |
index 50b294a3b61..00000000000 |
110 |
--- a/dev-python/jinja/jinja-2.9.5.ebuild |
111 |
+++ /dev/null |
112 |
@@ -1,75 +0,0 @@ |
113 |
-# Copyright 1999-2019 Gentoo Authors |
114 |
-# Distributed under the terms of the GNU General Public License v2 |
115 |
- |
116 |
-EAPI=6 |
117 |
- |
118 |
-PYTHON_COMPAT=( python2_7 python3_{5,6} pypy pypy3 ) |
119 |
-PYTHON_REQ_USE="threads(+)" |
120 |
- |
121 |
-inherit eutils distutils-r1 |
122 |
- |
123 |
-DESCRIPTION="A full-featured template engine for Python" |
124 |
-HOMEPAGE="http://jinja.pocoo.org/ https://pypi.org/project/Jinja2/" |
125 |
- |
126 |
-# pypi tarball is missing tests |
127 |
-SRC_URI="https://github.com/pallets/jinja/archive/${PV}.tar.gz -> ${P}.tar.gz" |
128 |
- |
129 |
-LICENSE="BSD" |
130 |
-SLOT="0" |
131 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris" |
132 |
-IUSE="doc examples test" |
133 |
-RESTRICT="!test? ( test )" |
134 |
- |
135 |
-RDEPEND=" |
136 |
- dev-python/markupsafe[${PYTHON_USEDEP}] |
137 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
138 |
- !dev-python/jinja:compat" |
139 |
-DEPEND="${RDEPEND} |
140 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
141 |
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
142 |
- |
143 |
-# XXX: handle Babel better? |
144 |
- |
145 |
-wrap_opts() { |
146 |
- local mydistutilsargs=() |
147 |
- |
148 |
- if [[ ${EPYTHON} == python* ]]; then |
149 |
- mydistutilargs+=( --with-debugsupport ) |
150 |
- fi |
151 |
- |
152 |
- "${@}" |
153 |
-} |
154 |
- |
155 |
-python_compile() { |
156 |
- wrap_opts distutils-r1_python_compile |
157 |
- if [[ ${EPYTHON} == python3.2 ]]; then |
158 |
- 2to3 --no-diffs -n -w -f unicode "${BUILD_DIR}/lib" || die |
159 |
- fi |
160 |
-} |
161 |
- |
162 |
-python_compile_all() { |
163 |
- use doc && emake -C docs html |
164 |
-} |
165 |
- |
166 |
-python_test() { |
167 |
- py.test || die |
168 |
-} |
169 |
- |
170 |
-python_install_all() { |
171 |
- use doc && local HTML_DOCS=( docs/_build/html/. ) |
172 |
- if use examples ; then |
173 |
- docinto examples |
174 |
- dodoc -r examples/. |
175 |
- fi |
176 |
- |
177 |
- distutils-r1_python_install_all |
178 |
- |
179 |
- insinto /usr/share/vim/vimfiles/syntax |
180 |
- doins ext/Vim/* |
181 |
-} |
182 |
- |
183 |
-pkg_postinst() { |
184 |
- if ! has_version dev-python/Babel; then |
185 |
- elog "For i18n support, please emerge dev-python/Babel." |
186 |
- fi |
187 |
-} |