summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-09-19 07:30:17 +0100
committerSam James <sam@gentoo.org>2021-09-19 07:30:30 +0100
commit65a8caada278ace834cf6d6e36e3b5b2ada0c858 (patch)
tree67bd72685a51e9a8a4424498f727990b7f3e8970 /app-admin/setools
parentsys-apps/selinux-python: don't import all of setools (diff)
downloadgentoo-65a8caada278ace834cf6d6e36e3b5b2ada0c858.tar.gz
gentoo-65a8caada278ace834cf6d6e36e3b5b2ada0c858.tar.bz2
gentoo-65a8caada278ace834cf6d6e36e3b5b2ada0c858.zip
app-admin/setools: make networkx dep optional
Closes: https://bugs.gentoo.org/809038 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/setools')
-rw-r--r--app-admin/setools/setools-4.4.0-r1.ebuild (renamed from app-admin/setools/setools-4.4.0.ebuild)4
-rw-r--r--app-admin/setools/setools-9999.ebuild4
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
index fccf62f23698..5ae05f843c9a 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 61a5b78a19c1..affa52ecfc52 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}]
)"