Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2013 20:52:08 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335060 - in head/devel/py-gevent: . files
Message-ID:  <201311272052.rARKq8Xe035301@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Nov 27 20:52:07 2013
New Revision: 335060
URL: http://svnweb.freebsd.org/changeset/ports/335060

Log:
  - Update to 1.0
  - Use REINPLACE_CMD instead of patch file
  - Strip shared library
  - Fix regression-test: in tinderbox
  
  Changes:	https://github.com/surfly/gevent/blob/master/changelog.rst

Deleted:
  head/devel/py-gevent/files/
Modified:
  head/devel/py-gevent/Makefile
  head/devel/py-gevent/distinfo   (contents, props changed)
  head/devel/py-gevent/pkg-plist   (contents, props changed)

Modified: head/devel/py-gevent/Makefile
==============================================================================
--- head/devel/py-gevent/Makefile	Wed Nov 27 20:45:06 2013	(r335059)
+++ head/devel/py-gevent/Makefile	Wed Nov 27 20:52:07 2013	(r335060)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gevent
-PORTVERSION=	0.13.8
-PORTREVISION=	1
+PORTVERSION=	1.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,14 +14,17 @@ LICENSE=	MIT
 
 LIB_DEPENDS=	libevent-1.4.so:${PORTSDIR}/devel/libevent
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}greenlet>=0:${PORTSDIR}/devel/py-greenlet
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}greenlet>=0:${PORTSDIR}/devel/py-greenlet \
+		${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3
 
 USE_PYTHON=	-2.7
 USE_PYDISTUTILS=yes
-PYDISTUTILS_BUILDARGS=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|setuptools|distutils.core|' ${WRKSRC}/${PYSETUP}
 
 post-build:
-	@${STRIP_CMD} ${WRKSRC}/gevent/core.so
+	@${STRIP_CMD} ${WRKSRC}/gevent/_semaphore.so ${WRKSRC}/gevent/_util.so ${WRKSRC}/gevent/ares.so ${WRKSRC}/gevent/core.so
 
 regression-test test: build
 	cd ${WRKSRC}/greentest/ && ${SETENV} PYTHONPATH=../ ${PYTHON_CMD} testrunner.py

Modified: head/devel/py-gevent/distinfo
==============================================================================
--- head/devel/py-gevent/distinfo	Wed Nov 27 20:45:06 2013	(r335059)
+++ head/devel/py-gevent/distinfo	Wed Nov 27 20:52:07 2013	(r335060)
@@ -1,2 +1,2 @@
-SHA256 (gevent-0.13.8.tar.gz) = 54b8d26300ce408c0916a3e63ef6cd3e6aca76230833558deb7de15196ed955e
-SIZE (gevent-0.13.8.tar.gz) = 300098
+SHA256 (gevent-1.0.tar.gz) = bfa9d846db91a7d8b6a36e87353eed641c7e3e7d0bfa0b9975796d227f2db4eb
+SIZE (gevent-1.0.tar.gz) = 1437122

Modified: head/devel/py-gevent/pkg-plist
==============================================================================
--- head/devel/py-gevent/pkg-plist	Wed Nov 27 20:45:06 2013	(r335059)
+++ head/devel/py-gevent/pkg-plist	Wed Nov 27 20:52:07 2013	(r335060)
@@ -11,21 +11,12 @@
 %%PYTHON_SITELIBDIR%%/gevent/coros.py
 %%PYTHON_SITELIBDIR%%/gevent/coros.pyc
 %%PYTHON_SITELIBDIR%%/gevent/coros.pyo
-%%PYTHON_SITELIBDIR%%/gevent/dns.py
-%%PYTHON_SITELIBDIR%%/gevent/dns.pyc
-%%PYTHON_SITELIBDIR%%/gevent/dns.pyo
 %%PYTHON_SITELIBDIR%%/gevent/event.py
 %%PYTHON_SITELIBDIR%%/gevent/event.pyc
 %%PYTHON_SITELIBDIR%%/gevent/event.pyo
 %%PYTHON_SITELIBDIR%%/gevent/greenlet.py
 %%PYTHON_SITELIBDIR%%/gevent/greenlet.pyc
 %%PYTHON_SITELIBDIR%%/gevent/greenlet.pyo
-%%PYTHON_SITELIBDIR%%/gevent/http.py
-%%PYTHON_SITELIBDIR%%/gevent/http.pyc
-%%PYTHON_SITELIBDIR%%/gevent/http.pyo
-%%PYTHON_SITELIBDIR%%/gevent/httplib.py
-%%PYTHON_SITELIBDIR%%/gevent/httplib.pyc
-%%PYTHON_SITELIBDIR%%/gevent/httplib.pyo
 %%PYTHON_SITELIBDIR%%/gevent/hub.py
 %%PYTHON_SITELIBDIR%%/gevent/hub.pyc
 %%PYTHON_SITELIBDIR%%/gevent/hub.pyo
@@ -44,9 +35,6 @@
 %%PYTHON_SITELIBDIR%%/gevent/queue.py
 %%PYTHON_SITELIBDIR%%/gevent/queue.pyc
 %%PYTHON_SITELIBDIR%%/gevent/queue.pyo
-%%PYTHON_SITELIBDIR%%/gevent/rawgreenlet.py
-%%PYTHON_SITELIBDIR%%/gevent/rawgreenlet.pyc
-%%PYTHON_SITELIBDIR%%/gevent/rawgreenlet.pyo
 %%PYTHON_SITELIBDIR%%/gevent/select.py
 %%PYTHON_SITELIBDIR%%/gevent/select.pyc
 %%PYTHON_SITELIBDIR%%/gevent/select.pyo
@@ -59,9 +47,6 @@
 %%PYTHON_SITELIBDIR%%/gevent/ssl.py
 %%PYTHON_SITELIBDIR%%/gevent/ssl.pyc
 %%PYTHON_SITELIBDIR%%/gevent/ssl.pyo
-%%PYTHON_SITELIBDIR%%/gevent/sslold.py
-%%PYTHON_SITELIBDIR%%/gevent/sslold.pyc
-%%PYTHON_SITELIBDIR%%/gevent/sslold.pyo
 %%PYTHON_SITELIBDIR%%/gevent/thread.py
 %%PYTHON_SITELIBDIR%%/gevent/thread.pyc
 %%PYTHON_SITELIBDIR%%/gevent/thread.pyo



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