[Python-modules-commits] r8548 - in packages/pyparsing/trunk/debian (rules)

shlomme at users.alioth.debian.org shlomme at users.alioth.debian.org
Thu May 21 20:25:50 UTC 2009


    Date: Thursday, May 21, 2009 @ 20:25:50
  Author: shlomme
Revision: 8548

don't install python 3 modules

Modified:
  packages/pyparsing/trunk/debian/rules

Modified: packages/pyparsing/trunk/debian/rules
===================================================================
--- packages/pyparsing/trunk/debian/rules	2009-05-21 20:06:11 UTC (rev 8547)
+++ packages/pyparsing/trunk/debian/rules	2009-05-21 20:25:50 UTC (rev 8548)
@@ -7,6 +7,7 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
 include /usr/share/cdbs/1/rules/dpatch.mk
+include /usr/share/python/python.mk
 
 DEB_PYTHON_INSTALL_ARGS_ALL += --install-layout=deb
 
@@ -17,8 +18,11 @@
 	pyparsingClassDiagram.PNG docs/*
 DEB_DH_ALWAYS_EXCLUDE := .svn
 
-# convert CRLF to LF
+install/python-pyparsing::
+	rm debian/python-pyparsing/$(call py_libdir,$(shell pyversions -d))/pyparsing_py3.py
+
 binary-post-install/%::
+	# convert CRLF to LF
 	find 'debian/$(cdbs_curpkg)' \
 		\( -name '*.html' -o -name '*.css' -o -name '*.py' \
 			-o -name 'README' \) \




More information about the Python-modules-commits mailing list