tags 498497 + patch thanks Hi,
On Wed, 2008-09-10 at 15:37 +0200, Holger Levsen wrote: > trying to install python-poker-network in a sid chroot (no /proc nor /dev > mounted, in case that matters) fails with: > > Setting up python-poker-network (1.6.0-1.1) ... > INFO: using old version '/usr/bin/python2.3' > Compiling /usr/lib/python2.3/site-packages/pokernetwork/packets.py ... > File "/usr/lib/python2.3/site-packages/pokernetwork/packets.py", line 89 > @staticmethod > ^ > SyntaxError: invalid syntax The problem here is that the package uses syntax which is not compatible with python 2.3 (as is apparent from the error message :-) According to the changelog, python 2.3 support was dropped a couple of years ago. Unfortunately the control file still had Python-Versions set to ">= 2.3"; I assume this hasn't been noticed before as many sid (and indeed etch) systems won't have 2.3 installed. Attached is a patch fixing the problem. Adam
diff -u poker-network-1.6.0/debian/changelog poker-network-1.6.0/debian/changelog --- poker-network-1.6.0/debian/changelog +++ poker-network-1.6.0/debian/changelog @@ -1,3 +1,14 @@ +poker-network (1.6.0-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Really remove python 2.3 support, allowing the package to install if + python 2.3 is also installed. The 2.3-supporting packages were dropped + from the package nearly two years ago but the control file was still + declaring compatibility. (Closes: #498497) + * Bump the python-all-dev build-dependency to >=2.4. + + -- Adam D. Barratt <[EMAIL PROTECTED]> Fri, 12 Sep 2008 13:42:22 +0100 + poker-network (1.6.0-1.1) unstable; urgency=low * Non-maintainer upload. diff -u poker-network-1.6.0/debian/control poker-network-1.6.0/debian/control --- poker-network-1.6.0/debian/control +++ poker-network-1.6.0/debian/control @@ -2,8 +2,8 @@ Section: python Priority: extra Maintainer: Loic Dachary (OuoU) <[EMAIL PROTECTED]> -Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), automake1.9, cdbs, pkg-config, debconf | debconf-2.0, po-debconf, mysql-client, python-mysqldb, python-pyopenssl, python-simplejson, python-soappy, python-glade2, python-twisted, python-pygame, python-poker-engine (>= 1.2.0), libglade2-dev, libtool, perl, valgrind [amd64 i386 powerpc], xvfb, php-pear, php5-dev, php5-mysql, graphviz, cvs, python-gtk2-dev, libjson-perl, apg, rsync, python-xml -XS-Python-Version: >=2.3 +Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.4), automake1.9, cdbs, pkg-config, debconf | debconf-2.0, po-debconf, mysql-client, python-mysqldb, python-pyopenssl, python-simplejson, python-soappy, python-glade2, python-twisted, python-pygame, python-poker-engine (>= 1.2.0), libglade2-dev, libtool, perl, valgrind [amd64 i386 powerpc], xvfb, php-pear, php5-dev, php5-mysql, graphviz, cvs, python-gtk2-dev, libjson-perl, apg, rsync, python-xml +XS-Python-Version: >=2.4 Standards-Version: 3.7.2 Package: python-poker-network