| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
PYTHON_COMPAT=( python3_{12,13} )
inherit distutils-r1 git-r3 optfeature
DESCRIPTION="Python interface for igraph"
HOMEPAGE="https://github.com/igraph/python-igraph"
EGIT_REPO_URI="https://github.com/igraph/python-igraph.git"
LICENSE="MIT"
SLOT="0"
RDEPEND=">=dev-libs/igraph-0.10.15:0=
dev-python/texttable[${PYTHON_USEDEP}]"
BDEPEND="test? ( dev-python/cairocffi[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/networkx[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/plotly[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}] )"
EPYTEST_PLUGINS=( pytest-timeout )
distutils_enable_tests pytest
export IGRAPH_USE_PKG_CONFIG=1
pkg_postinst() {
optfeature "plotting with Cairo" dev-python/cairocffi
optfeature "plotting with Matplotlib" dev-python/matplotlib
optfeature "plotting with Plotly" dev-python/plotly
}
>=dev-libs/igraph-0.10.15:0=
dev-python/texttable[${PYTHON_USEDEP}]
test? ( dev-python/cairocffi[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/networkx[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/plotly[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}] )