Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 2010 21:49:32 GMT
From:      Robert Kruus <rob.kruus@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/147776: py-gevent depends on py-greenlet
Message-ID:  <201006102149.o5ALnWDx081690@www.freebsd.org>
Resent-Message-ID: <201006102150.o5ALo1PQ014171@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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/
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006102149.o5ALnWDx081690>