commit:     fe011857937b36e446029d257760c50d1141778e
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 18 17:19:08 2025 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Apr 18 17:19:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe011857

dev-libs/igraph: add 0.10.15

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-libs/igraph/Manifest              |  1 +
 dev-libs/igraph/igraph-0.10.15.ebuild | 49 +++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-libs/igraph/Manifest b/dev-libs/igraph/Manifest
index aa681c39ebf0..c9ce810d2503 100644
--- a/dev-libs/igraph/Manifest
+++ b/dev-libs/igraph/Manifest
@@ -1,2 +1,3 @@
 DIST igraph-0.10.11.tar.gz 4349830 BLAKE2B 
3aae088115148d1f965a52f01c950000097520fb0a150d2ad1fabb96cff434a9b548a6c17a10b9e0ebad3a577c2423ac5260cd28223147d3dc71b0d4fe139a95
 SHA512 
d6978589f12ed20b87777394b46f47b4ffc045ef693e5b4fc90163b9482361b2bf0ed2bb04aa99bf4a0653f7e4355cd480b0a165213d90ff7188ef6c86147c86
 DIST igraph-0.10.12.tar.gz 4373463 BLAKE2B 
b7fdd7046185bf501c9302721f6606e6affc0d91c16d195c6bd69e0b32f9dca7af701a963fd4a8b8558ac843fe4a5136c7fce2fe5595db469818e514db2325ac
 SHA512 
1a7b055ab2148fdf04187d785895b930ae2a54ae0240ea9656e129a38347b1caeb28dda5a3a7e34282462363150d7afd25acf8cd335577ed441b8a5cecc0dd25
+DIST igraph-0.10.15.tar.gz 4439424 BLAKE2B 
183ab0d1c2fbbb0867fbb3df92307242aebbe435283a07ca21fd688446238590bae0f2584e5b7eba550f3864d1746c42fc8d7c2196ded9ec226e8d625d1c9097
 SHA512 
bf9f0f2f62618cf037bdbbf2e126d27ec4e45edfb65efcf26df3fc1fb71a3e1f05a8b9a62f972650d96daa1e7bd3f2a084fe39bbca42e808cc737165514276e0

diff --git a/dev-libs/igraph/igraph-0.10.15.ebuild 
b/dev-libs/igraph/igraph-0.10.15.ebuild
new file mode 100644
index 000000000000..7a2ba80dfc9e
--- /dev/null
+++ b/dev-libs/igraph/igraph-0.10.15.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Creating and manipulating undirected and directed graphs"
+HOMEPAGE="https://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-mathematics/glpk:=
+       sci-mathematics/plfit
+       virtual/blas
+       virtual/lapack"
+DEPEND="${RDEPEND}"
+
+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_GLPK=OFF
+               -DIGRAPH_USE_INTERNAL_GMP=OFF
+               -DIGRAPH_USE_INTERNAL_LAPACK=OFF
+               -DIGRAPH_USE_INTERNAL_PLFIT=OFF
+               -DIGRAPH_ENABLE_TLS=$(usex threads)
+               -DIGRAPH_WARNINGS_AS_ERRORS=OFF
+               -DBUILD_TESTING=$(usex test)
+       )
+       cmake_src_configure
+}
+
+src_test() {
+       cmake_build check
+}

Reply via email to