Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/rw/
Date: Tue, 26 May 2020 23:28:44
Message-Id: 1590535630.fd15775af4196eefe3748260a6824955773672b0.mjo@gentoo
1 commit: fd15775af4196eefe3748260a6824955773672b0
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 26 23:27:10 2020 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Tue May 26 23:27:10 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd15775a
7
8 sci-mathematics/rw: disable static libs and delete libtool archives.
9
10 Closes: https://bugs.gentoo.org/725530
11 Package-Manager: Portage-2.3.99, Repoman-2.3.22
12 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
13
14 sci-mathematics/rw/rw-0.8-r3.ebuild | 40 +++++++++++++++++++++++++++++++++++++
15 1 file changed, 40 insertions(+)
16
17 diff --git a/sci-mathematics/rw/rw-0.8-r3.ebuild b/sci-mathematics/rw/rw-0.8-r3.ebuild
18 new file mode 100644
19 index 00000000000..6bbd3085010
20 --- /dev/null
21 +++ b/sci-mathematics/rw/rw-0.8-r3.ebuild
22 @@ -0,0 +1,40 @@
23 +# Copyright 1999-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +inherit autotools
29 +
30 +DESCRIPTION="Compute rank-width decompositions of graphs"
31 +HOMEPAGE="https://sourceforge.net/projects/rankwidth/"
32 +SRC_URI="https://downloads.sourceforge.net/project/rankwidth/${P}.tar.gz"
33 +
34 +LICENSE="GPL-2+"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
37 +IUSE=""
38 +
39 +# We have a file collision (librw.so) with xpaint, bug 560210.
40 +RDEPEND="!media-gfx/xpaint"
41 +
42 +src_prepare() {
43 + # The upstream tarball for v0.8 contains SYMLINKS to ar-lib,
44 + # compile, install-sh, ltmain.sh, etc. And those symlinks don't
45 + # always point to a working location for us, so we have to
46 + # (re)generate actual files for that stuff. Bug 696986.
47 + default
48 + eautoreconf
49 +}
50 +
51 +src_configure() {
52 + # The executable depends on igraph, which has gone off the rails
53 + # upstream and has copy/pasted ~10 libraries into its src/ directory.
54 + econf --disable-executable --disable-static
55 +}
56 +
57 +src_install() {
58 + default
59 +
60 + find "${ED}" -name '*.la' -delete \
61 + || die 'failed to delete libtool archives'
62 +}