commit:     65a8caada278ace834cf6d6e36e3b5b2ada0c858
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 19 06:30:17 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 06:30:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65a8caad

app-admin/setools: make networkx dep optional

Closes: https://bugs.gentoo.org/809038
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-admin/setools/{setools-4.4.0.ebuild => setools-4.4.0-r1.ebuild} | 4 ++--
 app-admin/setools/setools-9999.ebuild                               | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-admin/setools/setools-4.4.0.ebuild 
b/app-admin/setools/setools-4.4.0-r1.ebuild
similarity index 93%
rename from app-admin/setools/setools-4.4.0.ebuild
rename to app-admin/setools/setools-4.4.0-r1.ebuild
index fccf62f2369..5ae05f843c9 100644
--- a/app-admin/setools/setools-4.4.0.ebuild
+++ b/app-admin/setools/setools-4.4.0-r1.ebuild
@@ -20,15 +20,15 @@ fi
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
-IUSE="X test"
+IUSE="test infoflow X"
 RESTRICT="!test? ( test )"
 S="${WORKDIR}/${PN}"
 
 RDEPEND="${PYTHON_DEPS}
-       >=dev-python/networkx-2.0[${PYTHON_USEDEP}]
        dev-python/setuptools
        >=sys-libs/libsepol-2.8:=
        >=sys-libs/libselinux-2.8:=
+       infoflow? ( >=dev-python/networkx-2.0[${PYTHON_USEDEP}] )
        X? (
                dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
        )"

diff --git a/app-admin/setools/setools-9999.ebuild 
b/app-admin/setools/setools-9999.ebuild
index 61a5b78a19c..affa52ecfc5 100644
--- a/app-admin/setools/setools-9999.ebuild
+++ b/app-admin/setools/setools-9999.ebuild
@@ -20,15 +20,15 @@ fi
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
-IUSE="X test"
+IUSE="test infoflow X"
 RESTRICT="!test? ( test )"
 S="${WORKDIR}/${PN}"
 
 RDEPEND="${PYTHON_DEPS}
-       >=dev-python/networkx-2.0[${PYTHON_USEDEP}]
        dev-python/setuptools
        >=sys-libs/libsepol-2.8:=
        >=sys-libs/libselinux-2.8:=
+       infoflow? ( >=dev-python/networkx-2.0[${PYTHON_USEDEP}] )
        X? (
                dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
        )"

Reply via email to