[Build-common-hackers] Re: New python distutils class
Raphael Hertzog
hertzog at debian.org
Wed Jun 14 12:19:15 UTC 2006
On Wed, 14 Jun 2006, Marc Dequènes wrote:
> They all are available in unstable now. You can find in my web directory
> 2 examples (soya and editobj), where, besides bugs in pysupport or
> pycentral, are well built using an updated version of the class :
> http://perso.duckcorp.org/duck/python-new-policy/
Here's a patch for the class, it used "python2.3" instead of "python" for
arch: all packages with pycentral.
Cheers,
--
Raphaël Hertzog
Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/
-------------- next part --------------
--- python-distutils-ng.mk.orig 2006-06-14 13:41:18.000000000 +0200
+++ python-distutils-ng.mk 2006-06-14 13:45:57.000000000 +0200
@@ -115,9 +115,15 @@
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
+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)
+endif # archall detection
+python-install-py:
+ cd $(DEB_SRCDIR) && python $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS)
endif # install selection
More information about the Build-common-hackers
mailing list