[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pybuild: python2,python3 and dh_installexamples



[Mathieu Malaterre, 2014-02-05]
> [CC me please]
> 
> Dear all,
> 
>   I am trying to build a python3 package from an existing package:
> openslide-python.
>   After following recommendations from:
> 
> https://wiki.debian.org/Python/LibraryStyleGuide
> 
>   Here is what I get:
> 
> http://packages.debian.org/sid/all/python3-openslide/filelist
> 
> clearly it is missing the examples files:
> 
> http://packages.debian.org/sid/all/python-openslide/filelist
> 
>   The rules file simply reads:
> 
> [...]
> override_dh_installexamples:
>   dh_installexamples -Xjquery.js examples/*
>   dh_link usr/share/javascript/jquery/jquery.js
> usr/share/doc/python-openslide/examples/deepzoom/static/jquery.js
> [...]
> 
>   I understand that the dh_link line is incomplete, however I do not
> understand why dh_installexamples did not work.

my guess is: you added second binary package, debhelper doesn't know
anymore which package you wanted, so installs to debian/tmp/...
-- 
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: