From: Michał Górny Date: Sat, 13 Feb 2016 16:30:40 +0000 (+0100) Subject: games.eclass: Deprecate due to QA policy violations and no reply X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=17abe208f76d835bcd99343271f346f5722cefb6;p=gentoo.git games.eclass: Deprecate due to QA policy violations and no reply Deprecate games.eclass as the eclass in its current form has been deprecated by the Council and the games team has not replied neither to requests to fix it, nor to the question whether they are interested in maintaining it. Bug: https://bugs.gentoo.org/show_bug.cgi?id=566498 Bug: https://bugs.gentoo.org/show_bug.cgi?id=574080 Bug: https://bugs.gentoo.org/show_bug.cgi?id=574082 --- diff --git a/eclass/games.eclass b/eclass/games.eclass index 7d231e186cc9..8376e5ef6df6 100644 --- a/eclass/games.eclass +++ b/eclass/games.eclass @@ -19,6 +19,11 @@ # # For a general guide on writing games ebuilds, see: # https://wiki.gentoo.org/wiki/Project:Games/Ebuild_howto +# +# WARNING: This eclass is DEPRECATED and must not be used by new games +# ebuilds, bug #574082. When writing game ebuilds, no specific eclass +# is needed. For more details, see the QA team policies page: +# https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Policies#Games if [[ -z ${_GAMES_ECLASS} ]]; then @@ -29,7 +34,7 @@ inherit base multilib toolchain-funcs eutils user case ${EAPI:-0} in 0|1) EXPORT_FUNCTIONS pkg_setup src_compile pkg_preinst pkg_postinst ;; 2|3|4|5) EXPORT_FUNCTIONS pkg_setup src_configure src_compile pkg_preinst pkg_postinst ;; - *) die "no support for EAPI=${EAPI} yet" ;; + *) die "games.eclass is banned in EAPI=${EAPI}, see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Policies#Games" ;; esac if [[ ${CATEGORY}/${PN} != "games-misc/games-envd" ]] ; then