Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cppunit/
Date: Tue, 07 Sep 2021 10:20:02
Message-Id: 1631009990.b5e080853cf530fc860a28d1130e3a221779eefd.juippis@gentoo
1 commit: b5e080853cf530fc860a28d1130e3a221779eefd
2 Author: Donny <mail <AT> donny <DOT> nyc>
3 AuthorDate: Sat Sep 4 16:57:02 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 7 10:19:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5e08085
7
8 dev-util/cppunit: drop 9999 ebuild
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 dev-util/cppunit/cppunit-9999.ebuild | 70 ------------------------------------
13 1 file changed, 70 deletions(-)
14
15 diff --git a/dev-util/cppunit/cppunit-9999.ebuild b/dev-util/cppunit/cppunit-9999.ebuild
16 deleted file mode 100644
17 index a03be99e2df..00000000000
18 --- a/dev-util/cppunit/cppunit-9999.ebuild
19 +++ /dev/null
20 @@ -1,70 +0,0 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -inherit flag-o-matic multilib-minimal
27 -
28 -DESCRIPTION="C++ port of the famous JUnit framework for unit testing"
29 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/cppunit"
30 -if [[ "${PV}" == *9999 ]] ; then
31 - inherit autotools git-r3
32 - EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/cppunit.git"
33 -else
34 - SRC_URI="https://dev-www.libreoffice.org/src/${P}.tar.gz"
35 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
36 -fi
37 -LICENSE="LGPL-2.1"
38 -SLOT="0"
39 -IUSE="doc examples static-libs"
40 -
41 -RDEPEND=""
42 -DEPEND="${RDEPEND}"
43 -BDEPEND="
44 - doc? (
45 - app-doc/doxygen[dot]
46 - media-gfx/graphviz
47 - )
48 -"
49 -
50 -DOCS=( AUTHORS BUGS NEWS README THANKS TODO doc/FAQ )
51 -[[ "${PV}" == 9999 ]] || DOCS+=( ChangeLog )
52 -
53 -src_prepare() {
54 - default
55 - [[ "${PV}" == 9999 ]] && eautoreconf
56 -}
57 -
58 -src_configure() {
59 - # Anything else than -O0 breaks on alpha
60 - use alpha && replace-flags "-O?" -O0
61 -
62 - multilib-minimal_src_configure
63 -}
64 -
65 -multilib_src_configure() {
66 - local myeconfargs=(
67 - --disable-werror
68 - $(multilib_native_use_enable doc dot)
69 - $(multilib_native_use_enable doc doxygen)
70 - $(use_enable static-libs static)
71 - )
72 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
73 -}
74 -
75 -multilib_src_install_all() {
76 - if use doc ; then
77 - mv "${ED}"/usr/share/${PN}/html "${ED}"/usr/share/doc/${PF} \
78 - || die
79 - rm -r "${ED}"/usr/share/${PN} || die
80 - fi
81 - einstalldocs
82 -
83 - find "${ED}" -name '*.la' -delete || die
84 -
85 - if use examples ; then
86 - find examples -iname "*.o" -delete
87 - insinto /usr/share/${PN}
88 - doins -r examples
89 - fi
90 -}