commit: 7d9d78d4154c1aa111a5316b7c4fd13bb4319fd1
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 28 12:51:34 2020 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Feb 28 12:53:33 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d9d78d4
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 <AT> gentoo.org>
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(-)
diff --git a/sci-mathematics/rw/metadata.xml b/sci-mathematics/rw/metadata.xml
index 76588843b8f..4a95d1f4b12 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
similarity index 69%
rename from sci-mathematics/rw/rw-0.8-r1.ebuild
rename to sci-mathematics/rw/rw-0.8-r2.ebuild
index 4ccfc56281e..cd1ab5d589b 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
}