From 8f71cf8a063265f5e35d00bb0a026dd581c49c6a Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 22 Jun 2015 10:07:19 -0400 Subject: [PATCH] sci-mathematics/rw: commit kiwifb's changes from sage-on-gentoo. --- sci-mathematics/rw/Manifest | 4 ++-- sci-mathematics/rw/metadata.xml | 16 ++++++++++++++++ sci-mathematics/rw/rw-0.7.ebuild | 18 +++++++++++++----- 3 files changed, 31 insertions(+), 7 deletions(-) diff --git a/sci-mathematics/rw/Manifest b/sci-mathematics/rw/Manifest index da3e5ad..0bbe53b 100644 --- a/sci-mathematics/rw/Manifest +++ b/sci-mathematics/rw/Manifest @@ -1,3 +1,3 @@ DIST rw-0.7.tar.gz 322255 SHA256 e049966e5c4f446b639d4b0c40d3ceddd57a79a8890c10dce90614d105d962e7 SHA512 2bccbaf1a7432b845e9bf14d79e350275d1ca417cb368e870b6cb1a310a92cce67c9e4ce3c550da2900a8e08c3771cc534d593f67267eee17d25c756d8c36e3b WHIRLPOOL 27d274a528a7f074b8ca1b38872220fe4e49488199fa496fab5330fd1866b504851250cfba2539a86c63104bbdee7be29a677aa6a21a7bf899cb546204e9138c -EBUILD rw-0.7.ebuild 807 SHA256 2014f41b6936735fcaefd6f114ad7c80030036dcec589c79f09b44a23086d720 SHA512 deca63214d0784aa874037b1ee113308bd9ac4f47d69608b03c75002d283ebe3b7fce472386460a2f0041a7fb21cb7d15df8589312cb87454a28993f76e28f54 WHIRLPOOL 10168aedda7f206a6c653f5a72f153aae80596365df1ec823ec72b03bfd4bb73f6f18c377855f7a0569babe8cb94b23ca85f5334e21c42244b9c67fa7b658768 -MISC metadata.xml 333 SHA256 965ad34067794f49c44d0c479e2f40e163fa18e471233308a7139a2a02423743 SHA512 c25b577595b2cc15e4b5f451d6a93c6f75405268a59651e7166999d67864c849994feea388539876ee505267a4bc2dcc494392b1035ad03db47bb8343bb67a2c WHIRLPOOL fb8e246ee16e318ca43b0ceb88dd9cb67ef226d9dac52a2026c55021b7ec05ae8d203ad318dd0ead85dee8b5c57e534e509215fbb49f4f1022a3e0a800ec047c +EBUILD rw-0.7.ebuild 997 SHA256 bf73cfcd9c28f87bfcf61c0d19e5a776d998216a96b66789c4eee7bada4934af SHA512 9fe88added9cebe2ef18034e59767170c2a629d86cfb0e2bae04b9434e149916aaeeb2db682da5a2b1d45efdfcdce4f5873a6e26b5652d1fae1d1c108635deff WHIRLPOOL 5439cbf1510788c48f44df9eee98db75b462d679681b17688f2df3d8ea3ef2e99d737f8af538ab3fde377e08684fd95c9534b5e1bbe535a4bb874ee9e2148012 +MISC metadata.xml 913 SHA256 8380726986a6aac031b72502ae37fbd12fc7d0b6bc545dbfd4e1c2ab5071a2cc SHA512 61e53de1d483d3421ec37f4cc29a5d827d98c67f952dfbffe3013ff625a6e0aa911ae7beff39a6c76defe61a2e5002c4196ce0778ff9116f8cf26d4779696ca2 WHIRLPOOL 9ac6403ed65562c8059ef428d5a4c88305223a717826bc81198d690844d32d6a442d652d5d7660609058c5da9ca00291f7cc3caf9c41fad6c5aafad3f14a33c1 diff --git a/sci-mathematics/rw/metadata.xml b/sci-mathematics/rw/metadata.xml index f6b80d8..29dcd6c 100644 --- a/sci-mathematics/rw/metadata.xml +++ b/sci-mathematics/rw/metadata.xml @@ -1,11 +1,27 @@ + proxy-maintainers sci + mjo@gentoo.org Michael Orlitzky + + + francois.bissey@canterbury.ac.nz + François Bissey + + + + rw is a program that calculates rank-width and rank-decompositions. + It is based on ideas from "Computing rank-width exactly" by Sang-il Oum, + "Sopra una formula numerica" by Ernesto Pascal, "Generation of a Vector + from the Lexicographical Index" by B.P. Buckles and M. Lybanon and "Fast + additions on masked integers" by Michael D. Adams and David S. Wise. + + Build the 'rw' program. diff --git a/sci-mathematics/rw/rw-0.7.ebuild b/sci-mathematics/rw/rw-0.7.ebuild index 37d615e..59cf2d6 100644 --- a/sci-mathematics/rw/rw-0.7.ebuild +++ b/sci-mathematics/rw/rw-0.7.ebuild @@ -4,6 +4,8 @@ EAPI=5 +inherit autotools-utils + DESCRIPTION="Compute rank-width decompositions of graphs" AUTHORPAGE="http://pholia.tdi.informatik.uni-frankfurt.de/~philipp/" HOMEPAGE="${AUTHORPAGE}software/${PN}.shtml" @@ -11,17 +13,23 @@ SRC_URI="${AUTHORPAGE}/software/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64" -IUSE="+executable" +KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-macos" +IUSE="+executable static-libs" DEPEND="executable? ( >=dev-libs/igraph-0.6 )" RDEPEND="${DEPEND}" DOCDIR="/usr/share/doc/${PF}" +AUTOTOOLS_IN_SOURCE_BUILD=1 + src_configure(){ - econf $(use_enable executable) \ - --docdir="${EPREFIX}${DOCDIR}" + local myeconfargs=( + $(use_enable executable) + --docdir="${EPREFIX}${DOCDIR}" + ) + + autotools-utils_src_configure } src_install(){ @@ -29,5 +37,5 @@ src_install(){ # program. The rest of the docs are small so just leave everything # uncompressed. docompress -x "${DOCDIR}" - default + autotools-utils_src_install } -- 2.43.2