pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-curl



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon May  4 12:26:28 UTC 2026

Modified Files:
        pkgsrc/www/py-curl: Makefile PLIST distinfo

Log Message:
py-curl: updated to 7.46.0

Version 7.46.0 [requires libcurl-7.19.0 or better] - 2026-04-28

* Skip Kerberos tests on libcurl >= 8.17.0 (patch by Jacek Migacz)
* Add arm64 wheels for Windows (patch by Finn Womack)
* Add context manager support to pycurl.Curl objects (patch by Scott Talbert)
* Add headerpad_max_install_names to LDFLAGS on macOS (patch by Scott Talbert)
* Modernize pycurl multi calls in tests (patch by Jorge Rocamora)
* Free global variables on module deletion (patch by Jorge Rocamora)
* Implement context manager in multicurl (patch by Jorge Rocamora)
* Add CURLINFO_ACTIVESOCKET option (patch by Jorge Rocamora)
* Avoid circular strong references between Curl and CurlMulti (patch by Jorge Rocamora)
* Review share API to avoid closing share handle if active easy handles (patch by Jorge Rocamora)
* Refactor multi callback tests to use pytest fixtures (patch by Jorge Rocamora)
* Avoid dict mutation during multi handle and handle PyDict_SetItem failure before calling into libcurl in add_handle (patch by Jorge Rocamora)
* Update Python version requirement to 3.10-3.14 (patch by Jorge Rocamora)
* Avoid GC ID reuse false positives in close-matrix tracker (patch by Jorge Rocamora)
* Allow read callbacks to return any object supporting the buffer protocol (patch by Will Toohey)
* FIX: guard second usage of PyWeakref_GetObject (patch by Thomas A Caswell)
* Fix crash when using unsetopt with READFUNCTION and WRITEFUNCTION (patch by Will Toohey)
* Clear buffer-protocol errors in read callback (patch by Jorge Rocamora)
* Fix pause thread state and expand/simplify pause tests (patch by Jorge Rocamora)
* Launch HTTP server at session scope with pytest (patch by Jorge Rocamora)
* Fix Win64 curl_socket_t conversions and reactivate multi-socket Windows tests (patch by Jorge Rocamora)
* Implement curl_easy_recv and curl_easy_send methods (patch by Jorge Rocamora)
* Save strong references for multi assign (patch by Jorge Rocamora)
* tests: only test CURLOPT_ISSUERCERT_BLOB with the openssl backend (patch by Carlos Henrique Lima Melara)
* Autodetect CAPROXY/CAPATH for proxies as well (patch by Carlos Gottberg)
* Preserve BaseException in callbacks and add SIGINT propagation tests (patch by Jorge Rocamora)
* First implementation of pycurl.Mime and pycurl.MimePart (patch by Jorge Rocamora)
* Enable callbacks during close() (patch by Scott Talbert)
* Drop Python 2 support (patch by Jorge Rocamora)
* Align SSL options tests (patch by Jorge Rocamora)
* Unify read_callback buffer handling to PyBUF_SIMPLE and modernize read_cb tests (patch by Jorge Rocamora)
* Fix memory leak in do_curl_perform_rb if do_curl_perform fails (patch by Scott Talbert)
* Fix use-after-free in do_share_new error path (patch by Scott Talbert)
* Fix lock leak/deadlock in share_cleanup_and_count_live_easies error path (patch by Scott Talbert)
* Fix missing Py_INCREF(Py_None) in do_multi_setopt_charpp (patch by Scott Talbert)
* Replace assert with NULL check in do_share_new (patch by Scott Talbert)
* Add missing C long overflow checks (patch by Scott Talbert)
* Remove unused do_curl_setopt_long (was Python 2 only) (patch by Scott Talbert)
* Remove Py_NewRef / Py_XNewRef compatibility shims (patch by Scott Talbert)
* Remove Py_SET_TYPE compatibility shim (patch by Scott Talbert)
* Remove no longer needed call of PyEval_InitThreads (patch by Scott Talbert)
* Remove WITH_THREAD compatibility macro (patch by Scott Talbert)
* Fix multi callback reference leak and missing GC traverse visits (patch by Jorge Rocamora)
* Remove dead CPy_TRASHCAN compatibility macros for Python < 3.8 (patch by Jorge Rocamora)
* Inline PyText_*/PyByteStr_* passthrough macros to direct Python C API calls (patch by Jorge Rocamora)
* Fix opensocket exception swallowing, widen callback size type, and correct error message encoding (patch by Jorge Rocamora)
* Drop pre-3.10 compat (patch by Jorge Rocamora)
* Fix Curl.reset() on closed handle and allocation failures in slist/httppost wrappers (patch by Jorge Rocamora)
* Add TRAILER, RESOLVER_START, FNMATCH, and HSTS read/write callbacks plus HSTS persistence options (patch by Jorge Rocamora)
* Integrate websockets in pycurl (patch by Jorge Rocamora)
* Remove unmaintained winbuild (patch by Scott Talbert)
* Correct declaration of SSH key callback function (patch by Scott Talbert)
* Advertise WebSockets, MIME, context managers, and low-level socket I/O in the README features list (patch by Jorge Rocamora)
* Modernize getinfo_test.py (patch by Scott Talbert)
* Allow multi.assign() from inside M_SOCKETFUNCTION and add multi.unassign() (patch by Jorge Rocamora)
* Fix CurlMulti.__enter__ signature and document close() callback restriction
* Quiet all libcurl deprecation warnings & provide Python ones (patch by Scott Talbert)
* Migrate static metadata to pyproject.toml (PEP 517/621) while keeping setup.py for native build logic (patch by Jorge Rocamora)
* CurlMulti: honor return values from M_SOCKETFUNCTION / M_TIMERFUNCTION (patch by Jorge Rocamora)


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 pkgsrc/www/py-curl/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/www/py-curl/PLIST
cvs rdiff -u -r1.38 -r1.39 pkgsrc/www/py-curl/distinfo

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

