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: Thu, 04 Jan 2018 21:50:49
Message-Id: 1515102634.164bf52e01120da2bf27b3cfffaf779c48d43293.mgorny@gentoo
1 commit: 164bf52e01120da2bf27b3cfffaf779c48d43293
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 4 20:39:26 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 4 21:50:34 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=164bf52e
7
8 dev-python/jinja: Clean old up
9
10 dev-python/jinja/Manifest | 2 -
11 dev-python/jinja/jinja-2.8.ebuild | 73 -------------------------------------
12 dev-python/jinja/jinja-2.9.6.ebuild | 72 ------------------------------------
13 3 files changed, 147 deletions(-)
14
15 diff --git a/dev-python/jinja/Manifest b/dev-python/jinja/Manifest
16 index d97b961e2bb..3c0413ac2b6 100644
17 --- a/dev-python/jinja/Manifest
18 +++ b/dev-python/jinja/Manifest
19 @@ -1,4 +1,2 @@
20 -DIST Jinja2-2.8.tar.gz 357055 BLAKE2B dff1f706ccae2e63a973195d77ded0c59bd8042ba5e8e269031ed97c090eea1a69572a866f6fb9c8afbd7a0e2ab3e414786c6b7d0153da558bbad38e2847d5ce SHA512 2e80d6d9ad10dafcce1e6dd24493f5dffc43a17f71a30a650415638e12d3a3891738ebacc569701129214026d062d91a2b10e4f7a2c7b85d801dde26ded1bebb
21 DIST jinja-2.10.tar.gz 267508 BLAKE2B 3872a073bd3954a079aee74fb2f23815f75559a88a8ab6d849cc9855e158d096a1ac62c219ae7f48a54d082c3073e83749c8536439248c80494e882f6a18995f SHA512 bdfd3c4d01b39827c128cbd7f6ebc0ad1434748be41c5037ba1b23156eea1d28f805ffe2a051b4e9b5b38938615c35c8876095b0bf0bed2c139cf5ea49ae2420
22 DIST jinja-2.9.5.tar.gz 486763 BLAKE2B 680b8d58056b180295b52998a573da2fe86ac8b117a942e647626aef16d42c7af89a0ba7f5ab098fcdb29bd18940e316144fea1882e15d71f67bda945b4a6ab8 SHA512 15c1b79981c4d6fcbb7fa947fe0fd7e43973433c03d6549a84deec8ad70881f7fd0d3a35160bf6371361994f838da7eb478c577de2612e004679ae51bd97b121
23 -DIST jinja-2.9.6.tar.gz 487185 BLAKE2B 32f11030cec4fc085c6b866e0409a7b04f008720fc13e619f168e5fb5b4eee340beea7761c42940fcbe24a032548866ddf7938d7c06a6e38e6e898bc334af94c SHA512 934e253d9d621fd6d19302ea5e73b571a806c0e31e10ac29b54700ad6649fabf321b00cdc513bb3fb551ee28e83de7f163ce9ef88d232a6c178f4ee5dc2e69b5
24
25 diff --git a/dev-python/jinja/jinja-2.8.ebuild b/dev-python/jinja/jinja-2.8.ebuild
26 deleted file mode 100644
27 index 2c30af4afbf..00000000000
28 --- a/dev-python/jinja/jinja-2.8.ebuild
29 +++ /dev/null
30 @@ -1,73 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -
36 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
37 -PYTHON_REQ_USE="threads(+)"
38 -
39 -inherit eutils distutils-r1
40 -
41 -MY_PN=Jinja2
42 -MY_P=${MY_PN}-${PV}
43 -
44 -DESCRIPTION="A small but fast and easy to use stand-alone template engine written in pure Python"
45 -HOMEPAGE="http://jinja.pocoo.org/ https://pypi.python.org/pypi/Jinja2"
46 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
47 -
48 -LICENSE="BSD"
49 -SLOT="0"
50 -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"
51 -IUSE="doc examples"
52 -
53 -RDEPEND="
54 - dev-python/markupsafe[${PYTHON_USEDEP}]
55 - dev-python/setuptools[${PYTHON_USEDEP}]
56 - !dev-python/jinja:compat"
57 -DEPEND="${RDEPEND}
58 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
59 -
60 -# XXX: handle Babel better?
61 -
62 -S=${WORKDIR}/${MY_P}
63 -
64 -wrap_opts() {
65 - local mydistutilsargs=()
66 -
67 - if [[ ${EPYTHON} == python* ]]; then
68 - mydistutilargs+=( --with-debugsupport )
69 - fi
70 -
71 - "${@}"
72 -}
73 -
74 -python_compile() {
75 - wrap_opts distutils-r1_python_compile
76 - if [[ ${EPYTHON} == python3.2 ]]; then
77 - 2to3 --no-diffs -n -w -f unicode "${BUILD_DIR}/lib" || die
78 - fi
79 -}
80 -
81 -python_compile_all() {
82 - use doc && emake -C docs html
83 -}
84 -
85 -python_test() {
86 - esetup.py test
87 -}
88 -
89 -python_install_all() {
90 - use doc && local HTML_DOCS=( docs/_build/html/. )
91 - use examples && local EXAMPLES=( examples/. )
92 -
93 - distutils-r1_python_install_all
94 -
95 - insinto /usr/share/vim/vimfiles/syntax
96 - doins ext/Vim/*
97 -}
98 -
99 -pkg_postinst() {
100 - if ! has_version dev-python/Babel; then
101 - elog "For i18n support, please emerge dev-python/Babel."
102 - fi
103 -}
104
105 diff --git a/dev-python/jinja/jinja-2.9.6.ebuild b/dev-python/jinja/jinja-2.9.6.ebuild
106 deleted file mode 100644
107 index 35747dfc21a..00000000000
108 --- a/dev-python/jinja/jinja-2.9.6.ebuild
109 +++ /dev/null
110 @@ -1,72 +0,0 @@
111 -# Copyright 1999-2017 Gentoo Foundation
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI=6
115 -
116 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
117 -PYTHON_REQ_USE="threads(+)"
118 -
119 -inherit eutils distutils-r1
120 -
121 -DESCRIPTION="A full-featured template engine for Python"
122 -HOMEPAGE="http://jinja.pocoo.org/ https://pypi.python.org/pypi/Jinja2"
123 -
124 -# pypi tarball is missing tests
125 -SRC_URI="https://github.com/pallets/jinja/archive/${PV}.tar.gz -> ${P}.tar.gz"
126 -
127 -LICENSE="BSD"
128 -SLOT="0"
129 -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"
130 -IUSE="doc examples test"
131 -RESTRICT="!test? ( test )"
132 -
133 -RDEPEND="
134 - dev-python/markupsafe[${PYTHON_USEDEP}]
135 - dev-python/setuptools[${PYTHON_USEDEP}]
136 - !dev-python/jinja:compat"
137 -DEPEND="${RDEPEND}
138 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
139 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
140 -
141 -# XXX: handle Babel better?
142 -
143 -wrap_opts() {
144 - local mydistutilsargs=()
145 -
146 - if [[ ${EPYTHON} == python* ]]; then
147 - mydistutilargs+=( --with-debugsupport )
148 - fi
149 -
150 - "${@}"
151 -}
152 -
153 -python_compile() {
154 - wrap_opts distutils-r1_python_compile
155 -}
156 -
157 -python_compile_all() {
158 - use doc && emake -C docs html
159 -}
160 -
161 -python_test() {
162 - py.test || die
163 -}
164 -
165 -python_install_all() {
166 - use doc && local HTML_DOCS=( docs/_build/html/. )
167 - if use examples ; then
168 - docinto examples
169 - dodoc -r examples/.
170 - fi
171 -
172 - distutils-r1_python_install_all
173 -
174 - insinto /usr/share/vim/vimfiles/syntax
175 - doins ext/Vim/*
176 -}
177 -
178 -pkg_postinst() {
179 - if ! has_version dev-python/Babel; then
180 - elog "For i18n support, please emerge dev-python/Babel."
181 - fi
182 -}