public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: "Michael Sterrett" <mr_bones_@gentoo.org>
Cc: gentoo-dev@lists.gentoo.org, qa@gentoo.org
Subject: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 22 Nov 2015 09:38:38 +0100	[thread overview]
Message-ID: <20151122093838.0b548d61.mgorny@gentoo.org> (raw)
In-Reply-To: <1448180855.a144d7480f781f21323943d87e6a56136add3830.mr_bones_@gentoo>

[-- Attachment #1: Type: text/plain, Size: 2711 bytes --]

On Sun, 22 Nov 2015 08:27:47 +0000 (UTC)
"Michael Sterrett" <mr_bones_@gentoo.org> wrote:

> commit:     a144d7480f781f21323943d87e6a56136add3830
> Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
> AuthorDate: Sun Nov 22 08:26:57 2015 +0000
> Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
> CommitDate: Sun Nov 22 08:27:35 2015 +0000
> URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a144d748
> 
> Stop inheriting base.eclass (bug #494208)
> 
>  eclass/games.eclass | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/eclass/games.eclass b/eclass/games.eclass
> index 7d231e1..aebf679 100644
> --- a/eclass/games.eclass
> +++ b/eclass/games.eclass
> @@ -24,11 +24,11 @@
>  if [[ -z ${_GAMES_ECLASS} ]]; then
>  _GAMES_ECLASS=1
>  
> -inherit base multilib toolchain-funcs eutils user
> +inherit multilib toolchain-funcs eutils user

This changes API in all existing eclasses. In paricular, src_unpack()
and src_prepare() stop being implicitly exported which can cause them
to being implicitly replaced by another eclass. Which is especially
relevant since you specifically required people to inherit games.eclass
last and force its overrides.

>  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 ;;
> +	2|3|4|5|6) EXPORT_FUNCTIONS pkg_setup src_configure src_compile pkg_preinst pkg_postinst ;;

This is irrelevant change and belongs in a separate commit.
Furthermore, I don't think it is appropriate to enable new EAPI support
until you perform the eclass changes requested by the Council.

>  	*) die "no support for EAPI=${EAPI} yet" ;;
>  esac
>  
> @@ -302,12 +302,14 @@ games_src_configure() {
>  
>  # @FUNCTION: games_src_compile
>  # @DESCRIPTION:
> -# Runs base_src_make(). This function is exported as src_compile().
> +# This function is exported as src_compile().
>  games_src_compile() {
>  	case ${EAPI:-0} in
>  		0|1) games_src_configure ;;
>  	esac
> -	base_src_make
> +	if [[ -f Makefile || -f GNUmakefile || -f makefile ]]; then
> +		emake "$@" || die
> +	fi
>  }
>  
>  # @FUNCTION: games_pkg_preinst
> 

I'm going to revert this commit on behalf of QA to avoid breakage.
The relevant bug specifically mentioned making the change conditional
to EAPI 6. Please either do that (and don't enable EAPI 6 until you
have performed all requested changes), or confirm that none of
the packages will be broken by removing it retroactively.

-- 
Best regards,
Michał Górny
<http://dev.gentoo.org/~mgorny/>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 949 bytes --]

       reply	other threads:[~2015-11-22  8:38 UTC|newest]

