public inbox for gentoo-python@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-python] Stabilization plan for python3.3
@ 2013-07-01 14:25 Mike Gilbert
  2013-07-01 15:33 ` Michał Górny
  2013-07-01 16:12 ` Brian Dolbec
  0 siblings, 2 replies; 3+ messages in thread
From: Mike Gilbert @ 2013-07-01 14:25 UTC (permalink / raw
  To: gentoo-python

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-python] Stabilization plan for python3.3
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Michał Górny @ 2013-07-01 15:33 UTC (permalink / raw
  To: Mike Gilbert; +Cc: gentoo-python

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

Dnia 2013-07-01, o godz. 10:25:58
Mike Gilbert <floppym@gentoo.org> napisał(a):

> 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.

While at it, I'd use a tool which greps the whole tree for Python impls
supported by various packages. Plus a scatter-like plot showing which
impls are supported by those packages.

I'll write that one when I have some more time.

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 966 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-python] Stabilization plan for python3.3
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Brian Dolbec @ 2013-07-01 16:12 UTC (permalink / raw
  To: Mike Gilbert; +Cc: gentoo-python

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'']
>>> 





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-01 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox