[Python-modules-commits] r22141 - in packages/pyzmq/branches/squeeze-backports/debian (3 files)

jcristau at users.alioth.debian.org jcristau at users.alioth.debian.org
Tue Jun 12 11:37:39 UTC 2012


    Date: Tuesday, June 12, 2012 @ 11:37:35
  Author: jcristau
Revision: 22141

Rebuild for squeeze-backports

- disable python3 package as squeeze doesn't have 3.2
- don't use dpkg-buildflags
- only build for python 2.6, as 2.5 is no longer supported

Modified:
  packages/pyzmq/branches/squeeze-backports/debian/changelog
  packages/pyzmq/branches/squeeze-backports/debian/control
  packages/pyzmq/branches/squeeze-backports/debian/rules

Modified: packages/pyzmq/branches/squeeze-backports/debian/changelog
===================================================================
--- packages/pyzmq/branches/squeeze-backports/debian/changelog	2012-06-12 11:32:47 UTC (rev 22140)
+++ packages/pyzmq/branches/squeeze-backports/debian/changelog	2012-06-12 11:37:35 UTC (rev 22141)
@@ -1,3 +1,11 @@
+pyzmq (2.2.0-1~bpo60+1) squeeze-backports; urgency=low
+
+  * Rebuild for squeeze-backports.
+  * Don't build a python3 package, and don't use dpkg-buildflags.
+  * Bump X-Python-Version, pyzmq 2.2.0 only supports >= 2.6.
+
+ -- Julien Cristau <jcristau at debian.org>  Mon, 11 Jun 2012 12:10:02 +0200
+
 pyzmq (2.2.0-1) unstable; urgency=low
 
   [ Julian Taylor ]

Modified: packages/pyzmq/branches/squeeze-backports/debian/control
===================================================================
--- packages/pyzmq/branches/squeeze-backports/debian/control	2012-06-12 11:32:47 UTC (rev 22140)
+++ packages/pyzmq/branches/squeeze-backports/debian/control	2012-06-12 11:37:35 UTC (rev 22141)
@@ -6,18 +6,14 @@
            Julian Taylor <jtaylor.debian at googlemail.com>
 Build-Depends: cython-dbg (>= 0.13),
                debhelper (>= 7.0.50~),
-               dpkg-dev (>= 1.16.1~),
                libzmq-dev (>= 2.2.0),
                python-all-dbg (>= 2.6.6-3~),
                python-all-dev (>= 2.6.6-3~),
                python-nose,
                python-numpy,
                python-setuptools,
-               python3-all-dbg (>= 3.2),
-               python3-all-dev (>= 3.2)
 Standards-Version: 3.9.3
-X-Python-Version: >= 2.4
-X-Python3-Version: >= 3.2
+X-Python-Version: >= 2.6
 Homepage: http://www.zeromq.org/bindings:python
 Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/pyzmq/trunk
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyzmq/trunk/
@@ -62,45 +58,3 @@
  transport protocols and more.
  .
  This package contains the extension built for the Python debug interpreter.
-
-Package: python3-zmq
-Architecture: any
-Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
-Description: Python3 bindings for 0MQ library
- Python bindings for 0MQ. 0MQ is a small, fast, and free
- software library that gives you message-passing concurrency
- for applications in most common languages.
- .
- The 0MQ lightweight messaging kernel is a library which
- extends the standard socket interfaces with features
- traditionally provided by specialised messaging middleware
- products. 0MQ sockets provide an abstraction of asynchronous
- message queues, multiple messaging patterns, message
- filtering (subscriptions), seamless access to multiple
- transport protocols and more.
- .
- This package contains the extension built for the Python3 interpreter.
-
-Package: python3-zmq-dbg
-Section: debug
-Priority: extra
-Architecture: any
-Depends: python3-zmq (= ${binary:Version}),
-         ${misc:Depends},
-         ${python3:Depends},
-         ${shlibs:Depends}
-Recommends: python-dbg
-Description: Python3 bindings for 0MQ library - debugging files
- Python bindings for 0MQ. 0MQ is a small, fast, and free
- software library that gives you message-passing concurrency
- for applications in most common languages.
- .
- The 0MQ lightweight messaging kernel is a library which
- extends the standard socket interfaces with features
- traditionally provided by specialised messaging middleware
- products. 0MQ sockets provide an abstraction of asynchronous
- message queues, multiple messaging patterns, message
- filtering (subscriptions), seamless access to multiple
- transport protocols and more.
- .
- This package contains the extension built for the Python3 debug interpreter.

Modified: packages/pyzmq/branches/squeeze-backports/debian/rules
===================================================================
--- packages/pyzmq/branches/squeeze-backports/debian/rules	2012-06-12 11:32:47 UTC (rev 22140)
+++ packages/pyzmq/branches/squeeze-backports/debian/rules	2012-06-12 11:37:35 UTC (rev 22141)
@@ -1,30 +1,14 @@
 #!/usr/bin/make -f
 
-PY3VERS = $(shell py3versions -rv)
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-
-
 %:
-	dh $@ --with python2,python3
+	dh $@ --with python2
 
-override_dh_auto_build:
-	dh_auto_build
-	set -e && for pyv in $(PY3VERS); do \
-	  python$$pyvers setup.py build ; \
-	  python$${pyv}-dbg setup.py build ; \
-	done
-
 override_dh_auto_clean:
 	-dh_auto_clean
 	if [ -d zmq ]; then \
 	  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
 	find $(CURDIR) -name "*.pyc" -delete
 	rm -f conf/*.pickle
 
@@ -35,17 +19,6 @@
 	# Install the debug extensions to python-zmq-dbg
 	dh_install "usr/lib/python2.*/*-packages/zmq/*/*_d.so" -p python-zmq-dbg
 
-	# Install python3 files
-	set -e && for pyv in $(PY3VERS); do \
-	  python$$pyv setup.py install --install-layout=deb \
-		--force --no-compile -O0 --root=$(CURDIR)/debian/python3-zmq; \
-	  python$${pyv}-dbg setup.py install --install-layout=deb \
-		--force --no-compile -O0 --root=$(CURDIR)/debian/python3-zmq-dbg; \
-	done
-	# remove a couple of header files already in python3-zmq
-	find debian/python3-zmq-dbg/usr/lib/ ! -type d ! -name '*.so' -delete
-
-
 	# Continue with regular dh_install
 	dh_install
 
@@ -59,20 +32,11 @@
 			$$python$$build setup.py test; \
 		done; \
 	done
-	-set -e; \
-	for python in $(PY3VERS); do \
-		for build in \  -dbg; do \
-			find zmq -name '*.so' -delete; \
-			python$$python$$build setup.py build_ext --inplace; \
-			python$$python$$build setup.py test; \
-		done; \
-	done
 endif
 
 override_dh_strip:
 ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
 	dh_strip -Xpython3 --dbg-package=python-zmq-dbg
-	dh_strip -X"python2.*" --dbg-package=python3-zmq-dbg
 endif
 
 get-orig-source:




More information about the Python-modules-commits mailing list