summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2020-02-28 07:51:34 -0500
committerMichael Orlitzky <mjo@gentoo.org>2020-02-28 07:53:33 -0500
commit7d9d78d4154c1aa111a5316b7c4fd13bb4319fd1 (patch)
treee0a3edd32a4f7ff11cdf6d8573ac719e2ffdcd05 /sci-mathematics
parentsci-mathematics/gp2c: maintainer stabilize on amd64. (diff)
downloadgentoo-7d9d78d4154c1aa111a5316b7c4fd13bb4319fd1.tar.gz
gentoo-7d9d78d4154c1aa111a5316b7c4fd13bb4319fd1.tar.bz2
gentoo-7d9d78d4154c1aa111a5316b7c4fd13bb4319fd1.zip
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 <mjo@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/rw/metadata.xml4
-rw-r--r--sci-mathematics/rw/rw-0.8-r2.ebuild (renamed from sci-mathematics/rw/rw-0.8-r1.ebuild)19
2 files changed, 5 insertions, 18 deletions
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.
</longdescription>
- <use>
- <flag name="executable">Build the 'rw' program.</flag>
- </use>
-
<upstream>
<remote-id type="sourceforge">rankwidth</remote-id>
</upstream>
diff --git a/sci-mathematics/rw/rw-0.8-r1.ebuild b/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
}