XS-Python-Version vs pyversions

2009-09-05 Thread Ludovico Cavedon
Hi all,
I am working on packaging a python modules using python-support.

cddb warns me:
==
WARNING:  Use of XS-Python-Version and XB-Python-Version fields in
debian/control is deprecated with pysupport method; use
debian/pyversions if you need to specify specific versions
==

But on the other side [1] says:
"The addition of the XS-Python-Version/XB-Python-Version fields is
appreciated."

[1] http://wiki.debian.org/DebianPython/NewPolicy [+-]

I spent some time looking on ML archives and Debian wiki, but I could
not find a clear answer about which one is the preferred one. Using both
of them looks to me a useless replication of information.

What is the best practice?

Thank you in advance,
Ludovico


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: XS-Python-Version vs pyversions

2009-09-05 Thread Mikhail Gusarov

Twas brillig at 16:07:36 05.09.2009 UTC-07 when ludovico.cave...@gmail.com did 
gyre and gimble:

 LC> What is the best practice?

Looks like it is /usr/share/doc/python-support/README.gz.

-- 
  http://fossarchy.blogspot.com/


pgpvbgrOIwafJ.pgp
Description: PGP signature


Re: XS-Python-Version vs pyversions

2009-09-05 Thread Mikhail Gusarov

Twas brillig at 16:44:09 05.09.2009 UTC-07 when ludovico.cave...@gmail.com did 
gyre and gimble:

 >>  LC> What is the best practice?
 >> Looks like it is /usr/share/doc/python-support/README.gz.

 LC> That's what I needed! and it was in a pretty obvious location :(

Wiki is much more prominent (and chaotic). I spent a hour several days
ago trying to find not-yet-obsolete information, and finally spotted
this obivously located README :)

-- 
  http://fossarchy.blogspot.com/


pgpmkPMWJUGzd.pgp
Description: PGP signature


Re: XS-Python-Version vs pyversions

2009-09-05 Thread Ludovico Cavedon
Mikhail Gusarov wrote:
> Twas brillig at 16:07:36 05.09.2009 UTC-07 when ludovico.cave...@gmail.com 
> did gyre and gimble:
> 
>  LC> What is the best practice?
> 
> Looks like it is /usr/share/doc/python-support/README.gz.

That's what I needed! and it was in a pretty obvious location :(

Thank you!
Ludovico


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: XS-Python-Version vs pyversions

2009-09-05 Thread Steve Langasek
On Sat, Sep 05, 2009 at 04:07:36PM -0700, Ludovico Cavedon wrote:
> Hi all,
> I am working on packaging a python modules using python-support.

> cddb warns me:
> ==
> WARNING:  Use of XS-Python-Version and XB-Python-Version fields in
> debian/control is deprecated with pysupport method; use
> debian/pyversions if you need to specify specific versions
> ==

> But on the other side [1] says:
> "The addition of the XS-Python-Version/XB-Python-Version fields is
> appreciated."

> [1] http://wiki.debian.org/DebianPython/NewPolicy [+-]

> I spent some time looking on ML archives and Debian wiki, but I could
> not find a clear answer about which one is the preferred one. Using both
> of them looks to me a useless replication of information.

> What is the best practice?

The XS-Python-Version field was specified as a tool for detecting, without
having to download and inspect individual source packages, that a given
package can be successfully rebuilt for a python transition, to aid the
release team in this work.

The python-support maintainer's decision to undermine this doesn't represent
best practices, it represents his personal opinion.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org


signature.asc
Description: Digital signature


Re: XS-Python-Version vs pyversions

2009-09-05 Thread Ludovico Cavedon
Steve Langasek  debian.org> writes:
> The XS-Python-Version field was specified as a tool for detecting, without
> having to download and inspect individual source packages, that a given
> package can be successfully rebuilt for a python transition, to aid the
> release team in this work.

I see, it makes sense.

> The python-support maintainer's decision to undermine this doesn't represent
> best practices, it represents his personal opinion.

So you are suggesting that to keep both pyversions and
XS-Python-Version, correct?

It would be interesting the ability to generate them on the basis of
pyversions (e.g. XS-Python-Version: ${somevariable})

Thanks,
Ludovico




-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org