commit:     cd9b806eb27c02f4a7ea68d3bc0dc10a5158997d
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 10 12:51:15 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Feb 10 12:51:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd9b806e

dev-libs/igraph: add 0.10.4

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

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

diff --git a/dev-libs/igraph/Manifest b/dev-libs/igraph/Manifest
index a540f679a9a4..8114c91c688e 100644
--- a/dev-libs/igraph/Manifest
+++ b/dev-libs/igraph/Manifest
@@ -1 +1,2 @@
+DIST igraph-0.10.4.tar.gz 4279321 BLAKE2B 
4e1fc8e8d6dd38cdb24ec564f51f2924e457376c258497b51d7dd4cec88d2226d5b202cdcfa69560e43fdb3cbd49656511178acd2ed705b4af26b1947a92f1ab
 SHA512 
71bcec5f0ba100aae7614753f9232a4221580b822b4dc120e3a80eab59d70c42aedddb00728eb13faf7e522332c514c2e030314c416ded8a70e5de990ea8039b
 DIST igraph-0.9.4.tar.gz 3823988 BLAKE2B 
c62f15fd227a83da8a78c2bf569874e290c0f8ffd8c69353de1ff2fbd5dff290eceff2462495efc86f44303f3d9d0d397eba720a743da6c118dacb9eeff1b2b8
 SHA512 
1188d69b95f581d7dac5874dcdb2d1b1a322e39b275c6f092c199ed6214def814062bd46d573bdaa4bc8f4514d6840c6e93dedbe0f6c99a15de33cbc39356573

diff --git a/dev-libs/igraph/igraph-0.10.4.ebuild 
b/dev-libs/igraph/igraph-0.10.4.ebuild
new file mode 100644
index 000000000000..b876fef1ba70
--- /dev/null
+++ b/dev-libs/igraph/igraph-0.10.4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 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:=
+       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
+               # Not packaged in ::gentoo atm
+               -DIGRAPH_USE_INTERNAL_PLFIT=ON
+               -DIGRAPH_ENABLE_TLS=$(usex threads)
+               -DBUILD_TESTING=$(usex test)
+       )
+       cmake_src_configure
+}
+
+src_test() {
+       cmake_build check
+}

Reply via email to