Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/igraph/
Date: Fri, 03 Jun 2016 13:23:10
Message-Id: 1464959786.e46b357454a3ad89773f243b512757587f130cb6.mjo@gentoo
1 commit: e46b357454a3ad89773f243b512757587f130cb6
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 3 02:09:03 2016 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 3 13:16:26 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e46b3574
7
8 dev-libs/igraph: new revision with EAPI=6 and ~x86 keywords.
9
10 The main reason for this revision is to add the ~x86 keywords, which
11 are blocking bug 573728. In the process, the EAPI was updated and some
12 necessary refactoring done. The HOMEPAGE/SRC_URI was also updated.
13
14 Gentoo-Bug: 573730
15
16 Package-Manager: portage-2.2.28
17
18 dev-libs/igraph/igraph-0.7.1-r1.ebuild | 52 ----------------------------------
19 dev-libs/igraph/igraph-0.7.1-r2.ebuild | 47 ++++++++++++++++++++++++++++++
20 2 files changed, 47 insertions(+), 52 deletions(-)
21
22 diff --git a/dev-libs/igraph/igraph-0.7.1-r1.ebuild b/dev-libs/igraph/igraph-0.7.1-r1.ebuild
23 deleted file mode 100644
24 index d89f8e9..0000000
25 --- a/dev-libs/igraph/igraph-0.7.1-r1.ebuild
26 +++ /dev/null
27 @@ -1,52 +0,0 @@
28 -# Copyright 1999-2014 Gentoo Foundation
29 -# Distributed under the terms of the GNU General Public License v2
30 -# $Id$
31 -
32 -EAPI=5
33 -
34 -AUTOTOOLS_AUTORECONF=true
35 -
36 -inherit autotools-utils toolchain-funcs
37 -
38 -DESCRIPTION="Creating and manipulating undirected and directed graphs"
39 -HOMEPAGE="http://igraph.sourceforge.net/index.html"
40 -SRC_URI="mirror://sourceforge/project/${PN}/C%20library/${PV}/${P}.tar.gz"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="0/0"
44 -KEYWORDS="~amd64"
45 -IUSE="debug gmp static-libs"
46 -
47 -RDEPEND="
48 - dev-libs/libxml2
49 - >=sci-libs/arpack-3
50 - virtual/blas
51 - virtual/lapack
52 - >=sci-libs/cxsparse-3
53 - sci-mathematics/glpk
54 - gmp? ( dev-libs/gmp )"
55 -DEPEND="${RDEPEND}
56 - virtual/pkgconfig"
57 -
58 -PATCHES=( "${FILESDIR}"/${P}-unbundle.patch )
59 -
60 -src_prepare() {
61 -# rm -rf src/{cs,f2c,lapack,f2c.h} optional/glpk || die
62 -# rm -rf src/cs optional/glpk || die
63 - autotools-utils_src_prepare
64 -}
65 -
66 -src_configure() {
67 - tc-export PKG_CONFIG
68 - local myeconfargs=(
69 - $(use_enable gmp)
70 - $(use_enable debug)
71 - --disable-tls
72 - --with-external-arpack
73 - --with-external-blas
74 - --with-external-lapack
75 - --with-external-f2c
76 - --with-external-glpk
77 - )
78 - autotools-utils_src_configure
79 -}
80
81 diff --git a/dev-libs/igraph/igraph-0.7.1-r2.ebuild b/dev-libs/igraph/igraph-0.7.1-r2.ebuild
82 new file mode 100644
83 index 0000000..3597da3
84 --- /dev/null
85 +++ b/dev-libs/igraph/igraph-0.7.1-r2.ebuild
86 @@ -0,0 +1,47 @@
87 +# Copyright 1999-2016 Gentoo Foundation
88 +# Distributed under the terms of the GNU General Public License v2
89 +# $Id$
90 +
91 +EAPI=6
92 +
93 +inherit autotools toolchain-funcs
94 +
95 +DESCRIPTION="Creating and manipulating undirected and directed graphs"
96 +HOMEPAGE="http://www.igraph.org/"
97 +SRC_URI="http://www.igraph.org/nightly/get/c/${P}.tar.gz"
98 +
99 +LICENSE="GPL-2"
100 +SLOT="0/0"
101 +KEYWORDS="~amd64 ~x86"
102 +IUSE="debug gmp"
103 +
104 +RDEPEND="
105 + dev-libs/libxml2
106 + >=sci-libs/arpack-3
107 + virtual/blas
108 + virtual/lapack
109 + >=sci-libs/cxsparse-3
110 + sci-mathematics/glpk
111 + gmp? ( dev-libs/gmp:0 )"
112 +DEPEND="${RDEPEND}
113 + virtual/pkgconfig"
114 +
115 +PATCHES=( "${FILESDIR}"/${P}-unbundle.patch )
116 +
117 +src_prepare() {
118 + default
119 + eautoreconf
120 +}
121 +
122 +src_configure() {
123 + tc-export PKG_CONFIG
124 + econf \
125 + $(use_enable gmp) \
126 + $(use_enable debug) \
127 + --disable-tls \
128 + --with-external-arpack \
129 + --with-external-blas \
130 + --with-external-lapack \
131 + --with-external-f2c \
132 + --with-external-glpk
133 +}