pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-gevent



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Feb 11 20:04:25 UTC 2024

Modified Files:
        pkgsrc/net/py-gevent: Makefile PLIST distinfo

Log Message:
py-gevent: updated to 23.9.1

23.9.1 (2023-09-12)
Bugfixes
Require greenlet 3.0 on Python 3.11 and Python 3.12; greenlet 3.0 is recommended for all platforms. This fixes a number of obscure crashes on all versions of Python, as well as fixing a fairly common 
problem on Python 3.11+ that could manifest as either a crash or as a SystemError.

23.9.0.post1 (2023-09-02)
Fix Windows wheel builds.
Fix macOS wheel builds.

23.9.0 (2023-09-01)
Bugfixes
Make gevent.select.select accept arbitrary iterables, not just sequences. That is, you can now pass in a generator of file descriptors instead of a realized list. Internally, arbitrary iterables are 
copied into lists. This better matches what the standard library does. Thanks to David Salvisberg.
On Python 3.11 and newer, opt out of Cython’s fast exception manipulation, which may be causing problems in certain circumstances when combined with greenlets.
On all versions of Python, adjust some error handling in the default C-based loop. This fixes several assertion failures on debug versions of CPython. Hopefully it has a positive impact under real 
conditions.

Make gevent.pywsgi comply more closely with the HTTP specification for chunked transfer encoding. In particular, we are much stricter about trailers, and trailers that are invalid (too long or 
featuring disallowed characters) forcibly close the connection to the client after the results have been sent.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/net/py-gevent/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/net/py-gevent/PLIST
cvs rdiff -u -r1.16 -r1.17 pkgsrc/net/py-gevent/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-gevent/Makefile
diff -u pkgsrc/net/py-gevent/Makefile:1.23 pkgsrc/net/py-gevent/Makefile:1.24
--- pkgsrc/net/py-gevent/Makefile:1.23  Fri Jul 21 10:00:47 2023
+++ pkgsrc/net/py-gevent/Makefile       Sun Feb 11 20:04:25 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2023/07/21 10:00:47 adam Exp $
+# $NetBSD: Makefile,v 1.24 2024/02/11 20:04:25 adam Exp $
 
-DISTNAME=      gevent-23.7.0
+DISTNAME=      gevent-23.9.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/gevent/}
@@ -10,14 +10,15 @@ HOMEPAGE=   http://www.gevent.org/
 COMMENT=       Python-gevent a coroutine-based Python networking library
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-cffi>=1.12.2:../../devel/py-cffi
-DEPENDS+=      ${PYPKGPREFIX}-greenlet>=2.0.0:../../devel/py-greenlet
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=40.8.0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-cffi>=1.12.3:../../devel/py-cffi
+DEPENDS+=      ${PYPKGPREFIX}-greenlet>=3.0.0:../../devel/py-greenlet
 DEPENDS+=      ${PYPKGPREFIX}-zope.event-[0-9]*:../../devel/py-zope.event
 DEPENDS+=      ${PYPKGPREFIX}-zope.interface-[0-9]*:../../devel/py-zope.interface
 
-MAKE_ENV+=     GEVENTSETUP_EMBED_CARES=0
-MAKE_ENV+=     GEVENTSETUP_EMBED_LIBEV=0
-MAKE_ENV+=     GEVENTSETUP_EMBED_LIBUV=0
+# See docs/development/installing_from_source.rst
+MAKE_ENV+=     GEVENTSETUP_EMBED=0
 
 CHECK_PORTABILITY_SKIP=        deps/libuv/autogen.sh
 
@@ -34,12 +35,9 @@ MAKE_ENV.SunOS+=     ac_cv_header_sys_inotif
 BUILDLINK_TRANSFORM.SunOS+=    opt:-D_XOPEN_SOURCE=500:-D_XOPEN_SOURCE=600
 .endif
 
-do-test:
-       cd ${WRKSRC}/src && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v
-
 .include "../../devel/py-cython/buildlink3.mk"
 .include "../../devel/libev/buildlink3.mk"
 .include "../../devel/libuv/buildlink3.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../net/libcares/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/py-gevent/PLIST
diff -u pkgsrc/net/py-gevent/PLIST:1.15 pkgsrc/net/py-gevent/PLIST:1.16
--- pkgsrc/net/py-gevent/PLIST:1.15     Fri Jul 21 10:00:47 2023
+++ pkgsrc/net/py-gevent/PLIST  Sun Feb 11 20:04:25 2024
@@ -1,11 +1,12 @@
-@comment $NetBSD: PLIST,v 1.15 2023/07/21 10:00:47 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.16 2024/02/11 20:04:25 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/NOTICE
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/gevent/__init__.py
 ${PYSITELIB}/gevent/__init__.pyc
 ${PYSITELIB}/gevent/__init__.pyo

Index: pkgsrc/net/py-gevent/distinfo
diff -u pkgsrc/net/py-gevent/distinfo:1.16 pkgsrc/net/py-gevent/distinfo:1.17
--- pkgsrc/net/py-gevent/distinfo:1.16  Fri Jul 21 10:00:47 2023
+++ pkgsrc/net/py-gevent/distinfo       Sun Feb 11 20:04:25 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2023/07/21 10:00:47 adam Exp $
+$NetBSD: distinfo,v 1.17 2024/02/11 20:04:25 adam Exp $
 
-BLAKE2s (gevent-23.7.0.tar.gz) = ee32f980c77c0ad051928750046d0d3d7b2882d24f5a4c746aae785d8ab892ef
-SHA512 (gevent-23.7.0.tar.gz) = d452e58e96ba5b7f995b9a762fe378cef24a728a5291b3df069ff50815b336c6ad7bdbe0341c6c9c821dea6fc1a6601aec9d8c9c18aea8045bbcddb2f9240198
-Size (gevent-23.7.0.tar.gz) = 5793409 bytes
+BLAKE2s (gevent-23.9.1.tar.gz) = 8023c45febdda8c01a84650fbdcbb49313126ac583e057e1d8427648eac634af
+SHA512 (gevent-23.9.1.tar.gz) = c0600a5f9e50040009c3467ad802dda8a48422dca4e781acc9ca3428446399932da2f07d7345936ef634783611cf664d219f614980ed6b936f4a510e56ea753c
+Size (gevent-23.9.1.tar.gz) = 5847705 bytes



Home | Main Index | Thread Index | Old Index