Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pyplusplus: pyplusplus-1.0.0-r1.ebuild pyplusplus-1.0.0_p20131206.ebuild pyplusplus-9999.ebuild ChangeLog pyplusplus-1.0.0.ebuild
Date: Thu, 01 Jan 2015 23:43:28
Message-Id: 20150101234325.5CC27EAB9@oystercatcher.gentoo.org
1 mgorny 15/01/01 23:43:25
2
3 Modified: pyplusplus-1.0.0-r1.ebuild
4 pyplusplus-1.0.0_p20131206.ebuild
5 pyplusplus-9999.ebuild ChangeLog
6 Removed: pyplusplus-1.0.0.ebuild
7 Log:
8 Avoid unnecessary doc-regen in the old version, remove the obsolete doc-regen code in the new version. Add missing PYTHON_USEDEP. Fix running tests.
9
10 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
11
12 Revision Changes Path
13 1.3 dev-python/pyplusplus/pyplusplus-1.0.0-r1.ebuild
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0-r1.ebuild?rev=1.3&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0-r1.ebuild?rev=1.3&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0-r1.ebuild?r1=1.2&r2=1.3
18
19 Index: pyplusplus-1.0.0-r1.ebuild
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0-r1.ebuild,v
22 retrieving revision 1.2
23 retrieving revision 1.3
24 diff -u -r1.2 -r1.3
25 --- pyplusplus-1.0.0-r1.ebuild 27 Oct 2013 08:24:43 -0000 1.2
26 +++ pyplusplus-1.0.0-r1.ebuild 1 Jan 2015 23:43:25 -0000 1.3
27 @@ -1,6 +1,6 @@
28 -# Copyright 1999-2013 Gentoo Foundation
29 +# Copyright 1999-2015 Gentoo Foundation
30 # Distributed under the terms of the GNU General Public License v2
31 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0-r1.ebuild,v 1.2 2013/10/27 08:24:43 mgorny Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0-r1.ebuild,v 1.3 2015/01/01 23:43:25 mgorny Exp $
33
34 EAPI=5
35
36 @@ -17,20 +17,13 @@
37 KEYWORDS="~amd64 ~x86"
38 IUSE="doc examples +indexing"
39
40 -DEPEND="doc? ( >=dev-python/epydoc-3[${PYTHON_USEDEP}] )
41 - app-arch/unzip"
42 +DEPEND="app-arch/unzip"
43 RDEPEND="=dev-python/pygccxml-1.0.0[${PYTHON_USEDEP}]"
44
45 S=${WORKDIR}/Py++-${PV}
46
47 -python_compile_all() {
48 - if use doc; then
49 - esetup.py doc
50 - fi
51 -}
52 -
53 python_test() {
54 - "${PYTHON}" unittests/test_all.py
55 + "${PYTHON}" unittests/test_all.py || die "Tests fail with ${EPYTHON}"
56 }
57
58 python_install_all() {
59
60
61
62 1.3 dev-python/pyplusplus/pyplusplus-1.0.0_p20131206.ebuild
63
64 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0_p20131206.ebuild?rev=1.3&view=markup
65 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0_p20131206.ebuild?rev=1.3&content-type=text/plain
66 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0_p20131206.ebuild?r1=1.2&r2=1.3
67
68 Index: pyplusplus-1.0.0_p20131206.ebuild
69 ===================================================================
70 RCS file: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0_p20131206.ebuild,v
71 retrieving revision 1.2
72 retrieving revision 1.3
73 diff -u -r1.2 -r1.3
74 --- pyplusplus-1.0.0_p20131206.ebuild 25 Feb 2014 01:56:52 -0000 1.2
75 +++ pyplusplus-1.0.0_p20131206.ebuild 1 Jan 2015 23:43:25 -0000 1.3
76 @@ -1,6 +1,6 @@
77 -# Copyright 1999-2014 Gentoo Foundation
78 +# Copyright 1999-2015 Gentoo Foundation
79 # Distributed under the terms of the GNU General Public License v2
80 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0_p20131206.ebuild,v 1.2 2014/02/25 01:56:52 heroxbd Exp $
81 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0_p20131206.ebuild,v 1.3 2015/01/01 23:43:25 mgorny Exp $
82
83 EAPI=5
84
85 @@ -22,27 +22,22 @@
86
87 LICENSE="freedist Boost-1.0"
88 SLOT="0"
89 -IUSE="doc examples numpy"
90 +IUSE="examples numpy"
91
92 -DEPEND="doc? ( >=dev-python/epydoc-3[${PYTHON_USEDEP}] )
93 - app-arch/unzip
94 - numpy? ( dev-python/numpy )"
95 +DEPEND="app-arch/unzip
96 + numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )"
97 RDEPEND="dev-python/pygccxml[${PYTHON_USEDEP}]"
98
99 src_prepare() {
100 use numpy && epatch --binary "${FILESDIR}"/${PN}-1.0.0_p20131206-numpy.patch
101 -}
102 -
103 -python_compile_all() {
104 - use doc && "$(PYTHON)" setup.py doc
105 + distutils-r1_src_prepare
106 }
107
108 python_test() {
109 - "$(PYTHON)" unittests/test_all.py
110 + "${PYTHON}" unittests/test_all.py || die "Tests fail with ${EPYTHON}"
111 }
112
113 python_install_all() {
114 - use doc && local HTML_DOCS=( docs/documentation/apidocs/. )
115 use examples && local EXAMPLES=( examples/. )
116
117 distutils-r1_python_install_all
118
119
120
121 1.2 dev-python/pyplusplus/pyplusplus-9999.ebuild
122
123 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-9999.ebuild?rev=1.2&view=markup
124 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-9999.ebuild?rev=1.2&content-type=text/plain
125 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-9999.ebuild?r1=1.1&r2=1.2
126
127 Index: pyplusplus-9999.ebuild
128 ===================================================================
129 RCS file: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-9999.ebuild,v
130 retrieving revision 1.1
131 retrieving revision 1.2
132 diff -u -r1.1 -r1.2
133 --- pyplusplus-9999.ebuild 6 Dec 2013 13:35:53 -0000 1.1
134 +++ pyplusplus-9999.ebuild 1 Jan 2015 23:43:25 -0000 1.2
135 @@ -1,6 +1,6 @@
136 -# Copyright 1999-2013 Gentoo Foundation
137 +# Copyright 1999-2015 Gentoo Foundation
138 # Distributed under the terms of the GNU General Public License v2
139 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-9999.ebuild,v 1.1 2013/12/06 13:35:53 heroxbd Exp $
140 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-9999.ebuild,v 1.2 2015/01/01 23:43:25 mgorny Exp $
141
142 EAPI=5
143
144 @@ -22,23 +22,17 @@
145
146 LICENSE="freedist Boost-1.0"
147 SLOT="0"
148 -IUSE="doc examples numpy"
149 +IUSE="examples numpy"
150
151 -DEPEND="doc? ( >=dev-python/epydoc-3[${PYTHON_USEDEP}] )
152 - app-arch/unzip
153 - numpy? ( dev-python/numpy )"
154 +DEPEND="app-arch/unzip
155 + numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )"
156 RDEPEND="dev-python/pygccxml[${PYTHON_USEDEP}]"
157
158 -python_compile_all() {
159 - use doc && "$(PYTHON)" setup.py doc
160 -}
161 -
162 python_test() {
163 - "$(PYTHON)" unittests/test_all.py
164 + "${PYTHON}" unittests/test_all.py || die "Tests fail with ${EPYTHON}"
165 }
166
167 python_install_all() {
168 - use doc && local HTML_DOCS=( docs/documentation/apidocs/. )
169 use examples && local EXAMPLES=( examples/. )
170
171 distutils-r1_python_install_all
172
173
174
175 1.8 dev-python/pyplusplus/ChangeLog
176
177 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/ChangeLog?rev=1.8&view=markup
178 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/ChangeLog?rev=1.8&content-type=text/plain
179 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/ChangeLog?r1=1.7&r2=1.8
180
181 Index: ChangeLog
182 ===================================================================
183 RCS file: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/ChangeLog,v
184 retrieving revision 1.7
185 retrieving revision 1.8
186 diff -u -r1.7 -r1.8
187 --- ChangeLog 3 May 2014 02:02:06 -0000 1.7
188 +++ ChangeLog 1 Jan 2015 23:43:25 -0000 1.8
189 @@ -1,6 +1,12 @@
190 # ChangeLog for dev-python/pyplusplus
191 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
192 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/ChangeLog,v 1.7 2014/05/03 02:02:06 heroxbd Exp $
193 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
194 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/ChangeLog,v 1.8 2015/01/01 23:43:25 mgorny Exp $
195 +
196 + 01 Jan 2015; Michał Górny <mgorny@g.o> -pyplusplus-1.0.0.ebuild,
197 + pyplusplus-1.0.0-r1.ebuild, pyplusplus-1.0.0_p20131206.ebuild,
198 + pyplusplus-9999.ebuild:
199 + Avoid unnecessary doc-regen in the old version, remove the obsolete doc-regen
200 + code in the new version. Add missing PYTHON_USEDEP. Fix running tests.
201
202 03 May 2014; Benda Xu <heroxbd@g.o>
203 files/pyplusplus-1.0.0_p20131206-numpy.patch: