head	1.6;
access;
symbols
	pkgsrc-2026Q3:1.5.0.2
	pkgsrc-2026Q3-base:1.5;
locks; strict;
comment	@# @;


1.6
date	2026.09.24.09.51.39;	author adam;	state Exp;
branches;
next	1.5;
commitid	3B03voyfphvZfRWG;

1.5
date	2026.08.23.08.10.20;	author wiz;	state Exp;
branches;
next	1.4;
commitid	GJRaYVZ3zFn3JJSG;

1.4
date	2026.08.16.12.29.47;	author wiz;	state Exp;
branches;
next	1.3;
commitid	2OCgRLTCGNT2oRRG;

1.3
date	2026.07.27.15.17.34;	author wiz;	state Exp;
branches;
next	1.2;
commitid	34FOaN2OC8kqXiPG;

1.2
date	2026.07.15.16.28.01;	author adam;	state Exp;
branches;
next	1.1;
commitid	4PNAbR0GIThqJLNG;

1.1
date	2026.07.06.06.54.46;	author wiz;	state Exp;
branches;
next	;
commitid	FFzoUEszsI1QQyMG;


desc
@@


1.6
log
@py-httpx2: updated to 2.13.1

2.13.1 (September 23rd, 2026)

Fixed
* Calculate `Content-Length` from the remaining bytes when a file is passed as `content=`, respecting its current position.
* Stop the sync WebSocket keepalive thread cleanly when a ping races with connection shutdown.

2.13.0 (September 14th, 2026)

Changed
* Require `brotlicffi` 1.2.0.2 or later for the `brotli` extra on non-CPython implementations.
@
text
@# $NetBSD: Makefile,v 1.5 2026/08/23 08:10:20 wiz Exp $