Modified files:

Index: pkgsrc/www/py-curl/Makefile
diff -u pkgsrc/www/py-curl/Makefile:1.104 pkgsrc/www/py-curl/Makefile:1.105
--- pkgsrc/www/py-curl/Makefile:1.104   Fri Feb  6 10:06:10 2026
+++ pkgsrc/www/py-curl/Makefile Mon May  4 12:26:28 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.104 2026/02/06 10:06:10 wiz Exp $
+# $NetBSD: Makefile,v 1.105 2026/05/04 12:26:28 adam Exp $
 
-DISTNAME=      pycurl-7.45.7
+DISTNAME=      pycurl-7.46.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   2
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pycurl/}
 

Index: pkgsrc/www/py-curl/PLIST
diff -u pkgsrc/www/py-curl/PLIST:1.22 pkgsrc/www/py-curl/PLIST:1.23
--- pkgsrc/www/py-curl/PLIST:1.22       Mon Apr 14 13:30:01 2025
+++ pkgsrc/www/py-curl/PLIST    Mon May  4 12:26:28 2026
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.22 2025/04/14 13:30:01 adam Exp $
+@comment $NetBSD: PLIST,v 1.23 2026/05/04 12:26:28 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
-${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS
 ${PYSITELIB}/${WHEEL_INFODIR}/licenses/COPYING-LGPL
 ${PYSITELIB}/${WHEEL_INFODIR}/licenses/COPYING-MIT
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
@@ -28,10 +27,6 @@ share/doc/pycurl${PYVERSSUFFIX}/examples
 share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/follow_redirect.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/form_post.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/get.py
-share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/get_python2.py
-share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/get_python2_https.py
-share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/get_python3.py
-share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/get_python3_https.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/put_buffer.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/put_file.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/response_headers.py
@@ -42,4 +37,8 @@ share/doc/pycurl${PYVERSSUFFIX}/examples
 share/doc/pycurl${PYVERSSUFFIX}/examples/sfquery.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/smtp.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/ssh_keyfunction.py
+share/doc/pycurl${PYVERSSUFFIX}/examples/ws_callback.py
+share/doc/pycurl${PYVERSSUFFIX}/examples/ws_echo.py
+share/doc/pycurl${PYVERSSUFFIX}/examples/ws_fragmented.py
+share/doc/pycurl${PYVERSSUFFIX}/examples/ws_multi.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/xmlrpc_curl.py

Index: pkgsrc/www/py-curl/distinfo
diff -u pkgsrc/www/py-curl/distinfo:1.38 pkgsrc/www/py-curl/distinfo:1.39
--- pkgsrc/www/py-curl/distinfo:1.38    Tue Oct  7 08:11:59 2025
+++ pkgsrc/www/py-curl/distinfo Mon May  4 12:26:28 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.38 2025/10/07 08:11:59 adam Exp $
+$NetBSD: distinfo,v 1.39 2026/05/04 12:26:28 adam Exp $
 
-BLAKE2s (pycurl-7.45.7.tar.gz) = 0ee0f459fea8a9ff8b343c9b87496e27ab705d5df8f30c7d6d52984fe20b02c0
-SHA512 (pycurl-7.45.7.tar.gz) = dc8dc4ec1cc4fa8b34aa2ca6e1cd8c3dde4f73500f364bfb67a7c38bf04b18eaabcbd9b55cd7da9b4fe5080ab3845a4e4a2bed3a87d4c0d693ec24142319af27
-Size (pycurl-7.45.7.tar.gz) = 241098 bytes
+BLAKE2s (pycurl-7.46.0.tar.gz) = 3fc3a9941d0ad15c400415c0ca5e0a75df1f07628774be80826efd067fa39233
+SHA512 (pycurl-7.46.0.tar.gz) = b30f41513b30b0ec54c8f3994245c5e31af194176086081040862772f059907375a7711c7a941c08c5c3daddfd9aae2ded3f0ed7fd6baa480ac1610de6959f8c
+Size (pycurl-7.46.0.tar.gz) = 284697 bytes
 SHA1 (patch-setup.py) = 3eedbb40aece1e4d26cccd25f6f84698450ae446



Home | Main Index | Thread Index | Old Index