Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/urwid: ChangeLog urwid-1.1.2.ebuild
Date: Sat, 25 Jan 2014 08:30:48
Message-Id: 20140125083042.BD5522004C@flycatcher.gentoo.org
1 radhermit 14/01/25 08:30:42
2
3 Modified: ChangeLog
4 Added: urwid-1.1.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.64 dev-python/urwid/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urwid/ChangeLog?rev=1.64&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urwid/ChangeLog?rev=1.64&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urwid/ChangeLog?r1=1.63&r2=1.64
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/urwid/ChangeLog,v
20 retrieving revision 1.63
21 retrieving revision 1.64
22 diff -u -r1.63 -r1.64
23 --- ChangeLog 5 Jan 2014 02:08:38 -0000 1.63
24 +++ ChangeLog 25 Jan 2014 08:30:42 -0000 1.64
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/urwid
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/ChangeLog,v 1.63 2014/01/05 02:08:38 yac Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/ChangeLog,v 1.64 2014/01/25 08:30:42 radhermit Exp $
30 +
31 +*urwid-1.1.2 (25 Jan 2014)
32 +
33 + 25 Jan 2014; Tim Harder <radhermit@g.o> +urwid-1.1.2.ebuild:
34 + Version bump.
35
36 05 Jan 2014; Jan Matejka <yac@g.o> urwid-1.0.2.ebuild:
37 <1.1 doesn't work with python > 3.2
38
39
40
41 1.1 dev-python/urwid/urwid-1.1.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urwid/urwid-1.1.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urwid/urwid-1.1.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: urwid-1.1.2.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/urwid-1.1.2.ebuild,v 1.1 2014/01/25 08:30:42 radhermit Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
54 PYTHON_REQ_USE="ncurses"
55
56 inherit distutils-r1
57
58 DESCRIPTION="Urwid is a curses-based user interface library for Python"
59 HOMEPAGE="http://urwid.org/ http://pypi.python.org/pypi/urwid/"
60 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
61
62 LICENSE="LGPL-2.1"
63 SLOT="0"
64 KEYWORDS="~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux"
65 IUSE="doc examples test"
66
67 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
68 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
69 test? ( dev-python/twisted-core )"
70
71 PATCHES=( "${FILESDIR}"/${PN}-1.1.0-sphinx.patch )
72
73 python_compile_all() {
74 if use doc ; then
75 if [[ ${EPYTHON} == python3* ]] ; then
76 2to3 -nw --no-diffs docs/conf.py || die
77 fi
78 cd docs
79 sphinx-build . _build/html || die
80 fi
81 }
82
83 python_compile() {
84 if [[ ${EPYTHON} == python2* ]] ; then
85 local CFLAGS="${CFLAGS} -fno-strict-aliasing"
86 export CFLAGS
87 fi
88
89 distutils-r1_python_compile
90 }
91
92 python_test() {
93 esetup.py test
94 }
95
96 python_install_all() {
97 use examples && local EXAMPLES=( examples/. )
98 use doc && local HTML_DOCS=( docs/_build/html/. )
99
100 distutils-r1_python_install_all
101 }