Thread overview: 119+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1448180855.a144d7480f781f21323943d87e6a56136add3830.mr_bones_@gentoo>
2015-11-22  8:38 ` Michał Górny [this message]
     [not found] <1567619929.63486fef43c2e0dee3b4128db18fd1a6b4bf9381.tupone@gentoo>
2019-09-04 18:59 ` [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: eclass/ Michał Górny
2019-09-04 22:30   ` David Seifert
2019-09-04 23:26   ` Thomas Deutschmann
2019-09-05  4:02     ` Michał Górny
2019-09-05 13:14       ` Thomas Deutschmann
2019-09-05 14:04         ` Gordon Pettey
2019-09-05 19:26           ` Kent Fredric
2019-09-05 19:28             ` James Le Cuirot
2019-09-05 19:47         ` Michał Górny
2019-09-05 19:49           ` Michael Everitt
2019-09-05 20:08           ` Kent Fredric
2019-09-05 20:16             ` Michał Górny
2019-09-05 22:47               ` Thomas Deutschmann
2019-09-06  3:45                 ` Mike Gilbert
2019-09-06  6:35                   ` Alfredo Tupone
2019-09-06  5:49                 ` Michał Górny
2019-09-06  4:02     ` Mike Gilbert
     [not found] <1564451381.6f680e4fe73925ae130343e02adb416cb799ce7d.mattst88@gentoo>
2019-07-30  5:20 ` Michał Górny
2019-07-30  5:29   ` Matt Turner
     [not found] <1526675772.d780c05e4459175eb314c82de9f3b998e2b4fc6e.asturm@gentoo>
2018-05-18 21:53 ` Michał Górny
     [not found] <1515158020.1e09cba657ccb2b8e6fbcbeb28c5c593da2127eb.polynomial-c@gentoo>
2018-01-05 13:36 ` Michał Górny
     [not found] <1494961831.d1b05bcf81e5058c20615179fb83a90c45daa487.vapier@gentoo>
2017-05-16 19:20 ` Michał Górny
2017-05-16 19:36   ` Fabian Groffen
2017-05-21 14:02     ` Kent Fredric
2017-05-21 14:46       ` Martin Vaeth
2017-05-21 16:29         ` William Hubbs
2017-05-21 17:34           ` Michał Górny
2017-05-21 18:18             ` Martin Vaeth
2017-05-21 19:32             ` Kent Fredric
2017-05-21 20:38               ` M. J. Everitt
2017-05-21 23:28               ` M. J. Everitt
2017-05-21 17:46   ` Raymond Jennings
2017-05-22  1:13     ` Luis Ressel
     [not found] <1463773635.548f4ee19c6b0fe0d5e87e84a5a82c421229e0ce.johu@gentoo>
2016-05-20 19:55 ` Michał Górny
     [not found] <1462655928.66afcab271f65b97330e610040ad3acc1b812a03.hd_brummy@gentoo>
2016-05-07 21:25 ` Michał Górny
2016-05-07 21:48   ` Ryan Hill
2016-05-09 23:10   ` Doug Goldstein
2016-05-13  8:52   ` Ian Delaney
2016-05-14  9:55     ` Andreas K. Huettel
2016-05-14 11:35       ` Ciaran McCreesh
2016-05-14 11:55         ` M. J. Everitt
2016-05-14 15:04         ` Gordon Pettey
2016-05-14 16:53           ` Chí-Thanh Christopher Nguyễn
2016-05-14 16:59             ` M. J. Everitt
2016-05-14 17:06               ` Rich Freeman
2016-05-14 17:07                 ` landis blackwell
2016-05-14 17:52                   ` Rich Freeman
2016-05-14 19:21                     ` M. J. Everitt
2016-05-14 20:23                       ` Rich Freeman
2016-05-15 10:47                         ` Daniel Campbell
2016-05-14 17:08                 ` M. J. Everitt
2016-05-14 20:06               ` Andreas K. Huettel
2016-05-14 11:55     ` Aaron Bauman
2016-05-14 13:54       ` Rich Freeman
2016-05-14 23:40         ` Aaron Bauman
2016-05-14 23:48           ` Ciaran McCreesh
2016-05-15  0:23             ` Aaron Bauman
2016-05-15  1:04               ` Rich Freeman
2016-05-15  1:12                 ` M. J. Everitt
2016-05-16  7:56                 ` Ian Delaney
2016-05-16  8:20                   ` Consus
2016-05-16  8:30                   ` Aaron Bauman
2016-05-16  9:05                   ` Ciaran McCreesh
2016-05-16 16:21                     ` Andrew Savchenko
2016-05-16 16:32                       ` Andreas K. Huettel
2016-05-15  0:59           ` Rich Freeman
2016-05-15  1:12             ` M. J. Everitt
2016-05-15  9:53           ` Ryan Hill
2016-05-15 11:04             ` Daniel Campbell
2016-05-15 22:55               ` Duncan
2016-05-15 23:07                 ` Daniel Campbell
2016-05-16  0:12                 ` M. J. Everitt
2016-05-15 18:43             ` Andreas K. Huettel
2016-05-15 10:29           ` Michał Górny
2016-05-15 11:16             ` Daniel Campbell
2016-05-15 22:46               ` Duncan
2016-05-15 23:19                 ` Rich Freeman
2016-05-15  9:05   ` Jeroen Roovers
2016-05-15  9:15     ` Brian Dolbec
2016-05-15 11:18       ` Daniel Campbell
2016-05-15 14:27         ` Brian Dolbec
     [not found] <1460833703.ad0c2ab2bdbd34f4550e49c56cfd5974d6a2c07a.blueness@gentoo>
2016-04-16 19:05 ` Michał Górny
2016-04-16 19:13   ` Anthony G. Basile
2016-04-16 19:16   ` Rich Freeman
2016-04-16 19:18     ` Anthony G. Basile
2016-04-16 19:41       ` Anthony G. Basile
2016-04-16 19:27   ` Anthony G. Basile
2016-04-16 19:31     ` Anthony G. Basile
2016-04-16 22:24       ` Mike Gilbert
2016-04-16 22:36         ` Rich Freeman
2016-04-16 22:46           ` Mike Gilbert
2016-04-16 22:54             ` Anthony G. Basile
2016-04-16 22:50           ` Anthony G. Basile
2016-04-17  8:15   ` Fabian Groffen
2016-04-17  8:28     ` Anthony G. Basile
2016-04-17 22:50       ` Anthony G. Basile
2016-04-18  2:09         ` Luca Barbato
     [not found] <1447717075.aac24917ebe254a23990f0d7fff9f6f570b99d15.mpagano@gentoo>
2015-11-17  7:19 ` Michał Górny
2015-11-17 20:37   ` Raymond Jennings
2015-11-17 23:42     ` Rich Freeman
2015-11-17 21:59   ` Mike Pagano
     [not found] <1447458773.ad4c142684afb096e8fff2937ae5c5c3385dd22e.mgorny@gentoo>
2015-11-16  9:01 ` Alexis Ballier
2015-11-16  9:06   ` Justin Lecher (jlec)
2015-11-16  9:14     ` Alexis Ballier
2015-11-16  9:29       ` Justin Lecher (jlec)
2015-11-16  9:52         ` Alexis Ballier
2015-11-16 12:08           ` Rich Freeman
     [not found] <1446206629.df8e399c9bac2dc30d7cf69c2462a81729a3ae69.jlec@gentoo>
2015-10-30 17:20 ` Michał Górny
2015-10-31  7:06   ` Mike Frysinger
2015-10-31  8:08     ` Michał Górny
2015-10-31 15:05       ` Gregory Woodbury
2015-11-10 23:53       ` Mike Frysinger
2015-11-11  9:09         ` Michał Górny
2015-11-11 14:42           ` Luca Barbato
2015-11-01  7:15   ` Ian Delaney
     [not found] <1444389412.5220bb29741e1685b42a6312c0b7bf2821672040.aballier@gentoo>
2015-10-09 15:32 ` hasufell
2015-10-09 16:21   ` Alexis Ballier
2015-10-09 16:25     ` hasufell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151122093838.0b548d61.mgorny@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=mr_bones_@gentoo.org \
    --cc=qa@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox