1 |
radhermit 12/11/24 02:04:27 |
2 |
|
3 |
Modified: urwid-1.1.0.ebuild ChangeLog |
4 |
Added: urwid-1.1.1.ebuild |
5 |
Log: |
6 |
Version bump. Fix html docs build with python-3. |
7 |
|
8 |
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 dev-python/urwid/urwid-1.1.0.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urwid/urwid-1.1.0.ebuild?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urwid/urwid-1.1.0.ebuild?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urwid/urwid-1.1.0.ebuild?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: urwid-1.1.0.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/urwid/urwid-1.1.0.ebuild,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- urwid-1.1.0.ebuild 5 Nov 2012 22:10:00 -0000 1.2 |
24 |
+++ urwid-1.1.0.ebuild 24 Nov 2012 02:04:27 -0000 1.3 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2012 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/urwid-1.1.0.ebuild,v 1.2 2012/11/05 22:10:00 radhermit Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/urwid-1.1.0.ebuild,v 1.3 2012/11/24 02:04:27 radhermit Exp $ |
30 |
|
31 |
EAPI="4" |
32 |
PYTHON_USE_WITH="ncurses" |
33 |
@@ -30,6 +30,10 @@ |
34 |
distutils_src_prepare |
35 |
|
36 |
epatch "${FILESDIR}"/${P}-sphinx.patch |
37 |
+ |
38 |
+ if [[ $(python_get_version -f --major) == 3 ]] ; then |
39 |
+ 2to3-$(PYTHON -f --ABI) -nw --no-diffs docs/conf.py || die |
40 |
+ fi |
41 |
} |
42 |
|
43 |
src_compile() { |
44 |
@@ -37,14 +41,14 @@ |
45 |
|
46 |
if use doc ; then |
47 |
cd docs |
48 |
- sphinx-build . _build || die |
49 |
+ PYTHONPATH="$(ls -d ../build-$(PYTHON -f --ABI)/lib*)" sphinx-build . _build/html || die |
50 |
fi |
51 |
} |
52 |
|
53 |
src_install() { |
54 |
distutils_src_install |
55 |
|
56 |
- use doc && dohtml -r docs/_build/* |
57 |
+ use doc && dohtml -r docs/_build/html/* |
58 |
|
59 |
if use examples ; then |
60 |
dodoc -r examples |
61 |
|
62 |
|
63 |
|
64 |
1.59 dev-python/urwid/ChangeLog |
65 |
|
66 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urwid/ChangeLog?rev=1.59&view=markup |
67 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urwid/ChangeLog?rev=1.59&content-type=text/plain |
68 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urwid/ChangeLog?r1=1.58&r2=1.59 |
69 |
|
70 |
Index: ChangeLog |
71 |
=================================================================== |
72 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/urwid/ChangeLog,v |
73 |
retrieving revision 1.58 |
74 |
retrieving revision 1.59 |
75 |
diff -u -r1.58 -r1.59 |
76 |
--- ChangeLog 5 Nov 2012 22:10:00 -0000 1.58 |
77 |
+++ ChangeLog 24 Nov 2012 02:04:27 -0000 1.59 |
78 |
@@ -1,6 +1,12 @@ |
79 |
# ChangeLog for dev-python/urwid |
80 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
81 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/ChangeLog,v 1.58 2012/11/05 22:10:00 radhermit Exp $ |
82 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/ChangeLog,v 1.59 2012/11/24 02:04:27 radhermit Exp $ |
83 |
+ |
84 |
+*urwid-1.1.1 (24 Nov 2012) |
85 |
+ |
86 |
+ 24 Nov 2012; Tim Harder <radhermit@g.o> urwid-1.1.0.ebuild, |
87 |
+ +urwid-1.1.1.ebuild: |
88 |
+ Version bump. Fix html docs build with python-3. |
89 |
|
90 |
05 Nov 2012; Tim Harder <radhermit@g.o> urwid-0.9.9.1.ebuild, |
91 |
urwid-1.0.2.ebuild, urwid-1.1.0.ebuild: |
92 |
|
93 |
|
94 |
|
95 |
1.1 dev-python/urwid/urwid-1.1.1.ebuild |
96 |
|
97 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urwid/urwid-1.1.1.ebuild?rev=1.1&view=markup |
98 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urwid/urwid-1.1.1.ebuild?rev=1.1&content-type=text/plain |
99 |
|
100 |
Index: urwid-1.1.1.ebuild |
101 |
=================================================================== |
102 |
# Copyright 1999-2012 Gentoo Foundation |
103 |
# Distributed under the terms of the GNU General Public License v2 |
104 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/urwid-1.1.1.ebuild,v 1.1 2012/11/24 02:04:27 radhermit Exp $ |
105 |
|
106 |
EAPI="5" |
107 |
PYTHON_USE_WITH="ncurses" |
108 |
SUPPORT_PYTHON_ABIS="1" |
109 |
RESTRICT_PYTHON_ABIS="*-jython" |
110 |
PYTHON_TESTS_FAILURES_TOLERANT_ABIS="3.1" |
111 |
DISTUTILS_SRC_TEST="setup.py" |
112 |
|
113 |
inherit distutils eutils |
114 |
|
115 |
DESCRIPTION="Urwid is a curses-based user interface library for Python" |
116 |
HOMEPAGE="http://excess.org/urwid/ http://pypi.python.org/pypi/urwid" |
117 |
SRC_URI="http://excess.org/urwid/${P}.tar.gz" |
118 |
|
119 |
LICENSE="LGPL-2.1" |
120 |
SLOT="0" |
121 |
KEYWORDS="~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux" |
122 |
IUSE="doc examples test" |
123 |
|
124 |
DEPEND="dev-python/setuptools |
125 |
doc? ( dev-python/sphinx ) |
126 |
test? ( dev-python/twisted )" |
127 |
|
128 |
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") |
129 |
|
130 |
src_prepare() { |
131 |
distutils_src_prepare |
132 |
|
133 |
epatch "${FILESDIR}"/${PN}-1.1.0-sphinx.patch |
134 |
|
135 |
if [[ $(python_get_version -f --major) == 3 ]] ; then |
136 |
2to3-$(PYTHON -f --ABI) -nw --no-diffs docs/conf.py || die |
137 |
fi |
138 |
} |
139 |
|
140 |
src_compile() { |
141 |
distutils_src_compile |
142 |
|
143 |
if use doc ; then |
144 |
cd docs |
145 |
PYTHONPATH="$(ls -d ../build-$(PYTHON -f --ABI)/lib*)" sphinx-build . _build/html || die |
146 |
fi |
147 |
} |
148 |
|
149 |
src_install() { |
150 |
distutils_src_install |
151 |
|
152 |
use doc && dohtml -r docs/_build/html/* |
153 |
|
154 |
if use examples ; then |
155 |
dodoc -r examples |
156 |
docompress -x /usr/share/doc/${PF}/examples |
157 |
fi |
158 |
} |