commit:     d58e270847a30da278f106020df529a8a8c56c48
Author:     Aisha Tammy <floss <AT> bsd <DOT> ac>
AuthorDate: Sat Apr 24 12:59:54 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Apr 24 12:59:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d58e2708

dev-libs/igraph: version bump to 0.9.2

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-libs/igraph/Manifest                           |  1 +
 .../files/igraph-0.9.2-disable-broken-tests.patch  | 15 +++++++
 dev-libs/igraph/igraph-0.9.2.ebuild                | 49 ++++++++++++++++++++++
 3 files changed, 65 insertions(+)

diff --git a/dev-libs/igraph/Manifest b/dev-libs/igraph/Manifest
index 91e5201f303..e0d5994aead 100644
--- a/dev-libs/igraph/Manifest
+++ b/dev-libs/igraph/Manifest
@@ -1,3 +1,4 @@
 DIST igraph-0.8.3.tar.gz 3636192 BLAKE2B 
1a6636a074182fc859d7c2982546668b221be8a71b9a8a60404764684b7488a41450cedb75f89558f1ffe6f6dbef298057b5294495f2e7992768f5fd4e40fbd9
 SHA512 
a25126fd5ee7cf823b6728d02d38c8d13c8561e9f6e10372faef15e98f4381c118f3dd9f308d003d7d18ca501e7055b838711a2a62e00afba32ca929c8d765f1
 DIST igraph-0.8.5.tar.gz 3303252 BLAKE2B 
9aa920e39a1ef76376eb9a88b6d24e2d051aa22807d4e9bbac49fd1708c59f821d2d4ec55dc96a89de84dfc3ca394e3de9f60704b7f3880a40128863b209d0d6
 SHA512 
eeb7a21b3a0551e47c178e568811a415e39afb2cc99be39905a15d667fa59564e83979111e1ea5d93636d5b0c7dcbed18728f03aa7ee4d83f96c45af52de8370
 DIST igraph-0.9.0.tar.gz 3752584 BLAKE2B 
ab8724de1fb57fda1250a9a3e1958609004731f72d38c225c23a94b7ad39af8af7a269bb9e9a2cae28b5d4038acbb0fb4f12bc90831340f59cdafa75f4b7c264
 SHA512 
ee6ddda3ebb9fb01029a3efbbab2329516d42ecb3030c57e7a78c8d7f28b76650fb4f3245e993cbef6161de6f6a1e0a4f5ba2533cbd8271df72554561b4f407f
+DIST igraph-0.9.2.tar.gz 3805091 BLAKE2B 
aa0e140a9dc8e1005f7f9265aef5880c071fab63c5914c8d93fc7adcbda84d7088678cdb6c277d40bc5998140c70d4a3b359517a4e3583153d1d7233ae8ba42d
 SHA512 
8feb0c23c28e62f1e538fc41917e941f45421060b6240653ee03153b13551c454be019343a314b7913edb9c908518a131034c8e2098d9dd8e5c923fb84d195b3

diff --git a/dev-libs/igraph/files/igraph-0.9.2-disable-broken-tests.patch 
b/dev-libs/igraph/files/igraph-0.9.2-disable-broken-tests.patch
new file mode 100644
index 00000000000..9bf9ed7bc76
--- /dev/null
+++ b/dev-libs/igraph/files/igraph-0.9.2-disable-broken-tests.patch
@@ -0,0 +1,15 @@
+upstream issue - https://github.com/igraph/igraph/issues/1694
+
+--- a/tests/CMakeLists.txt
++++ b/tests/CMakeLists.txt
+@@ -678,10 +678,8 @@ add_examples(
+   FOLDER examples/simple NAMES
+   igraph_scg_grouping
+   igraph_scg_grouping2
+-  igraph_scg_grouping3
+   igraph_scg_grouping4
+   igraph_scg_semiprojectors
+-  igraph_scg_semiprojectors2
+   igraph_scg_semiprojectors3
+   scg
+ )

diff --git a/dev-libs/igraph/igraph-0.9.2.ebuild 
b/dev-libs/igraph/igraph-0.9.2.ebuild
new file mode 100644
index 00000000000..7d9cab59842
--- /dev/null
+++ b/dev-libs/igraph/igraph-0.9.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Creating and manipulating undirected and directed graphs"
+HOMEPAGE="http://www.igraph.org/";
+SRC_URI="https://github.com/igraph/igraph/releases/download/${PV}/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0/0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug test threads"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       dev-libs/gmp:0=
+       dev-libs/libxml2
+       sci-libs/arpack
+       sci-libs/cxsparse
+       sci-mathematics/glpk:=
+       virtual/blas
+       virtual/lapack"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.9.2-disable-broken-tests.patch )
+
+src_configure() {
+       local mycmakeargs=(
+               -DUSE_CCACHE=OFF
+               -DIGRAPH_GLPK_SUPPORT=ON
+               -DIGRAPH_GRAPHML_SUPPORT=ON
+               -DIGRAPH_USE_INTERNAL_ARPACK=OFF
+               -DIGRAPH_USE_INTERNAL_BLAS=OFF
+               -DIGRAPH_USE_INTERNAL_CXSPARSE=OFF
+               -DIGRAPH_USE_INTERNAL_GLPK=OFF
+               -DIGRAPH_USE_INTERNAL_GMP=OFF
+               -DIGRAPH_USE_INTERNAL_LAPACK=OFF
+               -DIGRAPH_ENABLE_TLS=$(usex threads)
+               -DBUILD_TESTING=$(usex test)
+       )
+       cmake_src_configure
+}
+
+src_test() {
+       cmake_build check
+}

Reply via email to