Le lundi 06 novembre 2006 11:57, Jon Åslund a écrit : > On Mon, Nov 06, 2006 at 03:17:48AM +0100, Adam Cécile (Le_Vert) wrote: > > Package: python-tunepimp > > Version: 0.4.2-3.2 > > Severity: grave > > > > This package do not work at all. Even the included example does not run: > > > > [EMAIL PROTECTED]:/usr/share/doc/python-tunepimp/examples$ ./trm.py > > Traceback (most recent call last): > > File "./trm.py", line 35, in ? > > from tunepimp import tunepimp, metadata, track > > ImportError: No module named tunepimp > > I get the same error. Also for 0.4.2-4. It seems no postinst is in the > package to copy the tunepimp py-files to > /var/lib/python-support/python2.X
Yep that's the problem. > If I change the scary make rule I really think it's scary too, that's why I'm working on a debhelper version of the latest upstream release. I'll see if the maintener is ok to co-maintain this lib with me :-) > $(patsubst %,binary-predeb/%,$(DEB_PACKAGES)) :: binary-predeb/%: > binary-fixup/% > > to > > $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-predeb/%: > binary-fixup/% > > dh_pysupport will be called before dh_installdeb, so that the postinst > file is actually generated before it is copied to the package.