From 243e370b076403203341e035322cd2b9e1203de5 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 7 Jul 2016 17:30:00 +0200 Subject: [PATCH] python-pyzmq: update to 15.3.0 --- .../patches/pyzmq-cython-0.24.patch | 33 ------------------- srcpkgs/python-pyzmq/template | 8 ++--- 2 files changed, 4 insertions(+), 37 deletions(-) delete mode 100644 srcpkgs/python-pyzmq/patches/pyzmq-cython-0.24.patch diff --git a/srcpkgs/python-pyzmq/patches/pyzmq-cython-0.24.patch b/srcpkgs/python-pyzmq/patches/pyzmq-cython-0.24.patch deleted file mode 100644 index e6ad1552e6a..00000000000 --- a/srcpkgs/python-pyzmq/patches/pyzmq-cython-0.24.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 659f9211aad1565543e26ef6877456d017c9d5bb Mon Sep 17 00:00:00 2001 -From: Min RK -Date: Tue, 8 Mar 2016 09:17:05 +0100 -Subject: [PATCH] remove unused, deprecated `_handle` - -Cython 0.24 may not support property assignment ---- - zmq/backend/cython/context.pyx | 8 ++------ - 1 file changed, 2 insertions(+), 6 deletions(-) - -diff --git zmq/backend/cython/context.pyx zmq/backend/cython/context.pyx -index 2cb7409..3595c10 100644 ---- zmq/backend/cython/context.pyx -+++ zmq/backend/cython/context.pyx -@@ -108,16 +108,12 @@ cdef class Context: - if self._n_sockets: - # move last handle to closed socket's index - self._sockets[idx] = self._sockets[self._n_sockets] -- -- -+ - @property - def underlying(self): - """The address of the underlying libzmq context""" - return self.handle -- -- # backward-compat, though nobody is using it -- _handle = underlying -- -+ - cdef inline int _term(self): - cdef int rc=0 - if self.handle != NULL and not self.closed and getpid() == self._pid: diff --git a/srcpkgs/python-pyzmq/template b/srcpkgs/python-pyzmq/template index ecea3c6c3a4..02ee6ed1e23 100644 --- a/srcpkgs/python-pyzmq/template +++ b/srcpkgs/python-pyzmq/template @@ -1,7 +1,7 @@ # Template file for 'python-pyzmq' pkgname=python-pyzmq -version=15.2.0 -revision=2 +version=15.3.0 +revision=1 wrksrc="pyzmq-${version}" build_style=python-module make_build_args="--zmq=${XBPS_CROSS_BASE}/usr" @@ -12,10 +12,10 @@ hostmakedepends="pkg-config python-devel python3.4-devel python-Cython makedepends="${hostmakedepends/pkg-config/}" short_desc="Python2 bindings for the ZeroMQ messaging library" maintainer="Alessio Sergi " -homepage="https://github.com/zeromq/pyzmq" +homepage="https://pyzmq.readthedocs.io/" license="LGPL-3, 3-clause-BSD" distfiles="https://github.com/zeromq/pyzmq/archive/v${version}.tar.gz" -checksum=aced0b1cc71cf14e979ee8afe84c243f97e203d0e5e4bad05c467649573e9e75 +checksum=777b6abb7acf23e7f21e0a294385a9a0b07ce6ce3b9f1e336f0a1d3774233a44 pre_build() { cat > setup.cfg <<-EOF