mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
dev-libs/igraph: new revision to unbundle plfit.
Bug: https://bugs.gentoo.org/761924 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
48
dev-libs/igraph/igraph-0.10.4-r1.ebuild
Normal file
48
dev-libs/igraph/igraph-0.10.4-r1.ebuild
Normal file
@@ -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:=
|
||||
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)
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake_build check
|
||||
}
|
||||
Reference in New Issue
Block a user