1 |
idella4 14/06/05 08:35:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bpython-0.13.ebuild |
5 |
Removed: bpython-0.11.ebuild |
6 |
Log: |
7 |
add py3 support, upgrade deps, IUSE doc & doc build, test phase, remove IUSE urwid and set urwid as hard dep |
8 |
|
9 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
10 |
|
11 |
Revision Changes Path |
12 |
1.38 dev-python/bpython/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bpython/ChangeLog?rev=1.38&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bpython/ChangeLog?rev=1.38&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bpython/ChangeLog?r1=1.37&r2=1.38 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/bpython/ChangeLog,v |
21 |
retrieving revision 1.37 |
22 |
retrieving revision 1.38 |
23 |
diff -u -r1.37 -r1.38 |
24 |
--- ChangeLog 10 Apr 2013 17:18:00 -0000 1.37 |
25 |
+++ ChangeLog 5 Jun 2014 08:35:31 -0000 1.38 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for dev-python/bpython |
28 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/ChangeLog,v 1.37 2013/04/10 17:18:00 floppym Exp $ |
30 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/ChangeLog,v 1.38 2014/06/05 08:35:31 idella4 Exp $ |
32 |
+ |
33 |
+*bpython-0.13 (05 Jun 2014) |
34 |
+ |
35 |
+ 05 Jun 2014; Ian Delaney <idella4@g.o> +bpython-0.13.ebuild, |
36 |
+ -bpython-0.11.ebuild: |
37 |
+ add py3 support, upgrade deps, IUSE doc & doc build, test phase, remove IUSE |
38 |
+ urwid and set urwid as hard dep |
39 |
|
40 |
10 Apr 2013; Mike Gilbert <floppym@g.o> bpython-0.12.ebuild: |
41 |
Restrict python2.5 due to syntax error in autocomplete.py. |
42 |
|
43 |
|
44 |
|
45 |
1.1 dev-python/bpython/bpython-0.13.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bpython/bpython-0.13.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bpython/bpython-0.13.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: bpython-0.13.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2014 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/bpython-0.13.ebuild,v 1.1 2014/06/05 08:35:31 idella4 Exp $ |
55 |
|
56 |
EAPI=5 |
57 |
PYTHON_COMPAT=( python{2_7,3_3} ) |
58 |
PYTHON_REQ_USE="ncurses" |
59 |
|
60 |
inherit distutils-r1 |
61 |
|
62 |
DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter" |
63 |
HOMEPAGE="http://www.bpython-interpreter.org/ https://bitbucket.org/bobf/bpython/ http://pypi.python.org/pypi/bpython" |
64 |
SRC_URI="http://www.bpython-interpreter.org/releases/${P}.tar.gz" |
65 |
|
66 |
LICENSE="MIT" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~x86" |
69 |
IUSE="doc gtk" |
70 |
|
71 |
RDEPEND="dev-python/pygments[${PYTHON_USEDEP}] |
72 |
dev-python/setuptools[${PYTHON_USEDEP}] |
73 |
gtk? ( dev-python/pygobject:2[$(python_gen_usedep python2_7)] |
74 |
dev-python/pygobject:3[${PYTHON_USEDEP}] |
75 |
dev-python/pygtk[$(python_gen_usedep python2_7)] ) |
76 |
dev-python/urwid[${PYTHON_USEDEP}]" |
77 |
DEPEND="${RDEPEND} |
78 |
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
79 |
|
80 |
DOCS=( AUTHORS CHANGELOG TODO sample-config sample.theme light.theme ) |
81 |
|
82 |
PATCHES=( "${FILESDIR}"/${PN}-desktop.patch ) |
83 |
# Req'd for clean build by each impl |
84 |
DISTUTILS_IN_SOURCE_BUILD=1 |
85 |
|
86 |
python_compile_all() { |
87 |
if use doc; then |
88 |
sphinx-build -b html -c doc/sphinx/source/ \ |
89 |
doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed" |
90 |
fi |
91 |
} |
92 |
|
93 |
python_install() { |
94 |
distutils-r1_python_install |
95 |
if ! use gtk; then |
96 |
rm -f "${D}"usr/bin/bpython-gtk* |
97 |
# delete_unneeded_modules() { |
98 |
rm -f "${D}$(python_get_sitedir)/bpython/gtk_.py" |
99 |
fi |
100 |
} |
101 |
|
102 |
python_test() { |
103 |
pushd build/lib > /dev/null |
104 |
# https://bitbucket.org/bobf/bpython/issue/289/test-failures-in-latest-release-py27-py33 |
105 |
sed -e s':test_enter:_&:' -i bpython/test/test_repl.py || die |
106 |
if python_is_python3; then |
107 |
sed -e s':test_fuzzy_global_complete:_&:' \ |
108 |
-i bpython/test/test_repl.py || die |
109 |
fi |
110 |
"${PYTHON}" -m unittest discover || die "dud" |
111 |
popd > /dev/null |
112 |
} |
113 |
|
114 |
python_install_all() { |
115 |
use doc && local HTML_DOCS=( doc/sphinx/source/html/. ) |
116 |
distutils-r1_python_install_all |
117 |
} |