[Reproducible-builds] Bug#824420: python-phply: Building with DEB_BUILD_OPTIONS="nocheck" causes parsetab.py not to be included

Cara ceridwen.debian.bugs+debianbugs at gmail.com
Sun May 15 18:32:24 UTC 2016

Package: python-phply
Version: 0.9.1-3
Severity: minor
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness

Dear Maintainer,

While checking this package with the reproducible builds[1] tool
chain, I noticed that building the package with
DEB_BUILD_OPTIONS="nocheck" set causes the file parsetab.py not to be
included in the final .deb, because the tests are what cause
parsetab.py to be generated.  Another PLY-based package,
pycparser, has a specific file _build_tables.py[2] that's called by
setup.py and by the debian version's rules[3] to build the parse
tables during installation, so a similar solution would probably work
for python-phply.

 [1]: https://wiki.debian.org/ReproducibleBuilds
 [3]: https://anonscm.debian.org/viewvc/python-modules/packages/pycparser/trunk/debian/rules?revision=34279&view=markup

-- System Information:
Debian Release: jessie/sid
  APT prefers wily-updates
  APT policy: (500, 'wily-updates'), (500, 'wily-security'), (500, 'wily'), (100, 'wily-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-35-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information

More information about the Reproducible-builds mailing list