Date: Fri, 6 Dec 2013 17:05:32 +0000 (UTC) From: Olivier Duchateau <olivierd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335778 - in head/devel/py-gevent-zeromq: . files Message-ID: <201312061705.rB6H5WlP046454@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olivierd Date: Fri Dec 6 17:05:32 2013 New Revision: 335778 URL: http://svnweb.freebsd.org/changeset/ports/335778 Log: - Add patch to unbreak build after recent update of devel/py-pyzmq - Bump PORTREVISION - Convert to new RUN_DEPENDS format - Replace pkg-plist by PYDISTUTILS_AUTOPLIST - Mark this port IGNORE, because it does not run properly with the recent update of devel/py-pyzmq - Mark it DEPRECATED, because devel/py-pyzmq now has gevent support built in Reported by: pkg-fallout, Artur Litwinowicz (private email) Added: head/devel/py-gevent-zeromq/files/ head/devel/py-gevent-zeromq/files/patch-gevent_zeromq__core.pyx (contents, props changed) Deleted: head/devel/py-gevent-zeromq/pkg-plist Modified: head/devel/py-gevent-zeromq/Makefile Modified: head/devel/py-gevent-zeromq/Makefile ============================================================================== --- head/devel/py-gevent-zeromq/Makefile Fri Dec 6 17:01:22 2013 (r335777) +++ head/devel/py-gevent-zeromq/Makefile Fri Dec 6 17:05:32 2013 (r335778) @@ -2,6 +2,7 @@ PORTNAME= gevent-zeromq PORTVERSION= 0.2.5 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,15 +11,19 @@ DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSI MAINTAINER= olivierd@FreeBSD.org COMMENT= Gevent compatibility layer for pyzmq -BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/Cython/__init__.py:${PORTSDIR}/lang/cython -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gevent/__init__.py:${PORTSDIR}/devel/py-gevent \ - ${PYTHON_SITELIBDIR}/zmq/__init__.py:${PORTSDIR}/devel/py-pyzmq +BUILD_DEPENDS= cython:${PORTSDIR}/lang/cython +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gevent>=1.0:${PORTSDIR}/devel/py-gevent \ + ${PYTHON_PKGNAMEPREFIX}pyzmq>=14.0.1:${PORTSDIR}/devel/py-pyzmq + +IGNORE= Does not run properly with devel/py-pyzmq >= 13.0 +DEPRECATED= devel/py-pyzmq has gevent support built in +EXPIRATION_DATE= 2014-01-06 USE_PYTHON= 2.7 USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes # Avoid warning -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|install_requires|#install_requires|' \ ${WRKSRC}/setup.py Added: head/devel/py-gevent-zeromq/files/patch-gevent_zeromq__core.pyx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-gevent-zeromq/files/patch-gevent_zeromq__core.pyx Fri Dec 6 17:05:32 2013 (r335778) @@ -0,0 +1,16 @@ +Adjust import of context.pxd and socket.pxd files after update of +devel/py-pyzmg (>= 14.x). + +--- ./gevent_zeromq/core.pyx.orig 2012-07-13 21:43:35.000000000 +0000 ++++ ./gevent_zeromq/core.pyx 2013-12-04 21:54:31.000000000 +0000 +@@ -10,8 +10,8 @@ + from gevent.event import AsyncResult + from gevent.hub import get_hub + +-from zmq.core.context cimport Context as _Context +-from zmq.core.socket cimport Socket as _Socket ++from zmq.backend.cython.context cimport Context as _Context ++from zmq.backend.cython.socket cimport Socket as _Socket + + + cdef class GreenSocket(_Socket):
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312061705.rB6H5WlP046454>