Skip to content

Commit

Permalink
games.eclass: Deprecate due to QA policy violations and no reply
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mgorny committed Feb 13, 2016
1 parent 7895e63 commit 17abe20
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion eclass/games.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 17abe20

Please sign in to comment.