From 7d9d78d4154c1aa111a5316b7c4fd13bb4319fd1 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 28 Feb 2020 07:51:34 -0500 Subject: [PATCH] sci-mathematics/rw: new revision sans the "rw" executable. The main use case for rw is as a library, specifically one used by SageMath. The "rw" executable was nice to have, but it pulls in dev-libs/igraph, and igraph upstream has gone crazy and started copy/pasting libraries into its "src" directory. Since igraph will never be upgraded like that, it's staying unmaintained and won't be stabilized, thereby blocking the stabilization of rw. This commit drops the "rw" executable entirely, so that we can get rid of the igraph dependency and stabilize a version of rw. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Michael Orlitzky --- sci-mathematics/rw/metadata.xml | 4 ---- .../rw/{rw-0.8-r1.ebuild => rw-0.8-r2.ebuild} | 19 +++++-------------- 2 files changed, 5 insertions(+), 18 deletions(-) rename sci-mathematics/rw/{rw-0.8-r1.ebuild => rw-0.8-r2.ebuild} (69%) diff --git a/sci-mathematics/rw/metadata.xml b/sci-mathematics/rw/metadata.xml index 76588843b8fb..4a95d1f4b12d 100644 --- a/sci-mathematics/rw/metadata.xml +++ b/sci-mathematics/rw/metadata.xml @@ -29,10 +29,6 @@ additions on masked integers" by Michael D. Adams and David S. Wise. - - Build the 'rw' program. - - rankwidth diff --git a/sci-mathematics/rw/rw-0.8-r1.ebuild b/sci-mathematics/rw/rw-0.8-r2.ebuild similarity index 69% rename from sci-mathematics/rw/rw-0.8-r1.ebuild rename to sci-mathematics/rw/rw-0.8-r2.ebuild index 4ccfc56281e1..cd1ab5d589b1 100644 --- a/sci-mathematics/rw/rw-0.8-r1.ebuild +++ b/sci-mathematics/rw/rw-0.8-r2.ebuild @@ -12,13 +12,10 @@ SRC_URI="https://downloads.sourceforge.net/project/rankwidth/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="+executable" - -DEPEND="executable? ( >=dev-libs/igraph-0.6 )" +IUSE="" # We have a file collision (librw.so) with xpaint, bug 560210. -RDEPEND="${DEPEND} - !media-gfx/xpaint" +RDEPEND="!media-gfx/xpaint" src_prepare() { # The upstream tarball for v0.8 contains SYMLINKS to ar-lib, @@ -30,13 +27,7 @@ src_prepare() { } src_configure() { - econf $(use_enable executable) -} - -src_install() { - default - # The examples graphs are meant to be fed uncompressed into the 'rw' - # program. The rest of the docs are small so just leave everything - # uncompressed. - docompress -x /usr/share/doc/${PF} + # The executable depends on igraph, which has gone off the rails + # upstream and has copy/pasted ~10 libraries into its src/ directory. + econf --disable-executable } -- 2.26.2