Bug#577096: python-tegaki: Incompatible with Python 2.4

2010-05-17 Thread Stefano Rivera
tag 577096 patch
retitle 577096 Isn't compatible with Python 2.4, but still attempts to 
byte-compile for it.
thanks

 I assumed there's at least a way to keep newer updates respecting
 left-over packages.

Yes:

I recommend you either set XS-Python-Version: = 2.5 in debian/control or
$ echo 2.5-  debian/pyversions

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127


signature.asc
Description: Digital signature


Bug#577096: python-tegaki: Incompatible with Python 2.4

2010-04-10 Thread Sandro Tosi
On Fri, Apr 9, 2010 at 17:18, Christoph Burgmer cburg...@ira.uka.de wrote:
 Sandro,

 Am Freitag, 9. April 2010 schrieb Sandro Tosi:
 Compatibility bugs for 2.4 are no longer valid (but I'm not closing it
 since i'm neither the pacakge maitainer nor the original reporter).

 Thanks for the info. I know that 2.4 is not supported anymore, but as Debian
 has no way of removing once shipped packages I assumed there's at least a way
 to keep newer updates respecting left-over packages.

No, there's none. Also, if you had updated python-minimal, you would
not have 2.4 in the supported versions list anymore.

 I might be wrong but
 something along the line of adding a Conflict: python2.4 would add minimum
 compatibility.

No, that's wrong, an hopefully no-one will do. every
modules/extensions has to conflic with 2.4 just in case? the main
python package? transitions are not done this way.

 It's not really a bug so you can probably ignore this after all.

 Oh, and keeping 2.4 does serve a purpose for testing compliance of own
 packages. :)

That's sure, but if you decide to have an unsupported package for your
own purposes, then probably reporting bugs about it is not that
correct ;)

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



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



Bug#577096: python-tegaki: Incompatible with Python 2.4

2010-04-09 Thread Christoph Burgmer
Package: python-tegaki
Version: 0.3.1-1
Severity: normal

When installing python-tegaki 0.3.1-1 aptitude reports the following
(lang=de...@euro):

Verarbeite Trigger für python-support ...
Compiling /usr/lib/pymodules/python2.4/tegaki/character.py ...
  File /usr/lib/pymodules/python2.4/tegaki/character.py, line 1200
gzip = True if path.endswith(.gz) or path.endswith(.gzip) \
 ^
SyntaxError: invalid syntax

Compiling /usr/lib/pymodules/python2.4/tegaki/charcol.py ...
  File /usr/lib/pymodules/python2.4/tegaki/charcol.py, line 57
self._charobj = obj if charobj is None else charobj
 ^
SyntaxError: invalid syntax


The language feature STMNT1 if BOOLEAN else STMNT2 is new to Python 2.5
and thus Tegaki should probably be considered incompatible to Python2.4.
Python2.4 is not available from unstable anymore, but I still have those
packages installed.

For python-support it seems you need to setup a file debian/pyversions with
the content 2.5-, see /usr/share/doc/python-support/README.gz.

Thanks
-Christoph

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-1-686 (SMP w/1 CPU core)
Locale: lang=de...@euro, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-tegaki depends on:
ii  python2.5.4-9An interactive high-level object-o
ii  python-support1.0.7  automated rebuilding support for P
ii  python-zinnia 0.05-1+b1  Python binding for the zinnia libr

python-tegaki recommends no packages.

python-tegaki suggests no packages.

-- no debconf information



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



Bug#577096: python-tegaki: Incompatible with Python 2.4

2010-04-09 Thread Sandro Tosi
Hello,
python 2.4 is no more supported in unstable/testing (in fact it was
removed from teh archive) and won't be present in the upcoming stable
release; you can also remove it from your system.

Compatibility bugs for 2.4 are no longer valid (but I'm not closing it
since i'm neither the pacakge maitainer nor the original reporter).

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



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



Bug#577096: python-tegaki: Incompatible with Python 2.4

2010-04-09 Thread Christoph Burgmer
Sandro,

Am Freitag, 9. April 2010 schrieb Sandro Tosi:
 Compatibility bugs for 2.4 are no longer valid (but I'm not closing it
 since i'm neither the pacakge maitainer nor the original reporter).

Thanks for the info. I know that 2.4 is not supported anymore, but as Debian 
has no way of removing once shipped packages I assumed there's at least a way 
to keep newer updates respecting left-over packages. I might be wrong but 
something along the line of adding a Conflict: python2.4 would add minimum 
compatibility.

It's not really a bug so you can probably ignore this after all.

Oh, and keeping 2.4 does serve a purpose for testing compliance of own 
packages. :)

-Christoph



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