Package: scapy
Version: 1.1.1-1
Severity: important
Tags: patch

Hello,

According  to the  XS-Python-Version field  of debian/control,  scapy is
useable with  python 2.3,  however it isn't  because it  uses decorators
which have been introduced in  python 2.4 AFAIK. Thus, the package fails
to byte-compile the module with the following error:

Compiling /var/lib/python-support/python2.3/scapy.py ...
  File "/var/lib/python-support/python2.3/scapy.py", line 1898
    @classmethod
    ^
SyntaxError: invalid syntax

In debian/control, it should be:

XS-Python-Version: >= 2.4

Regards,
Arnaud Fontaine 

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

Kernel: Linux 2.6.21-maggie
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages scapy depends on:
ii  python                        2.4.4-6    An interactive high-level object-o

scapy recommends no packages.

Attachment: pgpRJRsQPApAZ.pgp
Description: PGP signature

Reply via email to