diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-03-06 19:34:53 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-03-06 22:18:00 +0100 |
commit | f14eaa5ac80c3a8a3d9995d3691873f188b51ce5 (patch) | |
tree | 6a94f2befcd8896ce97fbf12202a545483473728 /sys-libs/libapparmor | |
parent | sys-devel/clang-common: Fix TrailingEmptyLine (diff) | |
download | gentoo-f14eaa5ac80c3a8a3d9995d3691873f188b51ce5.tar.gz gentoo-f14eaa5ac80c3a8a3d9995d3691873f188b51ce5.tar.bz2 gentoo-f14eaa5ac80c3a8a3d9995d3691873f188b51ce5.zip |
sys-libs/libapparmor: Use DISTUTILS_DEPS
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs/libapparmor')
-rw-r--r-- | sys-libs/libapparmor/libapparmor-3.1.4-r1.ebuild | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/sys-libs/libapparmor/libapparmor-3.1.4-r1.ebuild b/sys-libs/libapparmor/libapparmor-3.1.4-r1.ebuild index 62ed55ee2a7b..0b01f9a89d00 100644 --- a/sys-libs/libapparmor/libapparmor-3.1.4-r1.ebuild +++ b/sys-libs/libapparmor/libapparmor-3.1.4-r1.ebuild @@ -16,16 +16,22 @@ MY_PV="$(ver_cut 1-2)" DESCRIPTION="Library to support AppArmor userspace utilities" HOMEPAGE="https://gitlab.com/apparmor/apparmor/wikis/home" SRC_URI="https://launchpad.net/apparmor/${MY_PV}/${PV}/+download/apparmor-${PV}.tar.gz" +S=${WORKDIR}/apparmor-${PV}/libraries/${PN} LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" IUSE="doc +perl +python static-libs" - REQUIRED_USE="${PYTHON_REQUIRED_USE}" +# depends on the package already being installed +RESTRICT="test" -RDEPEND="perl? ( dev-lang/perl:= ) - python? ( ${PYTHON_DEPS} )" +RDEPEND=" + perl? ( dev-lang/perl:= ) + python? ( + ${PYTHON_DEPS} + ) +" DEPEND="${RDEPEND}" BDEPEND=" dev-build/autoconf-archive @@ -34,14 +40,11 @@ BDEPEND=" doc? ( dev-lang/perl ) perl? ( dev-lang/swig ) python? ( + ${PYTHON_DEPS} + ${DISTUTILS_DEPS} dev-lang/swig - dev-python/setuptools[${PYTHON_USEDEP}] - )" - -S=${WORKDIR}/apparmor-${PV}/libraries/${PN} - -# depends on the package already being installed -RESTRICT="test" + ) +" src_prepare() { default |