Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bpython/files/, dev-python/bpython/
Date: Wed, 12 Oct 2016 14:10:24
Message-Id: 1476281404.900c6bed7375926fc47143f7b6e8efb5295f1682.grozin@gentoo
1 commit: 900c6bed7375926fc47143f7b6e8efb5295f1682
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 12 14:10:04 2016 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 12 14:10:04 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=900c6bed
7
8 dev-python/bpython: cleaning old
9
10 Package-Manager: portage-2.3.0
11
12 dev-python/bpython/Manifest | 2 -
13 dev-python/bpython/bpython-0.14.2.ebuild | 59 --------------------------
14 dev-python/bpython/bpython-0.14.ebuild | 65 -----------------------------
15 dev-python/bpython/bpython-0.15-r1.ebuild | 59 --------------------------
16 dev-python/bpython/bpython-0.15.ebuild | 59 --------------------------
17 dev-python/bpython/files/bpython-0.14.patch | 14 -------
18 6 files changed, 258 deletions(-)
19
20 diff --git a/dev-python/bpython/Manifest b/dev-python/bpython/Manifest
21 index ab3ce25..15f15fa 100644
22 --- a/dev-python/bpython/Manifest
23 +++ b/dev-python/bpython/Manifest
24 @@ -1,5 +1,3 @@
25 DIST bpython-0.13.2.tar.gz 158551 SHA256 a1870a78e44ed6ef54aa906c58234cb0d12011f2e9a49dc29bd5d9423abfbde2 SHA512 6bf74c9618bf92fc6ca23c9020b17219c64b16f159773624b67f87875c962857bde2dd4b03da621da7c8d50622739f95a880638c7c536f5f0dbf510c71f5a874 WHIRLPOOL 71da7518100bd73868ab53e1d13cb8831b0f6629713b993729948f38df52262537b8605f9304ff0edeca5e4f4d3435677c61e84b2d6fc54b2d66df74e756318c
26 -DIST bpython-0.14.2.tar.gz 184808 SHA256 d1f03c9b64a67219ef41aec258c95f192ade5fd187d48fe61b15c1f1d707e302 SHA512 aa6fb8a6fe08746c31783308423400bf2482c6401fc03a1cf1e95592b83946b49eb8df29ac274d0711e01e7b2dcad37c00a609b3b600c31774563d0638d67159 WHIRLPOOL fe6847da5bb0b5b72f9230d175dbe0812a010281bf6a022f87196f71426a37d116a3bf9292cdd20fcd465e56d9b7c3d975028d2bb3a07afacc5c87f3b4b3d0f6
27 -DIST bpython-0.14.tar.gz 184430 SHA256 f7c9fc80fc5a4eb6a345a67815e31957c0c65c1bbdfc68cf99267cdc81a3d35b SHA512 1c43af30902ac01385a4f9d0af1f7531f190dea9ee0d43725d5a23d881874184beca1df9fc8f94f21110d99ca07a851861c56976199e9306515e2b00ca07f1f7 WHIRLPOOL 21dc44b48a0fb31d0c125fc203f90fe7750e81599353a51c215672ed82218fc3b4f544cdb530d6447d099e4eaa5983ad52b8f48e1e83bcf4799dad190af797eb
28 DIST bpython-0.15.tar.gz 198852 SHA256 3f4f7a32416371da2ee0774726875ce63d3f9fed8b58e5a9ad1580b33fd3cef7 SHA512 421a4c8cd7885b0cc73c38ca89bfdbe6535fc4f4575c42195b1b6a9ccdb68e8c3491ebefd7439241f322c3e4ae0a37679253ae8f63b41fc2cfc7fc2ab77b8867 WHIRLPOOL e6a83335d7ea2d099098fb3014aa212a14e71786c9d7e323cf0bba7223b98b9b4cffbeb214de53d9e00b03088304d41fedc37334266fa7e44ae4e905132c72c8
29 DIST bpython-0.16.tar.gz 201898 SHA256 faf3ddf602bd8ad7f133011778966333b9dcefbc3100df27a200b648906f655f SHA512 1173d720aa679e4a6079c7febd36abbffa901604c99c6d1ce1e940a8fbcf8a4ba7bc526de0ef5290e3859a4384d1cd5cbef62fd9f056ddcb545b64d69d103a5b WHIRLPOOL 13aaebc84f9685cd617d5d88fcb48531020925412fa1a0ecda223907b441279bb7639938f06d21a216cf9c4137d3bd1c122f00dcfa8a88d03abba0471c2124c2
30
31 diff --git a/dev-python/bpython/bpython-0.14.2.ebuild b/dev-python/bpython/bpython-0.14.2.ebuild
32 deleted file mode 100644
33 index 590489d..00000000
34 --- a/dev-python/bpython/bpython-0.14.2.ebuild
35 +++ /dev/null
36 @@ -1,59 +0,0 @@
37 -# Copyright 1999-2015 Gentoo Foundation
38 -# Distributed under the terms of the GNU General Public License v2
39 -# $Id$
40 -
41 -EAPI=5
42 -
43 -PYTHON_COMPAT=( python2_7 python3_{3,4} )
44 -
45 -PYTHON_REQ_USE="ncurses"
46 -
47 -inherit distutils-r1
48 -
49 -DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
50 -HOMEPAGE="http://www.bpython-interpreter.org/ https://github.com/bpython/bpython https://pypi.python.org/pypi/bpython"
51 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
52 -
53 -LICENSE="MIT"
54 -SLOT="0"
55 -KEYWORDS="~amd64 ~x86"
56 -IUSE="doc test"
57 -
58 -RDEPEND="
59 - >=dev-python/curtsies-0.1.18[${PYTHON_USEDEP}]
60 - <dev-python/curtsies-0.2.0[${PYTHON_USEDEP}]
61 - dev-python/greenlet[${PYTHON_USEDEP}]
62 - dev-python/jedi[${PYTHON_USEDEP}]
63 - dev-python/pygments[${PYTHON_USEDEP}]
64 - dev-python/requests[${PYTHON_USEDEP}]
65 - dev-python/setuptools[${PYTHON_USEDEP}]
66 - >=dev-python/six-1.5[${PYTHON_USEDEP}]
67 - dev-python/urwid[${PYTHON_USEDEP}]
68 - dev-python/watchdog[${PYTHON_USEDEP}]
69 - "
70 -DEPEND="${RDEPEND}
71 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
72 - test? ( dev-python/mock[${PYTHON_USEDEP}] )"
73 -
74 -DOCS=( AUTHORS CHANGELOG sample.theme light.theme )
75 -
76 -# Req'd for clean build by each impl
77 -DISTUTILS_IN_SOURCE_BUILD=1
78 -
79 -python_compile_all() {
80 - if use doc; then
81 - sphinx-build -b html -c doc/sphinx/source/ \
82 - doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed"
83 - fi
84 -}
85 -
86 -python_test() {
87 - pushd build/lib > /dev/null
88 - "${PYTHON}" -m unittest discover || die
89 - popd > /dev/null
90 -}
91 -
92 -python_install_all() {
93 - use doc && local HTML_DOCS=( doc/sphinx/source/html/. )
94 - distutils-r1_python_install_all
95 -}
96
97 diff --git a/dev-python/bpython/bpython-0.14.ebuild b/dev-python/bpython/bpython-0.14.ebuild
98 deleted file mode 100644
99 index 8c0673b..00000000
100 --- a/dev-python/bpython/bpython-0.14.ebuild
101 +++ /dev/null
102 @@ -1,65 +0,0 @@
103 -# Copyright 1999-2015 Gentoo Foundation
104 -# Distributed under the terms of the GNU General Public License v2
105 -# $Id$
106 -
107 -EAPI=5
108 -
109 -PYTHON_COMPAT=( python2_7 python3_{3,4} )
110 -
111 -PYTHON_REQ_USE="ncurses"
112 -
113 -inherit distutils-r1
114 -
115 -DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
116 -HOMEPAGE="http://www.bpython-interpreter.org/ https://bitbucket.org/bobf/bpython/ https://pypi.python.org/pypi/bpython"
117 -SRC_URI="
118 - http://www.bpython-interpreter.org/releases/${P}.tar.gz
119 - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
120 - "
121 -
122 -LICENSE="MIT"
123 -SLOT="0"
124 -KEYWORDS="~amd64 ~x86"
125 -IUSE="doc test"
126 -
127 -RDEPEND="
128 - dev-python/curtsies[${PYTHON_USEDEP}]
129 - dev-python/greenlet[${PYTHON_USEDEP}]
130 - dev-python/jedi[${PYTHON_USEDEP}]
131 - dev-python/pygments[${PYTHON_USEDEP}]
132 - dev-python/requests[${PYTHON_USEDEP}]
133 - dev-python/setuptools[${PYTHON_USEDEP}]
134 - >=dev-python/six-1.4[${PYTHON_USEDEP}]
135 - dev-python/urwid[${PYTHON_USEDEP}]
136 - dev-python/watchdog[${PYTHON_USEDEP}]
137 - "
138 -DEPEND="${RDEPEND}
139 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
140 - test? ( dev-python/mock[${PYTHON_USEDEP}] )"
141 -
142 -DOCS=( AUTHORS CHANGELOG sample.theme light.theme )
143 -
144 -# Upstream patch
145 -# https://github.com/bpython/bpython/commit/43e70389badc48be2986a606f8f7b3f2aa29d59b
146 -PATCHES=( "${FILESDIR}"/${P}.patch )
147 -
148 -# Req'd for clean build by each impl
149 -DISTUTILS_IN_SOURCE_BUILD=1
150 -
151 -python_compile_all() {
152 - if use doc; then
153 - sphinx-build -b html -c doc/sphinx/source/ \
154 - doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed"
155 - fi
156 -}
157 -
158 -python_test() {
159 - pushd build/lib > /dev/null
160 - "${PYTHON}" -m unittest discover || die
161 - popd > /dev/null
162 -}
163 -
164 -python_install_all() {
165 - use doc && local HTML_DOCS=( doc/sphinx/source/html/. )
166 - distutils-r1_python_install_all
167 -}
168
169 diff --git a/dev-python/bpython/bpython-0.15-r1.ebuild b/dev-python/bpython/bpython-0.15-r1.ebuild
170 deleted file mode 100644
171 index d1ea308..00000000
172 --- a/dev-python/bpython/bpython-0.15-r1.ebuild
173 +++ /dev/null
174 @@ -1,59 +0,0 @@
175 -# Copyright 1999-2016 Gentoo Foundation
176 -# Distributed under the terms of the GNU General Public License v2
177 -# $Id$
178 -
179 -EAPI=5
180 -
181 -PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
182 -
183 -PYTHON_REQ_USE="ncurses"
184 -
185 -inherit distutils-r1
186 -
187 -DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
188 -HOMEPAGE="http://www.bpython-interpreter.org/ https://github.com/bpython/bpython https://pypi.python.org/pypi/bpython"
189 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
190 -
191 -LICENSE="MIT"
192 -SLOT="0"
193 -KEYWORDS="~amd64 ~x86"
194 -IUSE="doc test"
195 -
196 -RDEPEND="
197 - >=dev-python/curtsies-0.1.18[${PYTHON_USEDEP}]
198 - <dev-python/curtsies-0.2.0[${PYTHON_USEDEP}]
199 - dev-python/greenlet[${PYTHON_USEDEP}]
200 - dev-python/jedi[${PYTHON_USEDEP}]
201 - dev-python/pygments[${PYTHON_USEDEP}]
202 - dev-python/requests[${PYTHON_USEDEP}]
203 - dev-python/setuptools[${PYTHON_USEDEP}]
204 - >=dev-python/six-1.5[${PYTHON_USEDEP}]
205 - dev-python/urwid[${PYTHON_USEDEP}]
206 - dev-python/watchdog[${PYTHON_USEDEP}]
207 - "
208 -DEPEND="${RDEPEND}
209 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
210 - test? ( dev-python/mock[${PYTHON_USEDEP}] )"
211 -
212 -DOCS=( AUTHORS CHANGELOG sample.theme light.theme )
213 -
214 -# Req'd for clean build by each impl
215 -DISTUTILS_IN_SOURCE_BUILD=1
216 -
217 -python_compile_all() {
218 - if use doc; then
219 - sphinx-build -b html -c doc/sphinx/source/ \
220 - doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed"
221 - fi
222 -}
223 -
224 -python_test() {
225 - pushd build/lib > /dev/null
226 - "${PYTHON}" -m unittest discover || die
227 - popd > /dev/null
228 -}
229 -
230 -python_install_all() {
231 - use doc && local HTML_DOCS=( doc/sphinx/source/html/. )
232 - distutils-r1_python_install_all
233 -}
234
235 diff --git a/dev-python/bpython/bpython-0.15.ebuild b/dev-python/bpython/bpython-0.15.ebuild
236 deleted file mode 100644
237 index 4ac804f..00000000
238 --- a/dev-python/bpython/bpython-0.15.ebuild
239 +++ /dev/null
240 @@ -1,59 +0,0 @@
241 -# Copyright 1999-2016 Gentoo Foundation
242 -# Distributed under the terms of the GNU General Public License v2
243 -# $Id$
244 -
245 -EAPI=5
246 -
247 -PYTHON_COMPAT=( python2_7 python3_{3,4} )
248 -
249 -PYTHON_REQ_USE="ncurses"
250 -
251 -inherit distutils-r1
252 -
253 -DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
254 -HOMEPAGE="http://www.bpython-interpreter.org/ https://github.com/bpython/bpython https://pypi.python.org/pypi/bpython"
255 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
256 -
257 -LICENSE="MIT"
258 -SLOT="0"
259 -KEYWORDS="~amd64 ~x86"
260 -IUSE="doc test"
261 -
262 -RDEPEND="
263 - >=dev-python/curtsies-0.1.18[${PYTHON_USEDEP}]
264 - <dev-python/curtsies-0.2.0[${PYTHON_USEDEP}]
265 - dev-python/greenlet[${PYTHON_USEDEP}]
266 - dev-python/jedi[${PYTHON_USEDEP}]
267 - dev-python/pygments[${PYTHON_USEDEP}]
268 - dev-python/requests[${PYTHON_USEDEP}]
269 - dev-python/setuptools[${PYTHON_USEDEP}]
270 - >=dev-python/six-1.5[${PYTHON_USEDEP}]
271 - dev-python/urwid[${PYTHON_USEDEP}]
272 - dev-python/watchdog[${PYTHON_USEDEP}]
273 - "
274 -DEPEND="${RDEPEND}
275 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
276 - test? ( dev-python/mock[${PYTHON_USEDEP}] )"
277 -
278 -DOCS=( AUTHORS CHANGELOG sample.theme light.theme )
279 -
280 -# Req'd for clean build by each impl
281 -DISTUTILS_IN_SOURCE_BUILD=1
282 -
283 -python_compile_all() {
284 - if use doc; then
285 - sphinx-build -b html -c doc/sphinx/source/ \
286 - doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed"
287 - fi
288 -}
289 -
290 -python_test() {
291 - pushd build/lib > /dev/null
292 - "${PYTHON}" -m unittest discover || die
293 - popd > /dev/null
294 -}
295 -
296 -python_install_all() {
297 - use doc && local HTML_DOCS=( doc/sphinx/source/html/. )
298 - distutils-r1_python_install_all
299 -}
300
301 diff --git a/dev-python/bpython/files/bpython-0.14.patch b/dev-python/bpython/files/bpython-0.14.patch
302 deleted file mode 100644
303 index 00b8e5a..00000000
304 --- a/dev-python/bpython/files/bpython-0.14.patch
305 +++ /dev/null
306 @@ -1,14 +0,0 @@
307 -diff -r -U2 bpython-0.14.orig/bpython/curtsiesfrontend/repl.py bpython-0.14/bpython/curtsiesfrontend/repl.py
308 ---- bpython-0.14.orig/bpython/curtsiesfrontend/repl.py 2015-02-17 05:07:38.000000000 +0600
309 -+++ bpython-0.14/bpython/curtsiesfrontend/repl.py 2015-02-19 00:09:13.758932344 +0600
310 -@@ -420,7 +420,9 @@
311 - # for reading modules if they fail to load
312 - old_module_locations = {}
313 -+ default_level = 0 if py3 else -1
314 -
315 - @functools.wraps(self.orig_import)
316 -- def new_import(name, globals={}, locals={}, fromlist=[], level=-1):
317 -+ def new_import(name, globals={}, locals={}, fromlist=[],
318 -+ level=default_level):
319 - try:
320 - m = self.orig_import(name, globals=globals, locals=locals,