Package: pycha Version: 0.4.1-1 Hi,
The pycha rules file contains the following:
# Launch unittests
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
binary-post-install/python-pycha:: binary-post-install/%:
PYTHONPATH='debian/$(cdbs_curpkg)/usr/share/python-support/$(cdbs_curpkg)/' \
python tests/runner.py
# Importing the modules generates .pyc files, and dh_python (which
# normally cleans them) has already been run. Remove them manually.
find 'debian/$(cdbs_curpkg)' -name '*.py[co]' -print0 \
| xargs -0 rm -f --
endif
With the upcoming version of python-support (currently in experimental),
such statements will make the package FTBFS, since the files are now
moved to a different directory (/usr/share/pyshared).
I suggest to launch the unit tests before the call to dh_pysupport. As
there doesn’t seem to be a compelling reason to launch them using the
installed modules, you can just launch them from the sources directory
and the result will be the same.
As a general rule, please do not rely on the internals of python-support
in the packaging; this will avoid such issues in the future (although
hopefully there won’t be a need to change the paths any further).
Thanks,
--
.''`. Debian 5.0 "Lenny" has been released!
: :' :
`. `' Last night, Darth Vader came down from planet Vulcan and told
`- me that if you don't install Lenny, he'd melt your brain.
signature.asc
Description: Ceci est une partie de message numériquement signée

