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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 94CC313835A for ; Sun, 3 Jan 2021 08:21:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4CFFE0857; Sun, 3 Jan 2021 08:21:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B244AE0857 for ; Sun, 3 Jan 2021 08:21:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 83D81340FEC for ; Sun, 3 Jan 2021 08:21:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E55348C for ; Sun, 3 Jan 2021 08:21:00 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1609661991.66d85fcfc1333d05701e3938b0858cd22e36f2a7.perfinion@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild sys-apps/policycoreutils/policycoreutils-9999.ebuild X-VCS-Directories: sys-apps/policycoreutils/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 66d85fcfc1333d05701e3938b0858cd22e36f2a7 X-VCS-Branch: master Date: Sun, 3 Jan 2021 08:21:00 +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: 203b39d9-3d45-4efa-8f41-7fb743d415ee X-Archives-Hash: 82f30c838426d4ce01714848b5ef21f9 commit: 66d85fcfc1333d05701e3938b0858cd22e36f2a7 Author: David Michael gmail com> AuthorDate: Mon Dec 21 23:53:26 2020 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Jan 3 08:19:51 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66d85fcf sys-apps/policycoreutils: drop obsolete deps There are no references to ipy, libcap, libcgroup, inotify, or dbus in the code. This drops the unused dbus USE flag. Also add python3_9 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: David Michael gmail.com> Signed-off-by: Jason Zaman gentoo.org> ...ls-9999.ebuild => policycoreutils-3.1-r2.ebuild} | 19 ++++--------------- .../policycoreutils/policycoreutils-9999.ebuild | 21 +++++---------------- 2 files changed, 9 insertions(+), 31 deletions(-) diff --git a/sys-apps/policycoreutils/policycoreutils-9999.ebuild b/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild similarity index 93% copy from sys-apps/policycoreutils/policycoreutils-9999.ebuild copy to sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild index 8f15a3bee23..d93a1a53636 100644 --- a/sys-apps/policycoreutils/policycoreutils-9999.ebuild +++ b/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" -PYTHON_COMPAT=( python{3_6,3_7,3_8} ) +PYTHON_COMPAT=( python{3_6,3_7,3_8,3_9} ) PYTHON_REQ_USE="xml" inherit multilib python-r1 toolchain-funcs bash-completion-r1 @@ -15,7 +15,7 @@ SEMNG_VER="${PV}" SELNX_VER="${PV}" SEPOL_VER="${PV}" -IUSE="audit dbus pam split-usr" +IUSE="audit pam split-usr" REQUIRED_USE="${PYTHON_REQUIRED_USE}" DESCRIPTION="SELinux core utilities" @@ -41,16 +41,10 @@ LICENSE="GPL-2" SLOT="0" DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}] - >=sys-libs/libcap-1.10-r10:= >=sys-libs/libsemanage-${SEMNG_VER}:=[python(+),${PYTHON_USEDEP}] - sys-libs/libcap-ng:= >=sys-libs/libsepol-${SEPOL_VER}:= + sys-libs/libcap-ng:= >=app-admin/setools-4.2.0[${PYTHON_USEDEP}] - dev-python/ipy[${PYTHON_USEDEP}] - dbus? ( - sys-apps/dbus - dev-libs/dbus-glib:= - ) audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] ) pam? ( sys-libs/pam:= ) ${PYTHON_DEPS}" @@ -59,9 +53,6 @@ DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}] # (Still exists in native) BDEPEND="sys-devel/gettext" -### libcgroup -> seunshare -### dbus -> restorecond - # pax-utils for scanelf used by rlpkg RDEPEND="${DEPEND} app-misc/pax-utils" @@ -110,7 +101,6 @@ src_compile() { AUDIT_LOG_PRIVS="y" \ AUDITH="$(usex audit y n)" \ PAMH="$(usex pam y n)" \ - INOTIFYH="$(usex dbus y n)" \ SESANDBOX="n" \ CC="$(tc-getCC)" \ LIBDIR="\$(PREFIX)/$(get_libdir)" @@ -129,7 +119,6 @@ src_install() { AUDIT_LOG_PRIVS="y" \ AUDITH="$(usex audit y n)" \ PAMH="$(usex pam y n)" \ - INOTIFYH="$(usex dbus y n)" \ SESANDBOX="n" \ CC="$(tc-getCC)" \ LIBDIR="\$(PREFIX)/$(get_libdir)" \ diff --git a/sys-apps/policycoreutils/policycoreutils-9999.ebuild b/sys-apps/policycoreutils/policycoreutils-9999.ebuild index 8f15a3bee23..aed7968c418 100644 --- a/sys-apps/policycoreutils/policycoreutils-9999.ebuild +++ b/sys-apps/policycoreutils/policycoreutils-9999.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" -PYTHON_COMPAT=( python{3_6,3_7,3_8} ) +EAPI=7 +PYTHON_COMPAT=( python3_{6..9} ) PYTHON_REQ_USE="xml" inherit multilib python-r1 toolchain-funcs bash-completion-r1 @@ -15,7 +15,7 @@ SEMNG_VER="${PV}" SELNX_VER="${PV}" SEPOL_VER="${PV}" -IUSE="audit dbus pam split-usr" +IUSE="audit pam split-usr" REQUIRED_USE="${PYTHON_REQUIRED_USE}" DESCRIPTION="SELinux core utilities" @@ -41,16 +41,10 @@ LICENSE="GPL-2" SLOT="0" DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}] - >=sys-libs/libcap-1.10-r10:= >=sys-libs/libsemanage-${SEMNG_VER}:=[python(+),${PYTHON_USEDEP}] - sys-libs/libcap-ng:= >=sys-libs/libsepol-${SEPOL_VER}:= + sys-libs/libcap-ng:= >=app-admin/setools-4.2.0[${PYTHON_USEDEP}] - dev-python/ipy[${PYTHON_USEDEP}] - dbus? ( - sys-apps/dbus - dev-libs/dbus-glib:= - ) audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] ) pam? ( sys-libs/pam:= ) ${PYTHON_DEPS}" @@ -59,9 +53,6 @@ DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}] # (Still exists in native) BDEPEND="sys-devel/gettext" -### libcgroup -> seunshare -### dbus -> restorecond - # pax-utils for scanelf used by rlpkg RDEPEND="${DEPEND} app-misc/pax-utils" @@ -110,7 +101,6 @@ src_compile() { AUDIT_LOG_PRIVS="y" \ AUDITH="$(usex audit y n)" \ PAMH="$(usex pam y n)" \ - INOTIFYH="$(usex dbus y n)" \ SESANDBOX="n" \ CC="$(tc-getCC)" \ LIBDIR="\$(PREFIX)/$(get_libdir)" @@ -129,7 +119,6 @@ src_install() { AUDIT_LOG_PRIVS="y" \ AUDITH="$(usex audit y n)" \ PAMH="$(usex pam y n)" \ - INOTIFYH="$(usex dbus y n)" \ SESANDBOX="n" \ CC="$(tc-getCC)" \ LIBDIR="\$(PREFIX)/$(get_libdir)" \