Package: cdbs Version: 0.4.41 Severity: normal Tags: patch CDBS should be using the options '--no-compile -O0' when calling setup.py at install time to avoid compiling .py files, but the variable that sets that value (DEB_PYTHON_INSTALL_ARGS_ALL), is not used (the name on the rules is 'DEB_PYTHON_INSTALL_ARGS', without the _ALL suffix).
I'm attaching a patch against 'python-distutils.mk' that renames the variable. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (100, 'unstable') Architecture: powerpc (ppc) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-vserver-powerpc Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.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.37.1 helper programs for debian/rules -- no debconf information -- Sergio Talens-Oliag <[EMAIL PROTECTED]> <http://people.debian.org/~sto/> Key fingerprint = 29DF 544F 1BD9 548C 8F15 86EF 6770 052B B8C1 FA69
--- python-distutils.mk.orig 2006-06-14 19:53:33.000000000 +0200 +++ python-distutils.mk 2006-06-15 02:06:50.171215082 +0200 @@ -189,23 +189,23 @@ else common-install-arch common-install-indep:: $(addprefix python-install-so-, $(cdbs_python_build_versions)) python-install-py python-install-so-%: - cd $(DEB_SRCDIR) && python$* $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS) + cd $(DEB_SRCDIR) && python$* $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL) find $(DEB_DESTDIR)/usr/lib/python$* -type f -a ! -name "*.so" -exec rm {} \; find $(DEB_DESTDIR)/usr/lib/python$* -depth -type d -a -empty -exec rmdir {} \; endif # archall detection python-install-py: - cd $(DEB_SRCDIR) && python $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS) --install-lib $(cdbs_python_support_path) + cd $(DEB_SRCDIR) && python $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL) --install-lib $(cdbs_python_support_path) find $(DEB_DESTDIR)/$(cdbs_python_support_path) -type f -a -name "*.so" -exec rm {} \; find $(DEB_DESTDIR)/$(cdbs_python_support_path) -depth -type d -a -empty -exec rmdir {} \; else ifeq (all, $(cdbs_python_module_arch)) common-install-arch common-install-indep:: python-install-py python-install-py: - cd $(DEB_SRCDIR) && python $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS) + cd $(DEB_SRCDIR) && python $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL) else common-install-arch common-install-indep:: $(addprefix python-install-, $(cdbs_python_build_versions)) python-install-%: - cd $(DEB_SRCDIR) && python$* $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS) + cd $(DEB_SRCDIR) && python$* $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL) endif # archall detection endif # install selection
signature.asc
Description: Digital signature