[Python-modules-team] Bug#620469: Bug#620496

Oxan van Leeuwen oxan at oxanvanleeuwen.nl
Tue Apr 19 15:05:03 UTC 2011


On 19-04-11 05:14, Clint Byrum wrote:
> 
> Thats great news, and yes I agree with the solution completely. I
> had actually already begun porting the package to dh_python2 in the
> bzr branch:
> 
> https://code.launchpad.net/~clint-fewbar/gearman-interface/debian-packaging

Great!

> I've added some of your tweaks to the branch. However, its not clear to
> me the reason for these two additions to debian/rules:
> 
>     rm -rf python3/build/
>     +   rm -rf python3/gearman/_libgearman*so
>     +   rm -rf python3/gearman/__pycache__
>         [ ! -f python/libgearman.c.orig ] || mv -f python/libgearman.c.orig python/libgearman.c
> 
> I was hoping you could explain those. Once I can explain what that is
> in debian/changelog, I'll get it uploaded.

I needed that change to be able to build the package twice in the same
directory. Ultimately the clean target should return to the state after
unpacking the tarball, so all created files should be deleted.





More information about the Python-modules-team mailing list