From: Brian Dolbec <dolsen@gentoo.org>
To: Mike Gilbert <floppym@gentoo.org>
Cc: gentoo-python <gentoo-python@lists.gentoo.org>
Subject: Re: [gentoo-python] Stabilization plan for python3.3
Date: Mon, 01 Jul 2013 09:12:27 -0700 [thread overview]
Message-ID: <1372695147.17485.24.camel@big_daddy.dol-sen.ca> (raw)
In-Reply-To: <CAJ0EP42gg0v50XdgnWzK=wvtDJ2XECKX8RRxit5wnLhtC11m3g@mail.gmail.com>
On Mon, 2013-07-01 at 10:25 -0400, Mike Gilbert wrote:
> Just some thoughts on this subject; help me fill in any blanks.
>
> 1. We should do some kind of scan to ensure that any package with
> python3_2 in PYTHON_COMPAT also has python3_3. Needs a script.
>
> 2. Once that is done, we should ensure that any relevant versions are
> stabilized. Also needs a script.
>
> 3. Finally, we can request stabilization of dev-lang/python:3.3 and
> remove it from use.stable.mask.
>
> Does that sound about right?
>
> Do we have anyone who can help with those scripts? I can take a stab
> at it, but I'm a relative newbie when it comes to portage api stuff.
>
Here is probably most of what you need for api's. Just make your for
loops with them.
brian@big_daddy ~ $ python
Python 2.7.5 (default, Jun 29 2013, 02:44:43)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import portage
>>> p=portage.portdb
>>> pkgs=p.cp_all()
>>> type(pkgs)
<type 'list'>
>>> pkgs[0]
u'app-accessibility/SphinxTrain'
>>> p1=pkgs[0]
>>> p.cp_list(p1)
[u'app-accessibility/SphinxTrain-0.9.1-r1', u'app-accessibility/SphinxTrain-1.0.8']
>>> v=p.cp_list(p1)
>>> p.aux_get(v[0],['IUSE','KEYWORDS'])
[u'', u'~amd64 ppc x86']
>>> p.aux_get(v[1],['IUSE','KEYWORDS'])
[u'python_targets_python2_7 python_single_target_python2_7', u'amd64 x86']
>>> c=p.aux_get('app-portage/gentoolkit-9999',['IUSE', 'KEYWORDS'])
>>> c
[u'python_targets_python2_6 python_targets_python2_7 python_targets_python3_1
python_targets_python3_2 python_targets_python3_3 python_targets_pypy1_9', u'']
>>>
prev parent reply other threads:[~2013-07-01 16:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-01 14:25 [gentoo-python] Stabilization plan for python3.3 Mike Gilbert
2013-07-01 15:33 ` Michał Górny
2013-07-01 16:12 ` Brian Dolbec [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=1372695147.17485.24.camel@big_daddy.dol-sen.ca \
--to=dolsen@gentoo.org \
--cc=floppym@gentoo.org \
--cc=gentoo-python@lists.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