summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-26 20:47:43 +0100
committerSam James <sam@gentoo.org>2023-06-26 20:49:24 +0100
commit53de69d91fec670e97baa5add1127209147572f8 (patch)
tree65cc3eab0621e4adb373035fbffe8a32bf427b01 /sys-apps/apparmor-utils
parentsys-cluster/ceph: drop stale crypto++ dep (diff)
downloadgentoo-53de69d91fec670e97baa5add1127209147572f8.tar.gz
gentoo-53de69d91fec670e97baa5add1127209147572f8.tar.bz2
gentoo-53de69d91fec670e97baa5add1127209147572f8.zip
sys-apps/apparmor-utils: drop obsolete Perl dependencies
Quoting Han from the bug: """ All ebuilds for sys-apps/apparmor-utils currently in the tree depend on Perl and several Perl modules, but those dependencies are unnecessary because upstream has rewritten all utilities in Python. The last rewrite was before the 3.0.0 release (https://gitlab.com/apparmor/apparmor/-/commit/a74d7cf51cf5d87d5d362cb7dd279a0034029631) and the README since states "Perl is no longer needed since none of the utilities shipped to end users depend on it anymore." """ Closes: https://bugs.gentoo.org/909203 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/apparmor-utils')
-rw-r--r--sys-apps/apparmor-utils/apparmor-utils-3.0.10-r1.ebuild (renamed from sys-apps/apparmor-utils/apparmor-utils-3.0.10.ebuild)16
-rw-r--r--sys-apps/apparmor-utils/apparmor-utils-3.1.4-r1.ebuild (renamed from sys-apps/apparmor-utils/apparmor-utils-3.1.4.ebuild)16
2 files changed, 8 insertions, 24 deletions
diff --git a/sys-apps/apparmor-utils/apparmor-utils-3.0.10.ebuild b/sys-apps/apparmor-utils/apparmor-utils-3.0.10-r1.ebuild
index 24b253ee6dba..702656d7f4f3 100644
--- a/sys-apps/apparmor-utils/apparmor-utils-3.0.10.ebuild
+++ b/sys-apps/apparmor-utils/apparmor-utils-3.0.10-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
-inherit perl-module python-r1 toolchain-funcs
+inherit python-r1 toolchain-funcs
MY_PV="$(ver_cut 1-2)"
@@ -20,22 +20,16 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="test"
COMMON_DEPEND="
- dev-lang/perl
~sys-libs/libapparmor-${PV}
${PYTHON_DEPS}"
DEPEND="${COMMON_DEPEND}
sys-devel/gettext
"
RDEPEND="${COMMON_DEPEND}
- ~sys-libs/libapparmor-${PV}[perl,python,${PYTHON_USEDEP}]
+ ~sys-libs/libapparmor-${PV}[python,${PYTHON_USEDEP}]
~sys-apps/apparmor-${PV}
- dev-perl/Locale-gettext
- dev-perl/RPC-XML
- dev-perl/TermReadKey
dev-python/notify2[${PYTHON_USEDEP}]
- dev-python/psutil[${PYTHON_USEDEP}]
- virtual/perl-Data-Dumper
- virtual/perl-Getopt-Long"
+ dev-python/psutil[${PYTHON_USEDEP}]"
S=${WORKDIR}/apparmor-${PV}
@@ -66,9 +60,7 @@ src_compile() {
src_install() {
pushd utils > /dev/null || die
- perl_set_version
- emake DESTDIR="${D}" PERLDIR="${D}/${VENDOR_LIB}/Immunix" \
- VIM_INSTALL_PATH="${D}/usr/share/vim/vimfiles/syntax" install
+ emake DESTDIR="${D}" VIM_INSTALL_PATH="${D}/usr/share/vim/vimfiles/syntax" install
install_python() {
local -x PYTHONDONTWRITEBYTECODE=
diff --git a/sys-apps/apparmor-utils/apparmor-utils-3.1.4.ebuild b/sys-apps/apparmor-utils/apparmor-utils-3.1.4-r1.ebuild
index 24b253ee6dba..702656d7f4f3 100644
--- a/sys-apps/apparmor-utils/apparmor-utils-3.1.4.ebuild
+++ b/sys-apps/apparmor-utils/apparmor-utils-3.1.4-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
-inherit perl-module python-r1 toolchain-funcs
+inherit python-r1 toolchain-funcs
MY_PV="$(ver_cut 1-2)"
@@ -20,22 +20,16 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="test"
COMMON_DEPEND="
- dev-lang/perl
~sys-libs/libapparmor-${PV}
${PYTHON_DEPS}"
DEPEND="${COMMON_DEPEND}
sys-devel/gettext
"
RDEPEND="${COMMON_DEPEND}
- ~sys-libs/libapparmor-${PV}[perl,python,${PYTHON_USEDEP}]
+ ~sys-libs/libapparmor-${PV}[python,${PYTHON_USEDEP}]
~sys-apps/apparmor-${PV}
- dev-perl/Locale-gettext
- dev-perl/RPC-XML
- dev-perl/TermReadKey
dev-python/notify2[${PYTHON_USEDEP}]
- dev-python/psutil[${PYTHON_USEDEP}]
- virtual/perl-Data-Dumper
- virtual/perl-Getopt-Long"
+ dev-python/psutil[${PYTHON_USEDEP}]"
S=${WORKDIR}/apparmor-${PV}
@@ -66,9 +60,7 @@ src_compile() {
src_install() {
pushd utils > /dev/null || die
- perl_set_version
- emake DESTDIR="${D}" PERLDIR="${D}/${VENDOR_LIB}/Immunix" \
- VIM_INSTALL_PATH="${D}/usr/share/vim/vimfiles/syntax" install
+ emake DESTDIR="${D}" VIM_INSTALL_PATH="${D}/usr/share/vim/vimfiles/syntax" install
install_python() {
local -x PYTHONDONTWRITEBYTECODE=