commit:     bbd22a984d692bd50e9070a12379b3e6ab0c9922
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  4 14:03:59 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jul  4 14:03:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbd22a98

dev-python/graph-tool: sync live ebuild

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-python/graph-tool/graph-tool-9999.ebuild | 18 +++++++++---------
 1 file 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 7f89339ef83..cf2e5589ad5 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
 }

Reply via email to