From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/bpython: bpython-0.13.2.ebuild ChangeLog |
Date: | Fri, 30 Jan 2015 03:31:44 |
Message-Id: | 20150130033137.9BDFD10A3C@oystercatcher.gentoo.org |
1 | patrick 15/01/30 03:31:37 |
2 | |
3 | Modified: ChangeLog |
4 | Added: bpython-0.13.2.ebuild |
5 | Log: |
6 | Bump |
7 | |
8 | (Portage version: 2.2.15/cvs/Linux x86_64, unsigned Manifest commit) |
9 | |
10 | Revision Changes Path |
11 | 1.46 dev-python/bpython/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bpython/ChangeLog?rev=1.46&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bpython/ChangeLog?rev=1.46&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bpython/ChangeLog?r1=1.45&r2=1.46 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/bpython/ChangeLog,v |
20 | retrieving revision 1.45 |
21 | retrieving revision 1.46 |
22 | diff -u -r1.45 -r1.46 |
23 | --- ChangeLog 26 Jan 2015 13:18:53 -0000 1.45 |
24 | +++ ChangeLog 30 Jan 2015 03:31:37 -0000 1.46 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/bpython |
27 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/ChangeLog,v 1.45 2015/01/26 13:18:53 mrueg Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/ChangeLog,v 1.46 2015/01/30 03:31:37 patrick Exp $ |
30 | + |
31 | +*bpython-0.13.2 (30 Jan 2015) |
32 | + |
33 | + 30 Jan 2015; Patrick Lauer <patrick@g.o> +bpython-0.13.2.ebuild: |
34 | + Bump |
35 | |
36 | 26 Jan 2015; Manuel RĂ¼ger <mrueg@g.o> metadata.xml: |
37 | Drop unused USE description. |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/bpython/bpython-0.13.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bpython/bpython-0.13.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bpython/bpython-0.13.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: bpython-0.13.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2015 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/bpython-0.13.2.ebuild,v 1.1 2015/01/30 03:31:37 patrick Exp $ |
51 | |
52 | EAPI=5 |
53 | PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
54 | PYTHON_REQ_USE="ncurses" |
55 | |
56 | inherit distutils-r1 |
57 | |
58 | DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter" |
59 | HOMEPAGE="http://www.bpython-interpreter.org/ https://bitbucket.org/bobf/bpython/ http://pypi.python.org/pypi/bpython" |
60 | SRC_URI="http://www.bpython-interpreter.org/releases/${P}.tar.gz" |
61 | |
62 | LICENSE="MIT" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~x86" |
65 | IUSE="doc gtk test" |
66 | |
67 | RDEPEND="dev-python/pygments[${PYTHON_USEDEP}] |
68 | dev-python/setuptools[${PYTHON_USEDEP}] |
69 | gtk? ( dev-python/pygobject:2[$(python_gen_usedep python2_7)] |
70 | dev-python/pygtk[$(python_gen_usedep python2_7)] ) |
71 | dev-python/urwid[${PYTHON_USEDEP}]" |
72 | DEPEND="${RDEPEND} |
73 | doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
74 | test? ( dev-python/mock[${PYTHON_USEDEP}] )" |
75 | |
76 | DOCS=( AUTHORS CHANGELOG TODO sample-config sample.theme light.theme ) |
77 | |
78 | PATCHES=( "${FILESDIR}"/${PN}-desktop.patch ) |
79 | |
80 | # Req'd for clean build by each impl |
81 | DISTUTILS_IN_SOURCE_BUILD=1 |
82 | |
83 | python_compile_all() { |
84 | if use doc; then |
85 | sphinx-build -b html -c doc/sphinx/source/ \ |
86 | doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed" |
87 | fi |
88 | } |
89 | |
90 | python_install() { |
91 | distutils-r1_python_install |
92 | if ! use gtk; then |
93 | rm -f "${D}"usr/bin/bpython-gtk* |
94 | # delete_unneeded_modules() { |
95 | rm -f "${D}$(python_get_sitedir)/bpython/gtk_.py" |
96 | fi |
97 | } |
98 | |
99 | python_test() { |
100 | pushd build/lib > /dev/null |
101 | # https://bitbucket.org/bobf/bpython/issue/289/test-failures-in-latest-release-py27-py33 |
102 | sed -e s':test_enter:_&:' -i bpython/test/test_repl.py || die |
103 | |
104 | "${PYTHON}" -m unittest discover || die |
105 | popd > /dev/null |
106 | } |
107 | |
108 | python_install_all() { |
109 | use doc && local HTML_DOCS=( doc/sphinx/source/html/. ) |
110 | distutils-r1_python_install_all |
111 | } |