Skip to content

Commit

Permalink
sys-libs/libseccomp: keep native tools only in BDEPEND, sync live
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/790533
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: David Michael <[email protected]>
Signed-off-by: Mike Gilbert <[email protected]>
  • Loading branch information
dm0- authored and floppym committed May 16, 2021
1 parent 3908db1 commit ea22eac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
12 changes: 4 additions & 8 deletions sys-libs/libseccomp/libseccomp-2.5.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,12 @@ REQUIRED_USE="
${PYTHON_REQUIRED_USE}
)"

BDEPEND="
DEPEND="python? ( ${PYTHON_DEPS} )"
RDEPEND="${DEPEND}"
BDEPEND="${DEPEND}
dev-util/gperf
python? (
${PYTHON_DEPS}
dev-python/cython[${PYTHON_USEDEP}]
)
python? ( dev-python/cython[${PYTHON_USEDEP}] )
"
DEPEND="${BDEPEND}"
RDEPEND="${DEPEND}"

# We need newer kernel headers; we don't keep strict control of the exact
# version here, just be safe and pull in the latest stable ones. #551248
DEPEND="${DEPEND} >=sys-kernel/linux-headers-4.3"
Expand Down
11 changes: 5 additions & 6 deletions sys-libs/libseccomp/libseccomp-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand Down Expand Up @@ -30,13 +30,12 @@ REQUIRED_USE="
${PYTHON_REQUIRED_USE}
)"

BDEPEND="
DEPEND="python? ( ${PYTHON_DEPS} )"
RDEPEND="${DEPEND}"
BDEPEND="${DEPEND}
dev-util/gperf
python? ( ${PYTHON_DEPS} )
python? ( dev-python/cython[${PYTHON_USEDEP}] )
"
DEPEND="${BDEPEND}"
RDEPEND="${DEPEND}"

# We need newer kernel headers; we don't keep strict control of the exact
# version here, just be safe and pull in the latest stable ones. #551248
DEPEND="${DEPEND} >=sys-kernel/linux-headers-4.3"
Expand Down

0 comments on commit ea22eac

Please sign in to comment.