[Python-modules-commits] r8321 - in packages/python-whoosh/trunk/debian (rules)

odd_bloke-guest at users.alioth.debian.org odd_bloke-guest at users.alioth.debian.org
Tue Apr 28 14:01:34 UTC 2009


    Date: Tuesday, April 28, 2009 @ 14:01:31
  Author: odd_bloke-guest
Revision: 8321

Don't hardcode path to pyparsing.py.

Modified:
  packages/python-whoosh/trunk/debian/rules

Modified: packages/python-whoosh/trunk/debian/rules
===================================================================
--- packages/python-whoosh/trunk/debian/rules	2009-04-28 13:12:39 UTC (rev 8320)
+++ packages/python-whoosh/trunk/debian/rules	2009-04-28 14:01:31 UTC (rev 8321)
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 
+include /usr/share/python/python.mk
 include /usr/share/quilt/quilt.make
 
 clean: unpatch
@@ -13,7 +14,7 @@
 
 install: build
 	dh $@ --before dh_pysupport
-	rm -f debian/python-whoosh/usr/lib/python2.5/site-packages/whoosh/support/pyparsing.py
+	rm -f debian/python-whoosh$(call py_libdir,$(shell pyversions -vd))/whoosh/support/pyparsing.py
 	dh $@ --remaining
 
 binary-indep: install




More information about the Python-modules-commits mailing list