diff options
author | olivierd <olivierd@FreeBSD.org> | 2013-12-07 01:05:32 +0800 |
---|---|---|
committer | olivierd <olivierd@FreeBSD.org> | 2013-12-07 01:05:32 +0800 |
commit | 0c74a0bd325eacbb899a36630712757ab6c92364 (patch) | |
tree | f04315ce238bf084e6f40be33100a4584c235fc7 /devel | |
parent | acfd44724f5fb7c0e311c691b7d432cc383b3fe3 (diff) | |
download | freebsd-ports-gnome-0c74a0bd325eacbb899a36630712757ab6c92364.tar.gz freebsd-ports-gnome-0c74a0bd325eacbb899a36630712757ab6c92364.tar.zst freebsd-ports-gnome-0c74a0bd325eacbb899a36630712757ab6c92364.zip |
- 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)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-gevent-zeromq/Makefile | 13 | ||||
-rw-r--r-- | devel/py-gevent-zeromq/files/patch-gevent_zeromq__core.pyx | 16 | ||||
-rw-r--r-- | devel/py-gevent-zeromq/pkg-plist | 14 |
3 files changed, 25 insertions, 18 deletions
diff --git a/devel/py-gevent-zeromq/Makefile b/devel/py-gevent-zeromq/Makefile index ae865593fc51..ac94665b00d3 100644 --- a/devel/py-gevent-zeromq/Makefile +++ b/devel/py-gevent-zeromq/Makefile @@ -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/-/_/}-${PORTVERSION} 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 diff --git a/devel/py-gevent-zeromq/files/patch-gevent_zeromq__core.pyx b/devel/py-gevent-zeromq/files/patch-gevent_zeromq__core.pyx new file mode 100644 index 000000000000..62cc7d98131b --- /dev/null +++ b/devel/py-gevent-zeromq/files/patch-gevent_zeromq__core.pyx @@ -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): diff --git a/devel/py-gevent-zeromq/pkg-plist b/devel/py-gevent-zeromq/pkg-plist deleted file mode 100644 index 209d2b0d3e75..000000000000 --- a/devel/py-gevent-zeromq/pkg-plist +++ /dev/null @@ -1,14 +0,0 @@ -%%PYTHON_SITELIBDIR%%/gevent_zeromq/__init__.py -%%PYTHON_SITELIBDIR%%/gevent_zeromq/__init__.pyc -%%PYTHON_SITELIBDIR%%/gevent_zeromq/__init__.pyo -%%PYTHON_SITELIBDIR%%/gevent_zeromq/core.py -%%PYTHON_SITELIBDIR%%/gevent_zeromq/core.pyc -%%PYTHON_SITELIBDIR%%/gevent_zeromq/core.pyo -%%PYTHON_SITELIBDIR%%/gevent_zeromq/core.so -%%PYTHON_SITELIBDIR%%/gevent_zeromq/poll.py -%%PYTHON_SITELIBDIR%%/gevent_zeromq/poll.pyc -%%PYTHON_SITELIBDIR%%/gevent_zeromq/poll.pyo -%%PYTHON_SITELIBDIR%%/gevent_zeromq/tests.py -%%PYTHON_SITELIBDIR%%/gevent_zeromq/tests.pyc -%%PYTHON_SITELIBDIR%%/gevent_zeromq/tests.pyo -@dirrm %%PYTHON_SITELIBDIR%%/gevent_zeromq |