Joop Stakenborg writes:
> 2007/1/15, Matthias Klose <[EMAIL PROTECTED]>:
> >
> > Package: python-libhamlib2
> > Version: 1.2.5-7.1
> > Severity: serious
> >
> > python-libhamlib2 claims support for python2.3 and 2.5, but only
> > provides the extension for 2.4. Plus the package seems to be broken in
> > general:
> 
> 
> 
> Hello Matthias.
> What makes you say support for 2.3 and 2.5 is present?

  Depends: python (>= 2.3), python (<< 2.6)

> Isn't python2.4 the
> default in Debian? Should I rename the package to python2.4-libhamlib2?

No, If you only support 2.4, then the dependencies look like:

  Depends: python (>= 2.4), python (<< 2.5)

> $ python
> > Python 2.4.4 (#2, Jan 13 2007, 17:50:26)
> > [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> import Hamlib
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in ?
> > ImportError: No module named Hamlib
> > >>>
> >
> >
> Here is how I do it:
> 
> [EMAIL PROTECTED]:~$ python
> Python 2.4.4 (#2, Jan 13 2007, 17:50:26)
> [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import sys
> >>> sys.path.append ('/usr/lib/python-support/site-packages')
> >>> import Hamlib

No, using python-central or python-support, the package should be
available directly in sys.path; there's no need to add to sys.path.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to