[Python-modules-commits] r13377 - in packages/nltk/trunk/debian (python-nltk.examples rules)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Fri Jun 11 11:12:31 UTC 2010


    Date: Friday, June 11, 2010 @ 11:12:17
  Author: jwilk
Revision: 13377

Install nltk/test/* only as examples.

Added:
  packages/nltk/trunk/debian/python-nltk.examples
Modified:
  packages/nltk/trunk/debian/rules

Added: packages/nltk/trunk/debian/python-nltk.examples
===================================================================
--- packages/nltk/trunk/debian/python-nltk.examples	                        (rev 0)
+++ packages/nltk/trunk/debian/python-nltk.examples	2010-06-11 11:12:17 UTC (rev 13377)
@@ -0,0 +1 @@
+nltk/test/*

Modified: packages/nltk/trunk/debian/rules
===================================================================
--- packages/nltk/trunk/debian/rules	2010-06-11 11:05:12 UTC (rev 13376)
+++ packages/nltk/trunk/debian/rules	2010-06-11 11:12:17 UTC (rev 13377)
@@ -5,6 +5,10 @@
 	rm -Rf nltk/etree/
 	dh_auto_build
 
+override_dh_auto_install:
+	dh_auto_install
+	rm -Rf debian/*/usr/lib/python*/*-packages/nltk/test/
+
 .PHONY: build build-arch build-indep binary binary-arch binary-indep clean
 build build-arch build-indep binary binary-indep clean:
 	dh $(@)




More information about the Python-modules-commits mailing list