Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/bpython: bpython-0.14.2.ebuild ChangeLog
Date: Fri, 29 May 2015 10:38:15
Message-Id: 20150529103806.B53A2A05@oystercatcher.gentoo.org
1 jlec 15/05/29 10:38:06
2
3 Modified: ChangeLog
4 Added: bpython-0.14.2.ebuild
5 Log:
6 Version Bump
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)
9
10 Revision Changes Path
11 1.55 dev-python/bpython/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bpython/ChangeLog?rev=1.55&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bpython/ChangeLog?rev=1.55&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bpython/ChangeLog?r1=1.54&r2=1.55
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/bpython/ChangeLog,v
20 retrieving revision 1.54
21 retrieving revision 1.55
22 diff -u -r1.54 -r1.55
23 --- ChangeLog 21 Mar 2015 16:50:05 -0000 1.54
24 +++ ChangeLog 29 May 2015 10:38:06 -0000 1.55
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.54 2015/03/21 16:50:05 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/ChangeLog,v 1.55 2015/05/29 10:38:06 jlec Exp $
30 +
31 +*bpython-0.14.2 (29 May 2015)
32 +
33 + 29 May 2015; Justin Lecher <jlec@g.o> +bpython-0.14.2.ebuild:
34 + Version Bump
35
36 21 Mar 2015; Justin Lecher <jlec@g.o> bpython-0.13.1.ebuild,
37 bpython-0.13.2.ebuild:
38
39
40
41 1.1 dev-python/bpython/bpython-0.14.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bpython/bpython-0.14.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bpython/bpython-0.14.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: bpython-0.14.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.14.2.ebuild,v 1.1 2015/05/29 10:38:06 jlec Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python2_7 python3_{3,4} )
55
56 PYTHON_REQ_USE="ncurses"
57
58 inherit distutils-r1
59
60 DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
61 HOMEPAGE="http://www.bpython-interpreter.org/ https://bitbucket.org/bobf/bpython/ http://pypi.python.org/pypi/bpython"
62 SRC_URI="
63 http://www.bpython-interpreter.org/releases/${P}.tar.gz
64 mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
65 "
66
67 LICENSE="MIT"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 IUSE="doc test"
71
72 RDEPEND="
73 >=dev-python/curtsies-0.1.18[${PYTHON_USEDEP}]
74 <dev-python/curtsies-0.2.0[${PYTHON_USEDEP}]
75 dev-python/greenlet[${PYTHON_USEDEP}]
76 dev-python/jedi[${PYTHON_USEDEP}]
77 dev-python/pygments[${PYTHON_USEDEP}]
78 dev-python/requests[${PYTHON_USEDEP}]
79 dev-python/setuptools[${PYTHON_USEDEP}]
80 >=dev-python/six-1.5[${PYTHON_USEDEP}]
81 dev-python/urwid[${PYTHON_USEDEP}]
82 dev-python/watchdog[${PYTHON_USEDEP}]
83 "
84 DEPEND="${RDEPEND}
85 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
86 test? ( dev-python/mock[${PYTHON_USEDEP}] )"
87
88 DOCS=( AUTHORS CHANGELOG sample.theme light.theme )
89
90 # Req'd for clean build by each impl
91 DISTUTILS_IN_SOURCE_BUILD=1
92
93 python_compile_all() {
94 if use doc; then
95 sphinx-build -b html -c doc/sphinx/source/ \
96 doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed"
97 fi
98 }
99
100 python_test() {
101 pushd build/lib > /dev/null
102 "${PYTHON}" -m unittest discover || die
103 popd > /dev/null
104 }
105
106 python_install_all() {
107 use doc && local HTML_DOCS=( doc/sphinx/source/html/. )
108 distutils-r1_python_install_all
109 }