Package: cdbs
Version: 0.4.40
Severity: normal
Tags: patch
When using DEB_PYTHON_COMPILE_VERSION to compile with a specific python
interpreter, dh_python is not called with this version. So its call does
not do anything (and no scripts are generated to compile and remove
optimized modules)
So, I suggest to replace the line:
dh_python -p$(cdbs_curpkg)
By one of the following:
dh_python -p$(cdbs_curpkg) $(addprefix -V
,$(DEB_PYTHON_COMPILE_VERSION))
or
dh_python -p$(cdbs_curpkg) $(DEB_DH_PYTHON_ARGS_ALL)
$(DEB_DH_PYTHON_ARGS_$(cdbs_curpkg))
The latter also allows to specify non standard python directory to
dh_python. You can the add:
DEB_DH_PYTHON_ARGS_ALL = $(addprefix -V ,$(DEB_PYTHON_COMPILE_VERSION))
Best regards,
Vincent
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc3-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
cdbs depends on no packages.
Versions of packages cdbs recommends:
ii autotools-dev 20060223.1 Update infrastructure for config.{
ii debhelper 5.0.35 helper programs for debian/rules
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]