public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: python@gentoo.org
Subject: Re: [gentoo-dev] [PATCHES] python-r1 suite: minor fixes
Date: Tue, 06 Jun 2017 08:59:15 +0200	[thread overview]
Message-ID: <1496732355.1945.0.camel@gentoo.org> (raw)
In-Reply-To: <20170520085616.5602-1-mgorny@gentoo.org>

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

On sob, 2017-05-20 at 10:56 +0200, Michał Górny wrote:
> Hi,
> 
> Here's a quick set of minor patches to python-r1 suite. It mostly
> includes some fixes to issues I've noticed while working on something
> bigger ;-).
> 
> The first patch merely fixes missing 'local' for a variable. The second
> adds REQUIRED_USE to the python_setup() use example in python-r1.
> The third converts distutils-r1 common impl support to use the new
> pattern matching function (which is an omission from the original set
> of patches).
> 
> The fourth patch is most interesting of all -- it makes the pattern
> matching work well with mismatched PYTHON_COMPAT/EPYTHON-style impls.
> This makes the API more lax, and avoids requiring users to be aware
> of technically implied impl style restrictions, i.e. having to write:
> 
>   REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2_*') ) )"
> 
>   src_compile() {
>     use doc && python_setup 'python2.*'
>   }
> 
> Note that flags used PYTHON_COMPAT form (with '_') while setup functions
> used EPYTHON form (with '.'). Now both are equally happy with both
> forms.
> 

Merged them a while back.

-- 
Best regards,
Michał Górny

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 988 bytes --]

      parent reply	other threads:[~2017-06-06  6:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-20  8:56 [gentoo-dev] [PATCHES] python-r1 suite: minor fixes Michał Górny
2017-05-20  8:56 ` [gentoo-dev] [PATCH 1/4] python-any-r1.eclass: python_gen_any_dep, add missing 'local i' Michał Górny
2017-05-20  8:56 ` [gentoo-dev] [PATCH 2/4] python-r1.eclass: python_setup, add REQUIRED_USE to the example Michał Górny
2017-05-20  8:56 ` [gentoo-dev] [PATCH 3/4] distutils-r1.eclass: Use _python_impl_matches() Michał Górny
2017-05-20  8:56 ` [gentoo-dev] [PATCH 4/4] python-utils-r1.eclass: _python_impl_matches, handle both forms of impl Michał Górny
2017-06-06  6:59 ` Michał Górny [this message]

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=1496732355.1945.0.camel@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=python@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