[Python-modules-commits] r23580 - in packages/pyzmq/trunk/debian (3 files)

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Sun Feb 24 20:30:34 UTC 2013


    Date: Sunday, February 24, 2013 @ 20:30:33
  Author: jtaylor-guest
Revision: 23580

simplify clean rules by just deleting build/

removes need for the patch

Modified:
  packages/pyzmq/trunk/debian/rules
Deleted:
  packages/pyzmq/trunk/debian/patches/fix_distutils.diff
  packages/pyzmq/trunk/debian/patches/series

Deleted: packages/pyzmq/trunk/debian/patches/fix_distutils.diff
===================================================================
--- packages/pyzmq/trunk/debian/patches/fix_distutils.diff	2013-02-24 20:30:26 UTC (rev 23579)
+++ packages/pyzmq/trunk/debian/patches/fix_distutils.diff	2013-02-24 20:30:33 UTC (rev 23580)
@@ -1,20 +0,0 @@
-Description: disable distutils clean command provided by upstream
- The distutils clean command provided by upstream is disabled because
- it fails to recognize -a flag. The problem is resolved when that
- command is disabled.
-Bug-Debian: http://bugs.debian.org/590633
-Forwarded: no
-Last-Update: 2011-05-21
-
---- a/setup.py
-+++ b/setup.py
-@@ -502,7 +502,8 @@
- # Extensions
- #-----------------------------------------------------------------------------
- 
--cmdclass = {'test':TestCommand, 'clean':CleanCommand, 'revision':GitRevisionCommand,
-+#cmdclass = {'test':TestCommand, 'clean':CleanCommand, 'revision':GitRevisionCommand,
-+cmdclass = {'test':TestCommand, 'revision':GitRevisionCommand,
-             'configure': Configure, 'build': CopyingBuild}
- 
- def pxd(subdir, name):

Deleted: packages/pyzmq/trunk/debian/patches/series
===================================================================
--- packages/pyzmq/trunk/debian/patches/series	2013-02-24 20:30:26 UTC (rev 23579)
+++ packages/pyzmq/trunk/debian/patches/series	2013-02-24 20:30:33 UTC (rev 23580)
@@ -1 +0,0 @@
-fix_distutils.diff

Modified: packages/pyzmq/trunk/debian/rules
===================================================================
--- packages/pyzmq/trunk/debian/rules	2013-02-24 20:30:26 UTC (rev 23579)
+++ packages/pyzmq/trunk/debian/rules	2013-02-24 20:30:33 UTC (rev 23580)
@@ -21,12 +21,10 @@
 	  find zmq -name '*.c' -delete; \
 	  find zmq -name '*.so' -delete; \
 	fi
-	set -e && for pyv in $(PY3VERS); do \
-	  python$$pyv setup.py clean -a; \
-	  python$$pyv-dbg setup.py clean -a; \
-	done
+	rm -rf build
 	find $(CURDIR) -name "*.pyc" -delete
 	rm -f conf/*.pickle
+	rm -f conf/*.json
 
 override_dh_install:
 	# Install everything excluding the *_d.so debug extensions to python-zmq




More information about the Python-modules-commits mailing list