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-util/cppunit: cppunit-9999.ebuild cppunit-1.13.2-r1.ebuild ChangeLog
Date: Sat, 07 Jun 2014 11:53:52
Message-Id: 20140607115345.1D48B2004E@flycatcher.gentoo.org
1 mgorny 14/06/07 11:53:45
2
3 Modified: cppunit-9999.ebuild ChangeLog
4 Added: cppunit-1.13.2-r1.ebuild
5 Log:
6 Enable multilib support, as a test dependency of media-libs/taglib. Convert to git-r3.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
9
10 Revision Changes Path
11 1.7 dev-util/cppunit/cppunit-9999.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppunit/cppunit-9999.ebuild?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppunit/cppunit-9999.ebuild?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppunit/cppunit-9999.ebuild?r1=1.6&r2=1.7
16
17 Index: cppunit-9999.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/cppunit/cppunit-9999.ebuild,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- cppunit-9999.ebuild 15 Nov 2013 09:16:19 -0000 1.6
24 +++ cppunit-9999.ebuild 7 Jun 2014 11:53:44 -0000 1.7
25 @@ -1,12 +1,12 @@
26 -# Copyright 1999-2013 Gentoo Foundation
27 +# Copyright 1999-2014 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/cppunit-9999.ebuild,v 1.6 2013/11/15 09:16:19 scarabeus Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/cppunit-9999.ebuild,v 1.7 2014/06/07 11:53:44 mgorny Exp $
31
32 EAPI=5
33
34 EGIT_REPO_URI="git://anongit.freedesktop.org/libreoffice/cppunit"
35 -[[ ${PV} = 9999 ]] && inherit git-2 autotools
36 -inherit eutils flag-o-matic
37 +[[ ${PV} = 9999 ]] && inherit git-r3 autotools
38 +inherit eutils flag-o-matic multilib-minimal
39
40 DESCRIPTION="C++ port of the famous JUnit framework for unit testing"
41 HOMEPAGE="http://www.freedesktop.org/wiki/Software/cppunit"
42 @@ -29,6 +29,10 @@
43 DOCS=( AUTHORS BUGS NEWS README THANKS TODO doc/FAQ )
44 [[ ${PV} = 9999 ]] || DOCS+=( ChangeLog )
45
46 +MULTILIB_CHOST_TOOLS=(
47 + /usr/bin/cppunit-config
48 +)
49 +
50 src_prepare() {
51 [[ ${PV} = 9999 ]] && eautoreconf
52 }
53 @@ -37,18 +41,21 @@
54 # Anything else than -O0 breaks on alpha
55 use alpha && replace-flags "-O?" -O0
56
57 + multilib-minimal_src_configure
58 +}
59 +
60 +multilib_src_configure() {
61 + ECONF_SOURCE=${S} \
62 econf \
63 $(use_enable static-libs static) \
64 - $(use_enable doc doxygen) \
65 - $(use_enable doc dot) \
66 + $(multilib_native_use_enable doc doxygen) \
67 + $(multilib_native_use_enable doc dot) \
68 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
69 --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
70 --disable-silent-rules
71 }
72
73 -src_install() {
74 - default
75 -
76 +multilib_src_install_all() {
77 prune_libtool_files --all
78
79 if use examples ; then
80
81
82
83 1.92 dev-util/cppunit/ChangeLog
84
85 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppunit/ChangeLog?rev=1.92&view=markup
86 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppunit/ChangeLog?rev=1.92&content-type=text/plain
87 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppunit/ChangeLog?r1=1.91&r2=1.92
88
89 Index: ChangeLog
90 ===================================================================
91 RCS file: /var/cvsroot/gentoo-x86/dev-util/cppunit/ChangeLog,v
92 retrieving revision 1.91
93 retrieving revision 1.92
94 diff -u -r1.91 -r1.92
95 --- ChangeLog 15 Nov 2013 09:16:19 -0000 1.91
96 +++ ChangeLog 7 Jun 2014 11:53:44 -0000 1.92
97 @@ -1,6 +1,13 @@
98 # ChangeLog for dev-util/cppunit
99 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
100 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/ChangeLog,v 1.91 2013/11/15 09:16:19 scarabeus Exp $
101 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
102 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/ChangeLog,v 1.92 2014/06/07 11:53:44 mgorny Exp $
103 +
104 +*cppunit-1.13.2-r1 (07 Jun 2014)
105 +
106 + 07 Jun 2014; Michał Górny <mgorny@g.o> +cppunit-1.13.2-r1.ebuild,
107 + cppunit-9999.ebuild:
108 + Enable multilib support, as a test dependency of media-libs/taglib. Convert to
109 + git-r3.
110
111 *cppunit-1.13.2 (15 Nov 2013)
112
113
114
115
116 1.1 dev-util/cppunit/cppunit-1.13.2-r1.ebuild
117
118 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppunit/cppunit-1.13.2-r1.ebuild?rev=1.1&view=markup
119 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppunit/cppunit-1.13.2-r1.ebuild?rev=1.1&content-type=text/plain
120
121 Index: cppunit-1.13.2-r1.ebuild
122 ===================================================================
123 # Copyright 1999-2014 Gentoo Foundation
124 # Distributed under the terms of the GNU General Public License v2
125 # $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/cppunit-1.13.2-r1.ebuild,v 1.1 2014/06/07 11:53:44 mgorny Exp $
126
127 EAPI=5
128
129 EGIT_REPO_URI="git://anongit.freedesktop.org/libreoffice/cppunit"
130 [[ ${PV} = 9999 ]] && inherit git-r3 autotools
131 inherit eutils flag-o-matic multilib-minimal
132
133 DESCRIPTION="C++ port of the famous JUnit framework for unit testing"
134 HOMEPAGE="http://www.freedesktop.org/wiki/Software/cppunit"
135 [[ ${PV} = 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${P}.tar.gz"
136
137 LICENSE="LGPL-2.1"
138 SLOT="0"
139 # Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
140 [[ ${PV} = 9999 ]] || \
141 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
142 IUSE="doc examples static-libs"
143
144 RDEPEND=""
145 DEPEND="${RDEPEND}
146 doc? (
147 app-doc/doxygen[dot]
148 media-gfx/graphviz
149 )"
150
151 DOCS=( AUTHORS BUGS NEWS README THANKS TODO doc/FAQ )
152 [[ ${PV} = 9999 ]] || DOCS+=( ChangeLog )
153
154 MULTILIB_CHOST_TOOLS=(
155 /usr/bin/cppunit-config
156 )
157
158 src_prepare() {
159 [[ ${PV} = 9999 ]] && eautoreconf
160 }
161
162 src_configure() {
163 # Anything else than -O0 breaks on alpha
164 use alpha && replace-flags "-O?" -O0
165
166 multilib-minimal_src_configure
167 }
168
169 multilib_src_configure() {
170 ECONF_SOURCE=${S} \
171 econf \
172 $(use_enable static-libs static) \
173 $(multilib_native_use_enable doc doxygen) \
174 $(multilib_native_use_enable doc dot) \
175 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
176 --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
177 --disable-silent-rules
178 }
179
180 multilib_src_install_all() {
181 prune_libtool_files --all
182
183 if use examples ; then
184 find examples -iname "*.o" -delete
185 insinto /usr/share/${PN}
186 doins -r examples
187 fi
188 }