Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/igraph/
Date: Thu, 17 Jun 2021 17:49:41
Message-Id: 1623952163.ca40f30da5b003bb6ca24460109f2066fb8035be.soap@gentoo
1 commit: ca40f30da5b003bb6ca24460109f2066fb8035be
2 Author: Aisha Tammy <floss <AT> bsd <DOT> ac>
3 AuthorDate: Thu Jun 17 17:49:23 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 17 17:49:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca40f30d
7
8 dev-libs/igraph: version bump to 0.9.4
9
10 Closes: https://github.com/gentoo/gentoo/pull/21283
11 Package-Manager: Portage-3.0.20, Repoman-3.0.3
12 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 dev-libs/igraph/Manifest | 1 +
16 dev-libs/igraph/igraph-0.9.4.ebuild | 49 +++++++++++++++++++++++++++++++++++++
17 2 files changed, 50 insertions(+)
18
19 diff --git a/dev-libs/igraph/Manifest b/dev-libs/igraph/Manifest
20 index 08f741eef1b..2fd473bbb83 100644
21 --- a/dev-libs/igraph/Manifest
22 +++ b/dev-libs/igraph/Manifest
23 @@ -1,2 +1,3 @@
24 DIST igraph-0.8.5.tar.gz 3303252 BLAKE2B 9aa920e39a1ef76376eb9a88b6d24e2d051aa22807d4e9bbac49fd1708c59f821d2d4ec55dc96a89de84dfc3ca394e3de9f60704b7f3880a40128863b209d0d6 SHA512 eeb7a21b3a0551e47c178e568811a415e39afb2cc99be39905a15d667fa59564e83979111e1ea5d93636d5b0c7dcbed18728f03aa7ee4d83f96c45af52de8370
25 DIST igraph-0.9.2.tar.gz 3805091 BLAKE2B aa0e140a9dc8e1005f7f9265aef5880c071fab63c5914c8d93fc7adcbda84d7088678cdb6c277d40bc5998140c70d4a3b359517a4e3583153d1d7233ae8ba42d SHA512 8feb0c23c28e62f1e538fc41917e941f45421060b6240653ee03153b13551c454be019343a314b7913edb9c908518a131034c8e2098d9dd8e5c923fb84d195b3
26 +DIST igraph-0.9.4.tar.gz 3823988 BLAKE2B c62f15fd227a83da8a78c2bf569874e290c0f8ffd8c69353de1ff2fbd5dff290eceff2462495efc86f44303f3d9d0d397eba720a743da6c118dacb9eeff1b2b8 SHA512 1188d69b95f581d7dac5874dcdb2d1b1a322e39b275c6f092c199ed6214def814062bd46d573bdaa4bc8f4514d6840c6e93dedbe0f6c99a15de33cbc39356573
27
28 diff --git a/dev-libs/igraph/igraph-0.9.4.ebuild b/dev-libs/igraph/igraph-0.9.4.ebuild
29 new file mode 100644
30 index 00000000000..7d9cab59842
31 --- /dev/null
32 +++ b/dev-libs/igraph/igraph-0.9.4.ebuild
33 @@ -0,0 +1,49 @@
34 +# Copyright 1999-2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit cmake
40 +
41 +DESCRIPTION="Creating and manipulating undirected and directed graphs"
42 +HOMEPAGE="http://www.igraph.org/"
43 +SRC_URI="https://github.com/igraph/igraph/releases/download/${PV}/${P}.tar.gz"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0/0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="debug test threads"
49 +RESTRICT="!test? ( test )"
50 +
51 +RDEPEND="
52 + dev-libs/gmp:0=
53 + dev-libs/libxml2
54 + sci-libs/arpack
55 + sci-libs/cxsparse
56 + sci-mathematics/glpk:=
57 + virtual/blas
58 + virtual/lapack"
59 +DEPEND="${RDEPEND}"
60 +
61 +PATCHES=( "${FILESDIR}"/${PN}-0.9.2-disable-broken-tests.patch )
62 +
63 +src_configure() {
64 + local mycmakeargs=(
65 + -DUSE_CCACHE=OFF
66 + -DIGRAPH_GLPK_SUPPORT=ON
67 + -DIGRAPH_GRAPHML_SUPPORT=ON
68 + -DIGRAPH_USE_INTERNAL_ARPACK=OFF
69 + -DIGRAPH_USE_INTERNAL_BLAS=OFF
70 + -DIGRAPH_USE_INTERNAL_CXSPARSE=OFF
71 + -DIGRAPH_USE_INTERNAL_GLPK=OFF
72 + -DIGRAPH_USE_INTERNAL_GMP=OFF
73 + -DIGRAPH_USE_INTERNAL_LAPACK=OFF
74 + -DIGRAPH_ENABLE_TLS=$(usex threads)
75 + -DBUILD_TESTING=$(usex test)
76 + )
77 + cmake_src_configure
78 +}
79 +
80 +src_test() {
81 + cmake_build check
82 +}