Index: head/devel/py-gevent/Makefile =================================================================== --- head/devel/py-gevent/Makefile (revision 539668) +++ head/devel/py-gevent/Makefile (revision 539669) @@ -1,39 +1,46 @@ # Created by: Peter Schuller # $FreeBSD$ PORTNAME= gevent -PORTVERSION= 1.4.0 +PORTVERSION= 1.5.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python co-routine networking library based on greenlet 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} 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 .include 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 Index: head/devel/py-gevent/distinfo =================================================================== --- head/devel/py-gevent/distinfo (revision 539668) +++ head/devel/py-gevent/distinfo (revision 539669) @@ -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 Index: head/devel/py-gevent/pkg-descr =================================================================== --- head/devel/py-gevent/pkg-descr (revision 539668) +++ head/devel/py-gevent/pkg-descr (revision 539669) @@ -1,19 +1,18 @@ gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libevent event loop. Features include: - Fast event loop based on libevent (epoll on Linux, kqueue on FreeBSD). - Lightweight execution units based on greenlet. - API that re-uses concepts from the Python standard library (for example there are Events and Queues). - Cooperative sockets with SSL support. - DNS queries performed through libevent-dns. - Monkey patching utility to get 3rd party modules to become cooperative. - Fast WSGI server based on libevent-http gevent is inspired by eventlet but features more consistent API, simpler 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/