dh-python is already in unstable \o/

To build/install python3-foo or pypy-foo binary packages,
you can use this in debian/rules:

        %:
                dh $@ --with python2,python3,pypy --buildsystem=pybuild

or if you don't want to play with .install files:

        export PYBUILD_DESTDIR_python2=debian/python-foo/
        export PYBUILD_DESTDIR_python2-dbg=debian/python-foo-dbg/
        export PYBUILD_DESTDIR_python3=debian/python3-foo/
        export PYBUILD_DESTDIR_python3-dbg=debian/python3-foo-dbg/
        export PYBUILD_DESTDIR_pypy=debian/pypy-foo/

        %:
                dh $@ --with python2,python3,pypy --buildsystem=pybuild

See pybuild(1) and dh_pypy(1) for more info.
Note that adding dh-python to Build-Depends enables multiarch support in 
dh_python2
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130802131535.ga22...@p1otr.com

Reply via email to