From c12fc531ab6b1705e03c1f2cc36b5566ecc538e2 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 11 Nov 2014 13:12:09 -0500 Subject: remove pypy and python3 for backporting compatibility --- debian/changelog | 1 + debian/control | 68 -------------------------------------------------------- debian/rules | 22 +----------------- 3 files changed, 2 insertions(+), 89 deletions(-) diff --git a/debian/changelog b/debian/changelog index fdf33b1..d0584d9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ pyzmq (14.4.1-1.1) unstable; urgency=medium * Non-maintainer upload. * Upgrade to bugfix release + * Remove build against pypy, python3 for backport compat -- Micah Anderson Tue, 11 Nov 2014 11:59:33 -0500 diff --git a/debian/control b/debian/control index f052973..fcead35 100644 --- a/debian/control +++ b/debian/control @@ -9,15 +9,11 @@ Build-Depends: cython (>= 0.16), dh-python (>= 1.20131021-1~), dpkg-dev (>= 1.16.1~), libzmq3-dev, - pypy (>= 2.2), python-all-dbg (>= 2.6.6-3~), python-all-dev (>= 2.6.6-3~), python-nose, python-numpy, python-setuptools, - python3 (>= 3.3.0-2), - python3-all-dbg (>= 3.2), - python3-all-dev (>= 3.2) Standards-Version: 3.9.5 X-Python-Version: >= 2.6 X-Python3-Version: >= 3.2 @@ -65,67 +61,3 @@ Description: Python bindings for 0MQ library - debugging files . 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. - -Package: pypy-zmq -Architecture: any -Depends: gcc, - libzmq3-dev, - pypy (>= 2.2), - ${misc:Depends}, - ${pypy:Depends}, - ${shlibs:Depends} -Description: PyPy 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 PyPy interpreter. diff --git a/debian/rules b/debian/rules index e6019cc..b15fe5c 100755 --- a/debian/rules +++ b/debian/rules @@ -6,42 +6,22 @@ include /usr/share/dpkg/buildflags.mk ARCHITECTURE := $(shell dpkg-architecture -qDEB_HOST_ARCH) export PYBUILD_DESTDIR_python2=debian/python-zmq/ export PYBUILD_DESTDIR_python2-dbg=debian/python-zmq-dbg/ -export PYBUILD_DESTDIR_python3=debian/python3-zmq/ -export PYBUILD_DESTDIR_python3-dbg=debian/python3-zmq-dbg/ -export PYBUILD_DESTDIR_pypy=debian/pypy-zmq/ export PYBUILD_DEBUG=1 export DH_VERBOSE=1 %: - dh $@ --with python2,python3,pypy --buildsystem=pybuild + dh $@ --with python2 --buildsystem=pybuild override_dh_install: dh_install # remove a couple of header files already in python3-zmq - find debian/python3-zmq-dbg/usr/lib/ ! -type d ! -name '*.so' -delete find debian/python-zmq-dbg/usr/lib/ ! -type d ! -name '*.so' -delete - # cffi is only used for pypy - rm -rf debian/python-zmq/usr/lib/python*/dist-packages/zmq/backend/cffi/ - rm -rf debian/python-dbg-zmq/usr/lib/python*/dist-packages/zmq/backend/cffi/ - rm -rf debian/python3-zmq/usr/lib/python*/dist-packages/zmq/backend/cffi/ - rm -rf debian/python3-dbg-zmq/usr/lib/python*/dist-packages/zmq/backend/cffi/ find debian/python*-zmq/ -name compiler.json -delete find debian/python*-zmq/ -name config.json -delete # cython core is only used for cpython - rm -rf debian/pypy-zmq/usr/lib/pypy/dist-packages/zmq/backend/cython - - # build shared libraries for pypy and install them - pypy -c 'import zmq' - mv -v zmq/backend/cffi/__pycache__/*so \ - $(CURDIR)/debian/pypy-zmq/usr/lib/pypy/dist-packages/zmq/backend/cffi - # put there by install, not needed - rm -f $(CURDIR)/debian/pypy-zmq/usr/lib/pypy/dist-packages/_cffi*.so find debian/python-zmq -depth -type d -empty -exec rmdir {} \; find debian/python-zmq-dbg -type d -depth -empty -exec rmdir {} \; - find debian/python3-zmq -depth -type d -empty -exec rmdir {} \; - find debian/python3-zmq-dbg -type d -depth -empty -exec rmdir {} \; - find debian/pypy-zmq -type d -depth -empty -exec rmdir {} \; override_dh_auto_test: echo "skipping test" -- cgit v1.2.3