Package: python-pysnmp2
Version: 2.0.9-1

Hi,

The python-pysnmp2 rules file contains the following:

binary-install/$(DEB_PYTHON_MODULE_PACKAGE)::
        mkdir -p 
debian/$(DEB_PYTHON_MODULE_PACKAGE)/$(cdbs_python_support_path)/pysnmp/v2/

        mv 
debian/$(DEB_PYTHON_MODULE_PACKAGE)/$(cdbs_python_support_path)/pysnmp/*.py \
                
debian/$(DEB_PYTHON_MODULE_PACKAGE)/$(cdbs_python_support_path)/pysnmp/v2/

With the upcoming version of python-support (currently in experimental),
such statements will make the package FTBFS, since the files are now
moved to a different directory (/usr/share/pyshared).

I suggest to do these things before the dh_pysupport call, and from the
standard installation directory:

install/$(DEB_PYTHON_MODULE_PACKAGE)::
        mkdir -p 
debian/$(DEB_PYTHON_MODULE_PACKAGE)/usr/lib/python$(cdbs_python_current_version)/site-packages/pysnmp/v2/
        …

As a general rule, please do not rely on the internals of python-support
in the packaging; this will avoid such issues in the future (although
hopefully there won’t be a need to change the paths any further).

Thanks,
-- 
 .''`.      Debian 5.0 "Lenny" has been released!
: :' :
`. `'   Last night, Darth Vader came down from planet Vulcan and told
  `-    me that if you don't install Lenny, he'd melt your brain.

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to