Summary: | gnome2.eclass: adapt GNOME2_LA_PUNT to ltprune.eclass deprecation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pacho Ramos <pacho> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 262490 |
Description
Pacho Ramos
2018-06-21 09:32:05 UTC
I see the logic is still there for old EAPIs (running a slightly different find command): if has ${EAPI:-0} 4; then if [[ "${GNOME2_LA_PUNT}" != "no" ]]; then ebegin "Removing .la files" if ! use_if_iuse static-libs ; then find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed" fi eend fi else case "${GNOME2_LA_PUNT}" in yes) prune_libtool_files --modules;; no) ;; *) prune_libtool_files;; esac fi Maybe we could simply switch to the new find command (for consistency) for change the EAPI conditional to run prune_libtool_files stuff for EAPIs 5 and 6 while the other for the rest of EAPIs (at the end it will be 7 and newer as gnome2.eclass has no consumers for older EAPIs... even its support could be removed finally -> bug 596674) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac2c67038daeca32c856a57925f22a5503ffa128 commit ac2c67038daeca32c856a57925f22a5503ffa128 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2020-12-06 16:30:14 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2020-12-07 22:06:33 +0000 gnome2.eclass: Add EAPI=7 support Closes: https://bugs.gentoo.org/658638 Closes: https://bugs.gentoo.org/717100 Signed-off-by: Matt Turner <mattst88@gentoo.org> eclass/gnome2.eclass | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) |