Package: pypy-py
Version: 1.5.3-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

a test with piuparts revealed that your package uses files from
/usr/share/doc in its maintainer scripts which is a violation of
Policy 12.3: "Packages must not require the existence of any files in
/usr/share/doc/ in order to function."
https://www.debian.org/doc/debian-policy/#additional-documentation

These files must be moved to /usr/share/$PACKAGE and may be symlinked
from /usr/share/doc/$PACKAGE.

This piuparts test prevents the installation of (most) files into
/usr/share/doc with 'dpkg --path-exclude=...'.

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package pypy-py.
  (Reading database ... 
(Reading database ... 7663 files and directories currently installed.)
  Preparing to unpack .../pypy-py_1.5.3-1_all.deb ...
  Unpacking pypy-py (1.5.3-1) ...
  Setting up pypy-py (1.5.3-1) ...
  Traceback (most recent call last):
    File "/usr/bin/pypycompile", line 100, in <module>
      main()
    File "/usr/bin/pypycompile", line 93, in main
      py_compile.compile(module, doraise=True)
    File "/usr/lib/pypy/lib-python/2.7/py_compile.py", line 105, in compile
      with open(file, 'U') as f:
  IOError: [Errno 2] No such file or directory: 
'/usr/share/doc/pypy-py/examples/genhtml.py'
  dpkg: error processing package pypy-py (--configure):
   installed pypy-py package post-installation script subprocess returned error 
exit status 1
  Errors were encountered while processing:
   pypy-py

Cheers,

Andreas

Attachment: pypy-py_1.5.3-1.log.gz
Description: application/gzip

_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to