[Python-modules-commits] r26054 - in packages/pyzmq/branches/squeeze-backports-sloppy/debian (5 files)

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Sat Oct 5 12:55:33 UTC 2013


    Date: Saturday, October 5, 2013 @ 12:55:31
  Author: jtaylor-guest
Revision: 26054

* Rebuild for squeeze-backports-sloppy.
* Removed support for python3 and python2.5
* depend on cython >= 0.16 from backports
* disable python3 autopkgtest
* disable python-gevent autopkgtest, does not work with squeeze version

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

Modified: packages/pyzmq/branches/squeeze-backports-sloppy/debian/changelog
===================================================================
--- packages/pyzmq/branches/squeeze-backports-sloppy/debian/changelog	2013-10-05 12:54:01 UTC (rev 26053)
+++ packages/pyzmq/branches/squeeze-backports-sloppy/debian/changelog	2013-10-05 12:55:31 UTC (rev 26054)
@@ -1,3 +1,16 @@
+pyzmq (13.1.0-1~bpo60+1) squeeze-backports-sloppy; urgency=low
+
+  [ Joe Healy ]
+  * Rebuild for squeeze-backports-sloppy.
+  * Removed support for python3 and python2.5
+
+  [ Julian Taylor ]
+  * depend on cython >= 0.16 from backports
+  * disable python3 autopkgtest
+  * disable python-gevent autopkgtest, does not work with squeeze version
+
+ -- Joe Healy <joehealy at gmail.com>  Sun, 01 Sep 2013 21:34:24 +1000
+
 pyzmq (13.1.0-1) unstable; urgency=low
 
   * New upstream release built with zeromq3 (Closes: #698830)

Modified: packages/pyzmq/branches/squeeze-backports-sloppy/debian/control
===================================================================
--- packages/pyzmq/branches/squeeze-backports-sloppy/debian/control	2013-10-05 12:54:01 UTC (rev 26053)
+++ packages/pyzmq/branches/squeeze-backports-sloppy/debian/control	2013-10-05 12:55:31 UTC (rev 26054)
@@ -4,8 +4,8 @@
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Miguel Landaeta <miguel at miguel.cc>,
            Julian Taylor <jtaylor.debian at googlemail.com>
-Build-Depends: cython (>= 0.13),
-               cython-dbg (>= 0.13),
+Build-Depends: cython (>= 0.16),
+               cython-dbg (>= 0.16),
                debhelper (>= 7.0.50~),
                dpkg-dev (>= 1.16.1~),
                libzmq3-dev,
@@ -13,12 +13,9 @@
                python-all-dev (>= 2.6.6-3~),
                python-nose,
                python-numpy,
-               python-setuptools,
-               python3-all-dbg (>= 3.2),
-               python3-all-dev (>= 3.2)
+               python-setuptools
 Standards-Version: 3.9.4
-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://anonscm.debian.org/python-modules/packages/pyzmq/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pyzmq/trunk/
@@ -64,44 +61,3 @@
  .
  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-sloppy/debian/rules
===================================================================
--- packages/pyzmq/branches/squeeze-backports-sloppy/debian/rules	2013-10-05 12:54:01 UTC (rev 26053)
+++ packages/pyzmq/branches/squeeze-backports-sloppy/debian/rules	2013-10-05 12:55:31 UTC (rev 26054)
@@ -1,20 +1,12 @@
 #!/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 \
@@ -33,22 +25,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
-
-	# only for pypy
-	rm -rf debian/python-zmq/usr/lib/python*/dist-packages/zmq/cffi_core/
-	rm -rf debian/python-dbg-zmq/usr/lib/python*/dist-packages/zmq/cffi_core/
-	rm -rf debian/python3-zmq/usr/lib/python*/dist-packages/zmq/cffi_core/
-	rm -rf debian/python3-dbg-zmq/usr/lib/python*/dist-packages/zmq/cffi_core/
-
 	# Continue with regular dh_install
 	dh_install
 
@@ -62,22 +38,8 @@
 			$$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:
 	cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
 	uscan \

Modified: packages/pyzmq/branches/squeeze-backports-sloppy/debian/tests/control
===================================================================
--- packages/pyzmq/branches/squeeze-backports-sloppy/debian/tests/control	2013-10-05 12:54:01 UTC (rev 26053)
+++ packages/pyzmq/branches/squeeze-backports-sloppy/debian/tests/control	2013-10-05 12:55:31 UTC (rev 26054)
@@ -1,5 +1,2 @@
 Tests: python2
-Depends: python-all, python-all-dbg, python-zmq, python-zmq-dbg, python-nose, python-numpy-dbg, python-numpy, python-tornado, python-gevent, python-gevent-dbg
-
-Tests: python3
-Depends: python3-all, python3-all-dbg, python3-zmq, python3-zmq-dbg, python3-nose, python3-numpy, python3-numpy-dbg, python3-tornado
+Depends: python-all, python-all-dbg, python-zmq, python-zmq-dbg, python-nose, python-numpy-dbg, python-numpy, python-tornado

Modified: packages/pyzmq/branches/squeeze-backports-sloppy/debian/tests/python2
===================================================================
--- packages/pyzmq/branches/squeeze-backports-sloppy/debian/tests/python2	2013-10-05 12:54:01 UTC (rev 26053)
+++ packages/pyzmq/branches/squeeze-backports-sloppy/debian/tests/python2	2013-10-05 12:55:31 UTC (rev 26054)
@@ -7,7 +7,7 @@
 
 for py in $pys; do
     echo "=== $py ==="
-    $py /usr/bin/nosetests -v zmq 2>&1
+    $py /usr/bin/nosetests -v zmq.tests 2>&1
     echo "=== $py-dbg ==="
-    $py-dbg /usr/bin/nosetests -v zmq 2>&1
+    $py-dbg /usr/bin/nosetests -v zmq.tests 2>&1
 done




More information about the Python-modules-commits mailing list