pybuild (Re: image-file-in-usr-lib)

2015-05-11 Thread Ole Streicher
Ben Finney ben+deb...@benfinney.id.au writes: Ole Streicher oleb...@debian.org writes: Installing the non-program files to ‘/usr/share/foopackage/images/’ (for example) is simple enough, using ‘dh_install’. I am using pybuild, and I am wondering why it doesn't do this automatically (maybe with

Re: pybuild (Re: image-file-in-usr-lib)

2015-05-11 Thread Ben Finney
Ole Streicher oleb...@debian.org writes: Ben Finney ben+deb...@benfinney.id.au writes: Ole Streicher oleb...@debian.org writes: Installing the non-program files to ‘/usr/share/foopackage/images/’ (for example) is simple enough, using ‘dh_install’. I am using pybuild, and I am wondering

Re: pybuild (Re: image-file-in-usr-lib)

2015-05-11 Thread Charles Plessy
Le Mon, May 11, 2015 at 09:03:53AM +0200, Ole Streicher a écrit : The Debian Policy [4] states (9.1.1): | 1. The FHS requirement that architecture-independent application- | specific static files be located in /usr/share is relaxed to a | suggestion. In particular, a subdirectory of

Re: pybuild (Re: image-file-in-usr-lib)

2015-05-11 Thread Matthias Klose
On 05/11/2015 09:03 AM, Ole Streicher wrote: Ben Finney ben+deb...@benfinney.id.au writes: Ole Streicher oleb...@debian.org writes: Installing the non-program files to ‘/usr/share/foopackage/images/’ (for example) is simple enough, using ‘dh_install’. I am using pybuild, and I am wondering

Re: pybuild (Re: image-file-in-usr-lib)

2015-05-11 Thread Ole Streicher
Matthias Klose d...@debian.org writes: The FHS never talks about putting *code* into /usr/share. So pybuild is right from my point of view to put it in /usr/lib. I think the Debian Policy is quite clear here: | [...] However, when a directory is entirely composed of | architecture-independent

Re: pybuild (Re: image-file-in-usr-lib)

2015-05-11 Thread Ole Streicher
Charles Plessy ple...@debian.org writes: indeed, this is a recent change in the Policy (see bugs.debian.org/741304). Putting pure python packages (Architecture: all) into /usr/lib is IMO still not coved by the Debian Policy. Probably Lintian is lagging behind. Maybe somebody can ping bug

Re: pybuild (Re: image-file-in-usr-lib)

2015-05-11 Thread Simon McVittie
On 11/05/15 08:03, Ole Streicher wrote: What is the rationale between having all this in /usr/lib? Conversely, it might be informative to consider the rationale for /usr/lib and /usr/share being separate: This hierarchy is intended to be shareable among all architecture platforms of a given