Re: package with multiple modules name spaces
[PICCA Frederic-Emmanuel, 2015-07-17]
> I am working on a source package pymca, which will provide 2 modules
> PyMca5 and fisx
[...]
> export PYBUILD_NAME=pymca5
> %:
> dh $@ --with python2,python3 --buildsystem=pybuild
you can
1) invoke dh twice with different set of options (if these modules
are in two different directories or use two different setup.py
files/options)
or
2) (ab)use --ext-dest-dir/--ext-pattern to move some files to different
package, f.e. like this:
export PYBUILD_EXT_DESTDIR_python2=debian/python-fisx
export PYBUILD_EXT_DESTDIR_python3=debian/python3-fisx
export PYBUILD_EXT_PATTERN='.*/fisx/.*'
but in your case: you should package fisx¹ as a separate source package
and remove fish from pymca5 upstream tarball (hint: uscan does that for
you if you use DEP5 format in debian/copyright and fill in
Files-Excluded header in there)
[¹] https://github.com/vasole/fisx
--
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
Reply to: