[Build-common-hackers] Bug#633820: cdbs: needs a way to pass options to dh_python*
Felipe Sateler
fsateler at debian.org
Thu Jul 14 02:20:30 UTC 2011
Package: cdbs
Version: 0.4.94
Severity: normal
Tags: patch
CDBS should allow pssing options to dh_python* helpers. The attached
patch should do it. This allows to pass an appropriate -V option to
dh_python2, for example.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cdbs depends on:
ii debhelper 8.9.0 helper programs for debian/rules
Versions of packages cdbs recommends:
ii autotools-dev 20110511.1 Update infrastructure for config.{
Versions of packages cdbs suggests:
ii devscripts 2.11.0 scripts to make the life of a Debi
-- no debconf information
-------------- next part --------------
--- /usr/share/cdbs/1/class/python-module.mk 2011-05-24 04:06:04.000000000 -0400
+++ python-module.mk 2011-07-13 22:16:03.000000000 -0400
@@ -49,6 +49,6 @@
# broken behavior for legacy systems (see bug#377965)
$(patsubst %,binary-post-install/%,$(DEB_PACKAGES)) :: binary-post-install/%: binary-install-python/%
$(patsubst %,binary-install-python/%,$(DEB_PACKAGES)) :: binary-install-python/%: binary-install/%
- $(if $(DEB_PYTHON_SYSTEM)$(cdbs_curpythonsystems),dh_$(cdbs_curpythonsystems) -p$(cdbs_curpkg) $(DEB_PYTHON_PRIVATE_MODULES_DIRS) $(DEB_PYTHON_PRIVATE_MODULES_DIRS_$(cdbs_curpkg)))
+ $(if $(DEB_PYTHON_SYSTEM)$(cdbs_curpythonsystems),dh_$(cdbs_curpythonsystems) $(DEB_PYTHON_EXTRA_ARGS) -p$(cdbs_curpkg) $(DEB_PYTHON_PRIVATE_MODULES_DIRS) $(DEB_PYTHON_PRIVATE_MODULES_DIRS_$(cdbs_curpkg)))
endif
More information about the Build-common-hackers
mailing list