summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-07-04 16:03:59 +0200
committerDavid Seifert <soap@gentoo.org>2021-07-04 16:03:59 +0200
commitbbd22a984d692bd50e9070a12379b3e6ab0c9922 (patch)
treeb1afc386975144c53bf4ba37956710b302daefa1 /dev-python
parentdev-python/graph-tool: bump to 2.41 (diff)
downloadgentoo-bbd22a984d692bd50e9070a12379b3e6ab0c9922.tar.gz
gentoo-bbd22a984d692bd50e9070a12379b3e6ab0c9922.tar.bz2
gentoo-bbd22a984d692bd50e9070a12379b3e6ab0c9922.zip
dev-python/graph-tool: sync live ebuild
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/graph-tool/graph-tool-9999.ebuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/dev-python/graph-tool/graph-tool-9999.ebuild b/dev-python/graph-tool/graph-tool-9999.ebuild
index 7f89339ef83d..cf2e5589ad5e 100644
--- a/dev-python/graph-tool/graph-tool-9999.ebuild
+++ b/dev-python/graph-tool/graph-tool-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit check-reqs python-r1 toolchain-funcs
@@ -26,15 +26,15 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
>=dev-libs/boost-1.70:=[context,python,${PYTHON_USEDEP}]
- dev-libs/expat:=
+ dev-libs/expat
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
sci-mathematics/cgal:=
+ dev-python/matplotlib[${PYTHON_USEDEP}]
cairo? (
dev-cpp/cairomm:0
dev-python/pycairo[${PYTHON_USEDEP}]
- )
- dev-python/matplotlib[${PYTHON_USEDEP}]"
+ )"
DEPEND="${RDEPEND}
dev-cpp/sparsehash"
BDEPEND="virtual/pkgconfig"
@@ -58,27 +58,27 @@ src_prepare() {
}
src_configure() {
- configure() {
+ my_configure() {
econf \
--disable-static \
$(use_enable openmp) \
$(use_enable cairo) \
--with-boost-python="boost_${EPYTHON/./}"
}
- python_foreach_impl run_in_build_dir configure
+ python_foreach_impl run_in_build_dir my_configure
}
src_compile() {
# most machines don't have enough ram for parallel builds
- python_foreach_impl run_in_build_dir default
+ python_foreach_impl run_in_build_dir emake -j2
}
src_install() {
- python_install() {
+ my_python_install() {
default
python_optimize
}
- python_foreach_impl run_in_build_dir python_install
+ python_foreach_impl run_in_build_dir my_python_install
find "${ED}" -name '*.la' -delete || die
}