[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XS-Python-Version vs pyversions



On Sun, Sep 06, 2009 at 12:37:14PM +0200, Luca Falavigna wrote:
> Il giorno Sat, 05 Sep 2009 20:40:30 -0700
> Ludovico Cavedon <ludovico.cavedon@gmail.com> ha scritto:
> > So you are suggesting that to keep both pyversions and
> > XS-Python-Version, correct?
> 
> There's no need to have them both. if debian/pyversions exists,
> dh_pysupport parses it without looking at XS-Python-Version field, which
> remains ignored. OTOH, if debian/pyversions is not available,
> dh_pysupport is able to correctly understand XS-Python-Version.
> 
> If you keep both, python-support will always take what you declared in
> debian/pyversions, no matter what value XS-Python-Version is given.

Well, I still don't understand what I should do.
Yesterday I uploaded a package using cdbs + pysopport with no
XS-Python-Version (and using debian/pyversion). 

Running debian/rules build, you get the message:

   pyversions: missing XS-Python-Version in control file, fall back to
   debian/pyversions

I have been asked on debian-mentors to add XS-Python-Version, but if I add
it I get the message that the OP received and that started this thread...:

   /usr/share/cdbs/1/class/python-distutils.mk:67: 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.

What message should I leave/accept? As the message is issued by cdbs should
I desume the problem is with cdbs issuing the mesage w/o verifying that a
pyversion exists? 

sandro
*:-)


Reply to: