Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2020 16:45:09 +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: r539669 - head/devel/py-gevent
Message-ID:  <202006191645.05JGj9S4000868@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Jun 19 16:45:08 2020
New Revision: 539669
URL: https://svnweb.freebsd.org/changeset/ports/539669

Log:
  Update to 1.5.0
  
  - Update WWW
  
  Changes:	https://github.com/gevent/gevent/blob/master/docs/changelog_1_5.rst
  		https://www.gevent.org/whatsnew_1_5.html

Modified:
  head/devel/py-gevent/Makefile
  head/devel/py-gevent/distinfo
  head/devel/py-gevent/pkg-descr

Modified: head/devel/py-gevent/Makefile
==============================================================================
--- head/devel/py-gevent/Makefile	Fri Jun 19 16:35:56 2020	(r539668)
+++ head/devel/py-gevent/Makefile	Fri Jun 19 16:45:08 2020	(r539669)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gevent
-PORTVERSION=	1.4.0
+PORTVERSION=	1.5.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +13,13 @@ COMMENT=	Python co-routine networking library based on
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	c-ares>=1.15.0:dns/c-ares \
+		libev>=4.31:devel/libev \
+		libuv>=1.34.0:devel/libuv \
+		${RUN_DEPENDS}
 LIB_DEPENDS=	libcares.so:dns/c-ares \
-		libev.so:devel/libev
+		libev.so:devel/libev \
+		libuv.so:devel/libuv
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}greenlet>=0.4.14:devel/py-greenlet@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
 
@@ -22,7 +27,7 @@ USES=		localbase python
 USE_PYTHON=	autoplist concurrent distutils
 
 DO_MAKE_TEST=	${SETENV} PYTHONPATH=../ ${PYTHON_CMD}
-MAKE_ENV=	CARES_EMBED=0 LIBEV_EMBED=0
+MAKE_ENV=	GEVENTSETUP_EMBED_CARES=0 GEVENTSETUP_EMBED_LIBEV=0 GEVENTSETUP_EMBED_LIBUV=0
 TEST_TARGET=	testrunner.py
 TEST_WRKSRC=	${WRKSRC}/greentest
 
@@ -32,8 +37,10 @@ post-patch:
 .if ${PYTHON_REL} >= 3000
 	@${RM} ${WRKSRC}/src/gevent/_util_py2.py
 .endif
+# Clean up bundled libraries
+	@${RM} -fr ${WRKSRC}/deps/
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gevent/*.so ${STAGEDIR}${PYTHON_SITELIBDIR}/gevent/libev/corecext.so
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
 .include <bsd.port.post.mk>

Modified: head/devel/py-gevent/distinfo
==============================================================================
--- head/devel/py-gevent/distinfo	Fri Jun 19 16:35:56 2020	(r539668)
+++ head/devel/py-gevent/distinfo	Fri Jun 19 16:45:08 2020	(r539669)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1546784484
-SHA256 (gevent-1.4.0.tar.gz) = 1eb7fa3b9bd9174dfe9c3b59b7a09b768ecd496debfc4976a9530a3e15c990d1
-SIZE (gevent-1.4.0.tar.gz) = 5169595
+TIMESTAMP = 1592419265
+SHA256 (gevent-1.5.0.tar.gz) = b2814258e3b3fb32786bb73af271ad31f51e1ac01f33b37426b66cb8491b4c29
+SIZE (gevent-1.5.0.tar.gz) = 5301322

Modified: head/devel/py-gevent/pkg-descr
==============================================================================
--- head/devel/py-gevent/pkg-descr	Fri Jun 19 16:35:56 2020	(r539668)
+++ head/devel/py-gevent/pkg-descr	Fri Jun 19 16:45:08 2020	(r539669)
@@ -15,5 +15,4 @@ gevent is inspired by eventlet but features more consi
 implementation and better performance. Read why others use gevent and check out
 the list of the open source projects based on gevent.
 
-WWW: http://www.gevent.org/
-WWW: https://pypi.org/project/gevent/
+WWW: https://www.gevent.org/



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