[Python-modules-commits] r32254 - in packages/python-levenshtein/trunk/debian (changelog rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Fri Apr 10 12:22:40 UTC 2015


    Date: Friday, April 10, 2015 @ 12:22:39
  Author: morph
Revision: 32254

remove unnecessary installed source code files

Modified:
  packages/python-levenshtein/trunk/debian/changelog
  packages/python-levenshtein/trunk/debian/rules

Modified: packages/python-levenshtein/trunk/debian/changelog
===================================================================
--- packages/python-levenshtein/trunk/debian/changelog	2015-04-10 12:14:36 UTC (rev 32253)
+++ packages/python-levenshtein/trunk/debian/changelog	2015-04-10 12:22:39 UTC (rev 32254)
@@ -9,8 +9,9 @@
     - docs no longer need to be built, install the files from upstream tarball
   * debian/rules
     - keep installing StringMatcher.py as an example
+    - remove unnecessary installed source code files
 
- -- Sandro Tosi <morph at debian.org>  Fri, 10 Apr 2015 13:14:24 +0100
+ -- Sandro Tosi <morph at debian.org>  Fri, 10 Apr 2015 13:22:15 +0100
 
 python-levenshtein (0.11.2-2) unstable; urgency=medium
 

Modified: packages/python-levenshtein/trunk/debian/rules
===================================================================
--- packages/python-levenshtein/trunk/debian/rules	2015-04-10 12:14:36 UTC (rev 32253)
+++ packages/python-levenshtein/trunk/debian/rules	2015-04-10 12:22:39 UTC (rev 32254)
@@ -28,6 +28,10 @@
 	find $(CURDIR)/debian/python-levenshtein-dbg -type f -name "*.egg-info" -delete
 	find $(CURDIR)/debian/python3-levenshtein-dbg -type f -name "*.egg-info" -delete
 
+	# https://github.com/ztane/python-Levenshtein/issues/20
+	rm -f $(CURDIR)/debian/python*-levenshtein*/usr/lib/python*/dist-packages/Levenshtein/_levenshtein.c
+	rm -f $(CURDIR)/debian/python*-levenshtein*/usr/lib/python*/dist-packages/Levenshtein/_levenshtein.h
+
 	# https://github.com/ztane/python-Levenshtein/issues/21
 	rm -f $(CURDIR)/debian/python*-levenshtein*/usr/lib/python*/dist-packages/Levenshtein/StringMatcher.py
 




More information about the Python-modules-commits mailing list