From owner-svn-ports-head@FreeBSD.ORG Fri Dec 6 17:05:33 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F17C4842; Fri, 6 Dec 2013 17:05:32 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D2CCD1F35; Fri, 6 Dec 2013 17:05:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB6H5WqS046456; Fri, 6 Dec 2013 17:05:32 GMT (envelope-from olivierd@svn.freebsd.org) Received: (from olivierd@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB6H5WlP046454; Fri, 6 Dec 2013 17:05:32 GMT (envelope-from olivierd@svn.freebsd.org) Message-Id: <201312061705.rB6H5WlP046454@svn.freebsd.org> From: Olivier Duchateau Date: Fri, 6 Dec 2013 17:05:32 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Dec 2013 17:05:33 -0000 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):