diff options
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild | 16 | ||||
-rw-r--r-- | sys-libs/libseccomp/libseccomp-9999.ebuild | 16 |
2 files changed, 22 insertions, 10 deletions
diff --git a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild index d935008bb87f..db6a08dfb2a6 100644 --- a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild +++ b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild @@ -27,17 +27,23 @@ LICENSE="LGPL-2.1" SLOT="0" IUSE="experimental-loong python static-libs test" RESTRICT="!test? ( test )" - REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" # 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. bug #551248 -DEPEND=">=sys-kernel/linux-headers-5.15 - python? ( ${PYTHON_DEPS} )" +DEPEND=" + >=sys-kernel/linux-headers-5.15 + python? ( ${PYTHON_DEPS} ) +" RDEPEND="${DEPEND}" -BDEPEND="${DEPEND} +BDEPEND=" + ${DEPEND} dev-util/gperf - python? ( dev-python/cython[${PYTHON_USEDEP}] )" + python? ( + ${DISTUTILS_DEPS} + dev-python/cython[${PYTHON_USEDEP}] + ) +" PATCHES=( "${FILESDIR}"/libseccomp-python-shared.patch diff --git a/sys-libs/libseccomp/libseccomp-9999.ebuild b/sys-libs/libseccomp/libseccomp-9999.ebuild index 1969eef9f5ea..45cf592639a0 100644 --- a/sys-libs/libseccomp/libseccomp-9999.ebuild +++ b/sys-libs/libseccomp/libseccomp-9999.ebuild @@ -26,17 +26,23 @@ LICENSE="LGPL-2.1" SLOT="0" IUSE="python static-libs test" RESTRICT="!test? ( test )" - REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" # 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. bug #551248 -DEPEND=">=sys-kernel/linux-headers-5.15 - python? ( ${PYTHON_DEPS} )" +DEPEND=" + >=sys-kernel/linux-headers-5.15 + python? ( ${PYTHON_DEPS} ) +" RDEPEND="${DEPEND}" -BDEPEND="${DEPEND} +BDEPEND=" + ${DEPEND} dev-util/gperf - python? ( dev-python/cython[${PYTHON_USEDEP}] )" + python? ( + ${DISTUTILS_DEPS} + dev-python/cython[${PYTHON_USEDEP}] + ) +" PATCHES=( "${FILESDIR}"/libseccomp-2.6.0-python-shared.patch |