Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  7 Jul 2013 15:09:46 +1000 (EST)
From:      Kubilay Kocak <koobs.freebsd@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        cs@FreeBSD.org
Subject:   ports/180357: [PATCH] net/py-eventlet: update to 0.13.0
Message-ID:  <20130707050946.3990639E16@9-STABLE-amd64.elysium>
Resent-Message-ID: <201307070510.r675A02K084060@freefall.freebsd.org>

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

>Number:         180357
>Category:       ports
>Synopsis:       [PATCH] net/py-eventlet: update to 0.13.0
>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:   Sun Jul 07 05:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kubilay Kocak
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD 9-STABLE-amd64.elysium 9.1-STABLE FreeBSD 9.1-STABLE #1 r250906: Tue Jun 25 19:16:36 EST
>Description:
net/py-eventlet: Update to 0.13

- Update to 0.13.0
- Update pkg-plist
- Add minimum version to RUN_DEPENDS
- Add TEST_DEPENDS and regression-test: target
- Whitespace alignment

Changes:

0.13
====
* hubs: kqueue support! Thanks to YAMAMOTO Takashi, Edward George
* greenio: Fix AttributeError on MacOSX; Bitbucket #136; Thanks to Derk Tegeler
* green: subprocess: Fix subprocess.communicate() block on Python 2.7; Thanks to Edward George
* green: select: ensure that hub can .wait() at least once before timeout; Thanks to YAMAMOTO Takashi
* tpool: single request queue to avoid deadlocks; Bitbucket pull request 31,32; Thanks to Edward George
* zmq: pyzmq 13.x compatibility; Thanks to Edward George
* green: subprocess: Popen.wait() accepts new `timeout` kwarg; Python 3.3 and RHEL 6.1 compatibility
* hubs: EVENTLET_HUB can point to external modules; Thanks to Edward George
* semaphore: support timeout for acquire(); Thanks to Justin Patrin
* support: do not clear sys.exc_info if can be preserved (greenlet >= 0.3.2); Thanks to Edward George
* Travis continous integration; Thanks to Thomas Grainger, Jakub Stasiak
* wsgi: minimum_chunk_size of last Server altered all previous (global variable); Thanks to Jakub Stasiak
* doc: hubs: Point to the correct function in exception message; Thanks to Floris Bruynooghe

<QA>
portlint: OK - looks fine.
porttest: OK - 9-STABLE amd64 clang
testport: OK - poudriere, all versions/archs
</QA>

Port maintainer (cs@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- py27-eventlet-0.13.0.patch begins here ---
diff -ruN /usr/ports/net/py-eventlet/Makefile ./Makefile
--- /usr/ports/net/py-eventlet/Makefile	2013-03-27 07:36:41.000000000 +1100
+++ ./Makefile	2013-07-07 13:31:29.125003776 +1000
@@ -1,9 +1,9 @@
 # Created by: Gea-Suan Lin <gslin@gslin.org>
-# $FreeBSD: net/py-eventlet/Makefile 315325 2013-03-26 20:36:41Z cs $
+# $FreeBSD: head/net/py-eventlet/Makefile 315325 2013-03-26 20:36:41Z cs $
 #
 
 PORTNAME=	eventlet
-PORTVERSION=	0.12.1
+PORTVERSION=	0.13.0
 CATEGORIES=	net python
 MASTER_SITES=	CHEESESHOP \
 		http://www.c-s.li/ports/
@@ -14,9 +14,13 @@
 
 LICENSE=	MIT
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}greenlet>=0:${PORTSDIR}/devel/py-greenlet
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}greenlet>=0.3:${PORTSDIR}/devel/py-greenlet
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose
 
-USE_PYTHON=	yes
+USE_PYTHON=		yes
 USE_PYDISTUTILS=	easy_install
 
+regression-test: build
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+
 .include <bsd.port.mk>
diff -ruN /usr/ports/net/py-eventlet/distinfo ./distinfo
--- /usr/ports/net/py-eventlet/distinfo	2013-03-27 07:36:41.000000000 +1100
+++ ./distinfo	2013-07-03 21:07:36.175598318 +1000
@@ -1,2 +1,2 @@
-SHA256 (eventlet-0.12.1.tar.gz) = aaf97960b7e00f36844549399a22746c7ef27d76fffcd4056fb36bd242dd1e47
-SIZE (eventlet-0.12.1.tar.gz) = 267022
+SHA256 (eventlet-0.13.0.tar.gz) = d98118f01c064a6d256a264d4b939b2c6ad0814875c3b37859306c6ed1b4982c
+SIZE (eventlet-0.13.0.tar.gz) = 276599
diff -ruN /usr/ports/net/py-eventlet/pkg-plist ./pkg-plist
--- /usr/ports/net/py-eventlet/pkg-plist	2012-07-15 00:29:18.000000000 +1000
+++ ./pkg-plist	2013-07-07 14:32:16.436159058 +1000
@@ -139,6 +139,9 @@
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/eventlet/hubs/hub.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/eventlet/hubs/hub.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/eventlet/hubs/hub.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/eventlet/hubs/kqueue.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/eventlet/hubs/kqueue.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/eventlet/hubs/kqueue.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/eventlet/hubs/poll.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/eventlet/hubs/poll.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/eventlet/hubs/poll.pyo
--- py27-eventlet-0.13.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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