summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-07-19 23:21:15 +0100
committerSam James <sam@gentoo.org>2021-07-19 23:21:30 +0100
commit18e6b1479645a86c2ca2f273bf949ac32cfe52c5 (patch)
treef353a2ef41f4456ab8bb6a4d6d60362e59e22418 /sys-apps/selinux-python
parentsys-apps/selinux-python: Fixed tests, thanks to Arie Artrip. (diff)
downloadgentoo-18e6b1479645a86c2ca2f273bf949ac32cfe52c5.tar.gz
gentoo-18e6b1479645a86c2ca2f273bf949ac32cfe52c5.tar.bz2
gentoo-18e6b1479645a86c2ca2f273bf949ac32cfe52c5.zip
sys-apps/selinux-python: only add test dependency to BDEPEND
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/selinux-python')
-rw-r--r--sys-apps/selinux-python/selinux-python-3.2.ebuild11
-rw-r--r--sys-apps/selinux-python/selinux-python-9999.ebuild21
2 files changed, 19 insertions, 13 deletions
diff --git a/sys-apps/selinux-python/selinux-python-3.2.ebuild b/sys-apps/selinux-python/selinux-python-3.2.ebuild
index bd9f2e663d86..d0d1993c20a3 100644
--- a/sys-apps/selinux-python/selinux-python-3.2.ebuild
+++ b/sys-apps/selinux-python/selinux-python-3.2.ebuild
@@ -26,15 +26,18 @@ fi
LICENSE="GPL-2"
SLOT="0"
-DEPEND=">=sys-libs/libselinux-${PV}:=[python]
+RDEPEND=">=sys-libs/libselinux-${PV}:=[python]
>=sys-libs/libsemanage-${PV}:=[python(+)]
>=sys-libs/libsepol-${PV}:=
>=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
>=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}]
- test? ( >=sys-apps/secilc-${PV} )
${PYTHON_DEPS}"
-
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ test? (
+ ${RDEPEND}
+ >=sys-apps/secilc-${PV}
+ )"
src_prepare() {
default
diff --git a/sys-apps/selinux-python/selinux-python-9999.ebuild b/sys-apps/selinux-python/selinux-python-9999.ebuild
index 52abfe449463..6f850951ec75 100644
--- a/sys-apps/selinux-python/selinux-python-9999.ebuild
+++ b/sys-apps/selinux-python/selinux-python-9999.ebuild
@@ -26,15 +26,18 @@ fi
LICENSE="GPL-2"
SLOT="0"
-DEPEND=">=sys-libs/libselinux-${PV}:=[python]
- >=sys-libs/libsemanage-${PV}:=[python(+)]
- >=sys-libs/libsepol-${PV}:=
- >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
- >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}]
- test? ( >=sys-apps/secilc-${PV} )
- ${PYTHON_DEPS}"
-
-RDEPEND="${DEPEND}"
+RDEPEND=">=sys-libs/libselinux-${PV}:=[python]
+ >=sys-libs/libsemanage-${PV}:=[python(+)]
+ >=sys-libs/libsepol-${PV}:=
+ >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
+ >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}]
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ test? (
+ ${RDEPEND}
+ >=sys-apps/secilc-${PV}
+ )"
src_prepare() {
default