head 1.7; access; symbols pkgsrc-2026Q3:1.6.0.2 pkgsrc-2026Q3-base:1.6 pkgsrc-2026Q2:1.5.0.30 pkgsrc-2026Q2-base:1.5 pkgsrc-2026Q1:1.5.0.28 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.26 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.24 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.22 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.20 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.18 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.16 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.14 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.12 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.10 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.8 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.6 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.4 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.2 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.4.0.8 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.6 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.4 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.2 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.3.0.2 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.2.0.24 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.22 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.20 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.18 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.16 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.12 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.14 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.10 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.8 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.6 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.4 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.2 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.1.0.12 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.10 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.8 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.6 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.2 pkgsrc-2017Q2-base:1.1; locks; strict; comment @# @; 1.7 date 2026.10.27.06.20.26; author adam; state dead; branches; next 1.6; commitid 0POKAN84UFAN151H; 1.6 date 2026.06.30.20.27.08; author adam; state Exp; branches; next 1.5; commitid OiQlCkIwwxvpxRLG; 1.5 date 2022.12.17.06.22.02; author adam; state Exp; branches; next 1.4; commitid kj3BeUZBGiGgmS5E; 1.4 date 2021.11.07.11.32.51; author adam; state Exp; branches; next 1.3; commitid LqUAcdTPVOw96RfD; 1.3 date 2021.08.25.09.01.07; author adam; state Exp; branches; next 1.2; commitid 2tgweZAadalnDk6D; 1.2 date 2018.08.20.07.31.51; author adam; state Exp; branches; next 1.1; commitid xd8KbU7O1sk8xPOA; 1.1 date 2017.04.05.17.56.18; author adam; state Exp; branches; next ; commitid oPh8qjEKd7DJ7nMz; desc @@ 1.7 log @py-curl: updated to 7.49.0 PycURL 7.49.0 - 2026-10-26 This release adds SSH_HOSTKEYFUNCTION and several missing libcurl SSH constants, and accepts CurlShare subclasses in setopt. It fixes a use-after-free when a mime part's content is replaced and makes object teardown exception-safe by moving cleanup into tp_finalize. The build system has also been cleaned up: custom setup.py command line options have been removed in favor of their environment variable equivalents, and wheels no longer install documentation and examples. @ text @$NetBSD: patch-setup.py,v 1.6 2026/06/30 20:27:08 adam Exp $ Add multi Python variant support. --- setup.py.orig 2026-06-29 18:09:02.000000000 +0000 +++ setup.py @@@@ -673,10 +673,11 @@@@ def get_extension(argv, split_extension_ def get_data_files(): # a list of tuples with (path to install to, a list of local files) data_files = [] + version = '{}.{}'.format(sys.version_info.major, sys.version_info.minor) if sys.platform == "win32": - datadir = os.path.join("doc", PROJECT_NAME) + datadir = os.path.join("doc", PROJECT_NAME + version) else: - datadir = os.path.join("share", "doc", PROJECT_NAME) + datadir = os.path.join("share", "doc", PROJECT_NAME + version) # files = ["AUTHORS", "ChangeLog", "COPYING-LGPL", "COPYING-MIT", "INSTALL.rst", "README.rst", "RELEASE-NOTES.rst"] @ 1.6 log @py-curl: updated to 7.47.0 PycURL 7.47.0 - 2026-06-29 This release adds AsyncCurlMulti (initial async pycurl support), implements a curl multi notify API, and adds initial free-threaded CPython support. This release also fixes numerous minor issues and makes tests more reliable. @ text @d1 1 a1 1 $NetBSD: patch-setup.py,v 1.5 2022/12/17 06:22:02 adam Exp $ @ 1.5 log @py-curl: updated to 7.45.2 Version 7.45.2 * Python 3.9 compatibility for Py_TRASHCAN_SAFE_BEGIN (patch by Scott Talbert). * Add support for CURL_HTTP_VERSION_3 (patch by Scott Talbert). * Add CURLOPT_TLS13_CIPHERS and CURLOPT_PROXY_TLS13_CIPHERS options (patch by Scott Talbert). * Added HTTP09_ALLOWED option (patch by Scott Talbert). * Removed use of distutils (patch by Scott Talbert). @ text @d1 1 a1 1 $NetBSD: patch-setup.py,v 1.4 2021/11/07 11:32:51 adam Exp $ d5 1 a5 1 --- setup.py.orig 2022-12-16 19:31:55.000000000 +0000 d7 1 a7 1 @@@@ -662,10 +662,11 @@@@ def get_extension(argv, split_extension_ d13 2 a14 2 - datadir = os.path.join("doc", PACKAGE) + datadir = os.path.join("doc", PACKAGE + version) d16 2 a17 2 - datadir = os.path.join("share", "doc", PACKAGE) + datadir = os.path.join("share", "doc", PACKAGE + version) @ 1.4 log @py-curl: better patch for setup.py to allow Python versions 3.10+ @ text @d1 1 a1 1 $NetBSD: patch-setup.py,v 1.3 2021/08/25 09:01:07 adam Exp $ a2 1 Stick to distutils. d5 1 a5 1 --- setup.py.orig 2021-08-15 19:30:48.000000000 +0000 d7 1 a7 13 @@@@ -10,10 +10,7 @@@@ VERSION = "7.44.1" import glob, os, re, sys, subprocess import distutils -try: - from setuptools import setup -except ImportError: - from distutils.core import setup +from distutils.core import setup from distutils.extension import Extension from distutils.util import split_quoted from distutils.version import LooseVersion @@@@ -686,10 +683,11 @@@@ def get_extension(argv, split_extension_ @ 1.3 log @py-curl: updated to 7.44.1 PycURL 7.44.1 - 2021-08-15 -------------------------- This release repairs incorrect Python thread initialization logic which caused operations to hang. PycURL 7.44.0 - 2021-08-08 -------------------------- This release reinstates best effort Python 2 support, adds Python 3.9 and Python 3.10 alpha support and implements support for several libcurl options. @ text @d1 1 a1 1 $NetBSD: patch-setup.py,v 1.2 2018/08/20 07:31:51 adam Exp $ d20 2 a21 1 @@@@ -687,9 +684,9 @@@@ def get_data_files(): d24 1 d27 1 a27 1 + datadir = os.path.join("doc", PACKAGE + sys.version[0:3]) d30 1 a30 1 + datadir = os.path.join("share", "doc", PACKAGE + sys.version[0:3]) @ 1.2 log @py-curl: only use distutils (used to import setuptools when wheels were installed) @ text @d1 1 a1 1 $NetBSD$ d6 1 a6 1 --- setup.py.orig 2018-06-02 04:59:02.000000000 +0000 d8 1 a8 1 @@@@ -10,12 +10,7 @@@@ VERSION = "7.43.0.2" d13 1 a13 3 - import wheel - if wheel: - from setuptools import setup d20 1 a20 1 @@@@ -605,9 +600,9 @@@@ def get_data_files(): @ 1.1 log @PycURL 7.43.0: Highlights of this release: 1. Binary wheels are now built for Windows systems. 2. setopt_string method added to Curl objects to permit setting string libcurl options that PycURL does not know about. 3. curl module can now be imported on Windows again. 4. OPENSOCKETFUNCTION callback is now invoked with the address as bytes on Python 3 as was documented. 5. Support for many libcurl options and constants was added. @ text @d3 1 d6 1 a6 1 --- setup.py.orig 2016-02-04 04:39:06.000000000 +0000 d8 15 a22 1 @@@@ -520,9 +520,9 @@@@ def get_data_files(): @