From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 35FA7158041 for ; Wed, 6 Mar 2024 21:18:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C093E2A21; Wed, 6 Mar 2024 21:18:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 248E7E2A21 for ; Wed, 6 Mar 2024 21:18:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 69D03343026 for ; Wed, 6 Mar 2024 21:18:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9835C14FB for ; Wed, 6 Mar 2024 21:18:47 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1709759880.f14eaa5ac80c3a8a3d9995d3691873f188b51ce5.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libapparmor/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libapparmor/libapparmor-3.1.4-r1.ebuild X-VCS-Directories: sys-libs/libapparmor/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f14eaa5ac80c3a8a3d9995d3691873f188b51ce5 X-VCS-Branch: master Date: Wed, 6 Mar 2024 21:18:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a4f393bc-cf74-44b4-8122-91efbc44b05b X-Archives-Hash: 268a24d923a27f735b17e5fdfbc3b25b commit: f14eaa5ac80c3a8a3d9995d3691873f188b51ce5 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 6 18:34:53 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Mar 6 21:18:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f14eaa5a sys-libs/libapparmor: Use DISTUTILS_DEPS Signed-off-by: Michał Górny gentoo.org> sys-libs/libapparmor/libapparmor-3.1.4-r1.ebuild | 23 +++++++++++++---------- 1 file 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