-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/22/2010 11:08 AM, Jakub Wilk wrote:
> * tony mancill <tmanc...@debian.org>, 2010-06-20, 14:48:
>> As part of the BSP for RC bugs, I've prepared an NMU for smart
>> (versioned as 1.3-1.1) 
> 
> I've just noticed a minor glitch in the current package, which my patch
> didn't fix: /usr/share/smart/smart has a /usr/bin/pythonX.Y shebang. It
> should be /usr/bin/python istead.
> 
>> and uploaded it to DELAYED/14.
> 
> I'm afraid we can't wait so long.

I took a look at this, and smart uses /usr/bin/env python - i.e. it appears that
it's CDBS that's creating those shebang lines based on the list of supported
python versions.  I'm not familiar with CDBS, so the rest of this is pretty much
guessing.

smartpm-core contains usr/bin/smart, but that's just a symlink back to to the
the script in usr/share/smart/smart, which does contain the shebang line.  It's
kind of odd, given that python-smartpm includes both directories
./usr/lib/pyshared/python2.[56]/smart/.

It appears that it just happens to be python2.6 because of the mv command in the
smartpm-movefiles: target in debian/rules - this would need to be a loop that
iterates over the currently supported set of python versions and then fix up the
symlink in the postinst?

The quickest fix I'm can see is to simply set XS-Python-Version to 2.6 - this
builds only the 2.6 modules - but perhaps someone with more Python/CDBS could
comment.

Thank you,
tony
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwhmpgACgkQpdwBkPlyvgP4LwCfUxzo5+n1mfJaWmPRCTS4Npj3
8XQAniy7JoM+ZWTez4hVo/dAKW7ao8JA
=fWSY
-----END PGP SIGNATURE-----



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

Reply via email to