[Python-modules-commits] r22537 - in packages/mpmath/trunk/debian (changelog rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sun Aug 19 15:49:42 UTC 2012


    Date: Sunday, August 19, 2012 @ 15:49:41
  Author: morph
Revision: 22537

* debian/rules
  - remove files not compatible with python2 from python-mpmath package;
    Closes: #679200, #624105

Modified:
  packages/mpmath/trunk/debian/changelog
  packages/mpmath/trunk/debian/rules

Modified: packages/mpmath/trunk/debian/changelog
===================================================================
--- packages/mpmath/trunk/debian/changelog	2012-08-19 15:32:24 UTC (rev 22536)
+++ packages/mpmath/trunk/debian/changelog	2012-08-19 15:49:41 UTC (rev 22537)
@@ -9,8 +9,11 @@
     - use dh_sphinxdoc
     - convert to dh sequencer
     - provide the Python 3 package; Closes: #624101
+  * debian/rules
+    - remove files not compatible with python2 from python-mpmath package;
+      Closes: #679200, #624105
 
- -- Sandro Tosi <morph at debian.org>  Sun, 19 Aug 2012 17:31:46 +0200
+ -- Sandro Tosi <morph at debian.org>  Sun, 19 Aug 2012 17:49:25 +0200
 
 mpmath (0.17-1) unstable; urgency=low
 

Modified: packages/mpmath/trunk/debian/rules
===================================================================
--- packages/mpmath/trunk/debian/rules	2012-08-19 15:32:24 UTC (rev 22536)
+++ packages/mpmath/trunk/debian/rules	2012-08-19 15:49:41 UTC (rev 22537)
@@ -44,6 +44,11 @@
 		$$python setup.py install --root=debian/python3-mpmath --install-layout=deb; \
 	done
 
+	# remove files not compatible with Python 2
+	find debian/python-mpmath -name "exec_py3.py" -delete
+	find debian/python-mpmath -name "extratest_gamma.py" -delete
+	find debian/python-mpmath -name "torture.py" -delete
+
 	# remove files not compatible with Python 3.x
 	find debian/python3-mpmath -name "exec_py2.py" -delete
 




More information about the Python-modules-commits mailing list