ports/147776: py-gevent depends on py-greenlet

Robert Kruus rob.kruus at gmail.com
Thu Jun 10 21:50:01 UTC 2010


>Number:         147776
>Category:       ports
>Synopsis:       py-gevent depends on py-greenlet
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 10 21:50:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Robert Kruus
>Release:        7.2-RELEASE #4
>Organization:
Government of Saskatchewan
>Environment:
FreeBSD 412039H.gos.ca 7.2-RELEASE FreeBSD 7.2-RELEASE #4: Wed May 20 11:39:05 CST 2009
root at 412039H.gos.ca:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Did an install of py-gevent and unable to import:
python --version
Python 2.6.5


>How-To-Repeat:

>Fix:
Install py-greenlet

Attached a patch for the py-gevent Makefile to make py-greenlet a RUN_DEPENDS

Patch attached with submission follows:

--- Makefile	2010-06-10 15:24:35.731743834 -0600
+++ Makefile	2010-06-10 15:32:05.812974195 -0600
@@ -14,6 +14,8 @@
 MAINTAINER=	peter.schuller at infidyne.com
 COMMENT=	Python co-routine networking library based on greenlet/libevent
 
+RUN_DEPENDS=    ${PORTSDIR}/devel/py-greenlet
+
 LIB_DEPENDS=	event:${PORTSDIR}/devel/libevent
 
 USE_PYTHON=		yes


>Release-Note:
>Audit-Trail:
>Unformatted:
 >>> import gevent
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/usr/local/lib/python2.6/site-packages/gevent/__init__.py", line 33, in <module>
     from gevent.greenlet import Greenlet, joinall, killall
   File "/usr/local/lib/python2.6/site-packages/gevent/greenlet.py", line 6, in <module>
     from gevent.hub import greenlet, getcurrent, get_hub, GreenletExit, Waiter, kill
   File "/usr/local/lib/python2.6/site-packages/gevent/hub.py", line 28, in <module>
     raise ImportError('gevent requires greenlet: http://pypi.python.org/pypi/greenlet/')
 ImportError: gevent requires greenlet: http://pypi.python.org/pypi/greenlet/
 



More information about the freebsd-ports-bugs mailing list