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: Fri, 03 Jun 2016 13:23:11
Message-Id: 1464959808.3ce952baca9125fa4286ae17519a974fd82ac8fc.mjo@gentoo
1 commit: 3ce952baca9125fa4286ae17519a974fd82ac8fc
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 3 02:16:05 2016 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 3 13:16:48 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ce952ba
7
8 sci-mathematics/rw: new revision with EAPI=6 and ~x86 keywords.
9
10 The main goal of the new revision is to add ~x86 keywords. In the
11 process, the ebuild was updated to EAPI=6. That basically amounts
12 to replacing the autotools-utils eclass stuff.
13
14 Gentoo-Bug: 573728
15
16 Package-Manager: portage-2.2.28
17
18 .../rw/{rw-0.7.ebuild => rw-0.7-r1.ebuild} | 21 ++++++---------------
19 1 file changed, 6 insertions(+), 15 deletions(-)
20
21 diff --git a/sci-mathematics/rw/rw-0.7.ebuild b/sci-mathematics/rw/rw-0.7-r1.ebuild
22 similarity index 64%
23 rename from sci-mathematics/rw/rw-0.7.ebuild
24 rename to sci-mathematics/rw/rw-0.7-r1.ebuild
25 index e623511..ba4627f 100644
26 --- a/sci-mathematics/rw/rw-0.7.ebuild
27 +++ b/sci-mathematics/rw/rw-0.7-r1.ebuild
28 @@ -1,10 +1,8 @@
29 -# Copyright 1999-2015 Gentoo Foundation
30 +# Copyright 1999-2016 Gentoo Foundation
31 # Distributed under the terms of the GNU General Public License v2
32 # $Id$
33
34 -EAPI=5
35 -
36 -inherit autotools-utils
37 +EAPI=6
38
39 DESCRIPTION="Compute rank-width decompositions of graphs"
40 AUTHORPAGE="http://pholia.tdi.informatik.uni-frankfurt.de/~philipp/"
41 @@ -13,23 +11,16 @@ SRC_URI="${AUTHORPAGE}/software/${P}.tar.gz"
42
43 LICENSE="GPL-2+"
44 SLOT="0"
45 -KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-macos"
46 -IUSE="+executable static-libs"
47 +KEYWORDS="~amd64 ~amd64-linux ~x86 ~x86-linux ~ppc-macos ~x86-macos ~x64-macos"
48 +IUSE="+executable"
49
50 DEPEND="executable? ( >=dev-libs/igraph-0.6 )"
51 RDEPEND="${DEPEND}"
52
53 DOCDIR="/usr/share/doc/${PF}"
54
55 -AUTOTOOLS_IN_SOURCE_BUILD=1
56 -
57 src_configure(){
58 - local myeconfargs=(
59 - $(use_enable executable)
60 - --docdir="${EPREFIX}${DOCDIR}"
61 - )
62 -
63 - autotools-utils_src_configure
64 + econf $(use_enable executable) --docdir="${EPREFIX}${DOCDIR}"
65 }
66
67 src_install(){
68 @@ -37,5 +28,5 @@ src_install(){
69 # program. The rest of the docs are small so just leave everything
70 # uncompressed.
71 docompress -x "${DOCDIR}"
72 - autotools-utils_src_install
73 + default
74 }