DISTNAME=	httpx2-2.13.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	www python
MASTER_SITES=	${MASTER_SITE_PYPI:=h/httpx2/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/pydantic/httpx2
COMMENT=	Next generation HTTP client
LICENSE=	modified-bsd

TOOL_DEPENDS+=	${PYPKGPREFIX}-hatch-fancy-pypi-readme>=0:../../devel/py-hatch-fancy-pypi-readme
TOOL_DEPENDS+=	${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
TOOL_DEPENDS+=	${PYPKGPREFIX}-uv-dynamic-versioning>=0.14.1:../../devel/py-uv-dynamic-versioning
DEPENDS+=	${PYPKGPREFIX}-anyio>=4.10:../../devel/py-anyio
DEPENDS+=	${PYPKGPREFIX}-httpcore2>=${PKGVERSION_NOREV}:../../www/py-httpcore2
DEPENDS+=	${PYPKGPREFIX}-idna>=3.18:../../www/py-idna
DEPENDS+=	${PYPKGPREFIX}-truststore>=0.10:../../security/py-truststore

.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} < 313
DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=4.5.0:../../devel/py-typing-extensions
.endif

USE_LANGUAGES=	# none

PY_RENAME_BINARIES=	httpx2

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.5
log
@py-httpx2: update to 2.12.0.

## 2.12.0 (August 18th, 2026)

### Changed

* Use `backports.zstd` for Zstandard decoding on Python 3.13 and earlier.
  ([#1146](https://github.com/pydantic/httpx2/pull/1146))

### Fixed

* Bound peak memory while streaming compressed responses and close response streams when decoding fails.
  ([#1126](https://github.com/pydantic/httpx2/pull/1126))

## 2.11.0 (August 18th, 2026)

### Added

* Add the public `Origin` value object and `URL.origin` property for normalized,
  hashable origin comparisons. ([#1134](https://github.com/pydantic/httpx2/pull/1134))

### Changed

* Require Brotli 1.2.0 or later for the `brotli` extra. ([#1141](https://github.com/pydantic/httpx2/pull/1141))

### Fixed

* Restore deprecated status code aliases. ([#1135](https://github.com/pydantic/httpx2/pull/1135))
* Extract HTTP/2 release notes from changelog headings correctly. ([#1136](https://github.com/pydantic/httpx2/pull/1136))
* Respect explicit `Transfer-Encoding` headers and expose buffered request body lengths to WSGI applications.
  ([#1137](https://github.com/pydantic/httpx2/pull/1137))
* Validate multipart part header names and values before serialization.
  ([#1142](https://github.com/pydantic/httpx2/pull/1142))
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2026/08/16 12:29:47 wiz Exp $
d3 1
a3 1
DISTNAME=	httpx2-2.12.0
d13 1
d15 1
a15 2
TOOL_DEPENDS+=	${PYPKGPREFIX}-hatch-fancy-pypi-readme>=0:../../devel/py-hatch-fancy-pypi-readme
TOOL_DEPENDS+=	${PYPKGPREFIX}-uv-dynamic-versioning>=0.8.0:../../devel/py-uv-dynamic-versioning
a19 8
# optional
DEPENDS+=	${PYPKGPREFIX}-brotli-[0-9]*:../../archivers/py-brotli
DEPENDS+=	${PYPKGPREFIX}-click>=8.4:../../devel/py-click
DEPENDS+=	${PYPKGPREFIX}-h2>=3:../../www/py-h2
DEPENDS+=	${PYPKGPREFIX}-pygments>=2:../../textproc/py-pygments
DEPENDS+=	${PYPKGPREFIX}-rich>=10:../../comms/py-rich
DEPENDS+=	${PYPKGPREFIX}-wsproto>=1.2:../../www/py-wsproto
# TODO: wants socksio-1*
a23 2
# optional
DEPENDS+=	${PYPKGPREFIX}-zstandard>=0.18.0:../../archivers/py-zstandard
@


1.4
log
@py-httpx2: update to 2.10.0.

Added

    Add support for running on WebAssembly / Emscripten via Pyodide by @@hoodmane in #1119
    Add max_event_size to cap SSE event buffering by @@Kludex in #1071
    Add RFC 9110 status code constants by @@mbeijen in #1069
    Add support for Python 3.15 by @@hugovk in #1090

Changed

    Improve SSE chunk buffering performance by @@Kludex in #1117
    Skip cookie extraction without Set-Cookie by @@Kludex in #1107
    Return str | None instead of Any from Headers.get by @@ItsDrike in #1121

Fixed

    Enforce WebSocket max message size across fragments by @@Kludex in #1085
    Ignore unsolicited and duplicate Pong frames by @@Kludex in #1122
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2026/07/27 15:17:34 wiz Exp $
d3 1
a3 1
DISTNAME=	httpx2-2.10.0
@


1.3
log
@py-httpx2: update to 2.9.1.

## 2.9.1 (July 24th, 2026)

### Fixed

* Alias `httpcore` imports to `httpcore2` in `alias_httpx()`. ([#1082](https://github.com/pydantic/httpx2/pull/1082))

## 2.9.0 (July 23rd, 2026)

### Added

* Add `alias_httpx()`, letting applications make `import httpx` resolve to `httpx2` process-wide. ([#1077](https://github.com/pydantic/httpx2/pull/1077))

## 2.8.0 (July 23rd, 2026)

No changes since `2.7.0`. Version bumped to stay in lockstep with `httpcore2`.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2026/07/15 16:28:01 adam Exp $
d3 1
a3 1
DISTNAME=	httpx2-2.9.1
@


1.2
log
@py-httpcore2 py-httpx2: updated to 2.7.0

2.7.0
This release syncs the vendored WebSocket support with the latest httpx-ws, which was previously pinned to an outdated snapshot.

2.6.0
The main feature in this release is support for WebSockets!
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2026/07/06 06:54:46 wiz Exp $
d3 1
a3 1
DISTNAME=	httpx2-2.7.0
@


1.1
log
@www/py-httpx2: import py-httpx2-2.5.0

HTTPX2 is a fully featured HTTP client library for Python. It
includes an integrated command line client, has support for both
HTTP/1.1 and HTTP/2, and provides both sync and async APIs.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	httpx2-2.5.0
d13 4
a16 4
TOOL_DEPENDS+=	${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
TOOL_DEPENDS+=	${PYPKGPREFIX}-hatch-fancy-pypi-readme-[0-9]*:../../devel/py-hatch-fancy-pypi-readme
TOOL_DEPENDS+=	${PYPKGPREFIX}-uv-dynamic-versioning-[0-9]*:../../devel/py-uv-dynamic-versioning
DEPENDS+=	${PYPKGPREFIX}-truststore>=0.10:../../security/py-truststore
a17 1
DEPENDS+=	${PYPKGPREFIX}-anyio-[0-9]*:../../devel/py-anyio
d19 2
d22 2
a23 1
DEPENDS+=	${PYPKGPREFIX}-click>=8:../../devel/py-click
d26 1
a26 1
DEPENDS+=	${PYPKGPREFIX}-h2>=3:../../www/py-h2
d32 1
@

