head	1.23;
access;
symbols
	pkgsrc-2026Q3:1.21.0.2
	pkgsrc-2026Q3-base:1.21
	pkgsrc-2026Q2:1.19.0.4
	pkgsrc-2026Q2-base:1.19
	pkgsrc-2026Q1:1.19.0.2
	pkgsrc-2026Q1-base:1.19
	pkgsrc-2025Q4:1.17.0.2
	pkgsrc-2025Q4-base:1.17
	pkgsrc-2025Q3:1.16.0.2
	pkgsrc-2025Q3-base:1.16
	pkgsrc-2025Q2:1.14.0.2
	pkgsrc-2025Q2-base:1.14
	pkgsrc-2025Q1:1.13.0.2
	pkgsrc-2025Q1-base:1.13
	pkgsrc-2024Q4:1.12.0.2
	pkgsrc-2024Q4-base:1.12
	pkgsrc-2024Q3:1.11.0.4
	pkgsrc-2024Q3-base:1.11
	pkgsrc-2024Q2:1.11.0.2
	pkgsrc-2024Q2-base:1.11
	pkgsrc-2024Q1:1.9.0.2
	pkgsrc-2024Q1-base:1.9
	pkgsrc-2023Q4:1.8.0.4
	pkgsrc-2023Q4-base:1.8
	pkgsrc-2023Q3:1.8.0.2
	pkgsrc-2023Q3-base:1.8
	pkgsrc-2023Q2:1.7.0.4
	pkgsrc-2023Q2-base:1.7
	pkgsrc-2023Q1:1.7.0.2
	pkgsrc-2023Q1-base:1.7
	pkgsrc-2022Q4:1.6.0.2
	pkgsrc-2022Q4-base:1.6
	pkgsrc-2022Q3:1.4.0.6
	pkgsrc-2022Q3-base:1.4
	pkgsrc-2022Q2:1.4.0.4
	pkgsrc-2022Q2-base:1.4
	pkgsrc-2022Q1:1.4.0.2
	pkgsrc-2022Q1-base:1.4
	pkgsrc-2021Q4:1.3.0.2
	pkgsrc-2021Q4-base:1.3
	pkgsrc-2021Q3:1.2.0.2
	pkgsrc-2021Q3-base:1.2
	pkgsrc-2021Q2:1.1.0.32
	pkgsrc-2021Q2-base:1.1
	pkgsrc-2021Q1:1.1.0.30
	pkgsrc-2021Q1-base:1.1
	pkgsrc-2020Q4:1.1.0.28
	pkgsrc-2020Q4-base:1.1
	pkgsrc-2020Q3:1.1.0.26
	pkgsrc-2020Q3-base:1.1
	pkgsrc-2020Q2:1.1.0.22
	pkgsrc-2020Q2-base:1.1
	pkgsrc-2020Q1:1.1.0.2
	pkgsrc-2020Q1-base:1.1
	pkgsrc-2019Q4:1.1.0.24
	pkgsrc-2019Q4-base:1.1
	pkgsrc-2019Q3:1.1.0.20
	pkgsrc-2019Q3-base:1.1
	pkgsrc-2019Q2:1.1.0.18
	pkgsrc-2019Q2-base:1.1
	pkgsrc-2019Q1:1.1.0.16
	pkgsrc-2019Q1-base:1.1
	pkgsrc-2018Q4:1.1.0.14
	pkgsrc-2018Q4-base:1.1
	pkgsrc-2018Q3:1.1.0.12
	pkgsrc-2018Q3-base:1.1
	pkgsrc-2018Q2:1.1.0.10
	pkgsrc-2018Q2-base:1.1
	pkgsrc-2018Q1:1.1.0.8
	pkgsrc-2018Q1-base:1.1
	pkgsrc-2017Q4:1.1.0.6
	pkgsrc-2017Q4-base:1.1
	pkgsrc-2017Q3:1.1.0.4
	pkgsrc-2017Q3-base:1.1;
locks; strict;
comment	@# @;


1.23
date	2026.10.19.15.55.15;	author adam;	state Exp;
branches;
next	1.22;
commitid	cf2SC9GzX7ZTs60H;

1.22
date	2026.10.16.19.44.08;	author adam;	state Exp;
branches;
next	1.21;
commitid	z8jatkdHAjoiPJZG;

1.21
date	2026.07.02.07.55.19;	author adam;	state Exp;
branches;
next	1.20;
commitid	wPJnDFMUlwlwj3MG;

1.20
date	2026.06.28.15.41.33;	author wiz;	state Exp;
branches;
next	1.19;
commitid	hjtQh9zHnnKc1ALG;

1.19
date	2026.02.25.14.43.01;	author adam;	state Exp;
branches;
next	1.18;
commitid	dIubb69kBRNtELvG;

1.18
date	2025.12.26.11.42.29;	author adam;	state Exp;
branches;
next	1.17;
commitid	9GDLaUF55UK6CUnG;

1.17
date	2025.10.09.07.57.51;	author wiz;	state Exp;
branches;
next	1.16;
commitid	t4nMY0Dt3rBjSRdG;

1.16
date	2025.08.20.07.52.02;	author adam;	state Exp;
branches;
next	1.15;
commitid	oDQW65oRXQiasr7G;

1.15
date	2025.07.05.11.44.13;	author wiz;	state Exp;
branches;
next	1.14;
commitid	B2KLCDAZOmgedy1G;

1.14
date	2025.04.15.05.38.03;	author adam;	state Exp;
branches;
next	1.13;
commitid	jomgYu8Ys27lN6RF;

1.13
date	2025.01.08.14.32.19;	author adam;	state Exp;
branches;
next	1.12;
commitid	2HEtHRRmBx0RRGEF;

1.12
date	2024.11.11.07.28.48;	author wiz;	state Exp;
branches;
next	1.11;
commitid	1fBDq3LwS98NncxF;

1.11
date	2024.06.12.06.02.39;	author adam;	state Exp;
branches;
next	1.10;
commitid	sX9jkYNBiZutNEdF;

1.10
date	2024.04.08.14.21.13;	author adam;	state Exp;
branches;
next	1.9;
commitid	r4xnRLK4VSe6El5F;

1.9
date	2024.01.16.11.07.33;	author adam;	state Exp;
branches;
next	1.8;
commitid	dBBknPZW0Ls5fFUE;

1.8
date	2023.08.28.08.51.41;	author adam;	state Exp;
branches;
next	1.7;
commitid	QDZir53j7uys1xCE;

1.7
date	2023.03.15.13.06.38;	author adam;	state Exp;
branches;
next	1.6;
commitid	OFYI4zaWxhyJLdhE;

1.6
date	2022.11.09.08.47.09;	author adam;	state Exp;
branches;
next	1.5;
commitid	4nFjdDWTQKUUn01E;

1.5
date	2022.10.23.15.52.51;	author adam;	state Exp;
branches;
next	1.4;
commitid	mgGYzcWUFhrihRYD;

1.4
date	2022.01.04.20.54.27;	author wiz;	state Exp;
branches;
next	1.3;
commitid	CYyhdK9qtoffkmnD;

1.3
date	2021.10.11.06.51.41;	author adam;	state Exp;
branches;
next	1.2;
commitid	hM2zBI0rP47spmcD;

1.2
date	2021.08.24.10.50.05;	author nia;	state Exp;
branches;
next	1.1;
commitid	FF4LK8tMYfZRgd6D;

1.1
date	2017.07.14.10.44.59;	author adam;	state Exp;
branches;
next	;
commitid	KkBOeGdCOn5xwbZz;


desc
@@


1.23
log
@py-geventhttpclient: updated to 2.6.1

2.6.1 (2026-10-09)

Added

- Python 3.15 is supported explicitly

2.6.0 (2026-10-05)

Added

- Type annotations across the package, with a `py.typed` marker
- Basic auth added: `BasicAuth("user", "pass")`, or the `requests`-style
  `("user", "pass")` tuple, on a `Session` or a single request
- `geventhttpclient.httpx`, an httpx-compatible client on the same engine
- Requests compatibility improved: `history`, `elapsed`, `cookies`,
  `links`, `encoding`, `iter_content()`, `iter_lines()`, `json()`,
  `bool()`, `close()` and `raise_for_status` with the response attached
- `insecure` on `UserAgent`, for TLS targets without a verified chain
- `CompatRequest` derives from `urllib.request.Request`, so cookie jars
  work without workarounds

Changed

- Header field names and values are `str` instead of `bytes`
- Multi-value headers send one field line per element (RFC 9110)
- Redirect resolution follows RFC 3986; other schemes raise
  `UnsupportedRedirectSchemeError`
- Retries after a transmission error are limited to idempotent methods
- Empty bodies on POST, PUT and PATCH send `Content-Length: 0`
- `check_hostname`, `cert_file` and `key_file` are deprecated in favour of
  a custom SSL context; `check_hostname` now defaults to `True`
- Require `gevent>=25.9`

Fixed

- The request head is validated and encoded as latin-1, like
  `http.client`, instead of allowing header smuggling
- `requests` and `urllib3` work again through the `httplib` shim
- Error statuses and redirects come through the httplib2 wrapper
- 307/308 redirects resend the body, and `Authorization` is dropped when
  a redirect leaves the origin
- `URL.redirect` keeps the base path and query
- Requests retain semicolon path parameters, including after redirects
- `follow_redirects=False` is honoured by the `httpx.Client` shortcuts

Removed

- `Headers.iteroriginal()` and `Headers.iget()`; use `items()` and
  `getlist()`
- The unmaintained `oauth2` extra
@
text
@# $NetBSD: Makefile,v 1.22 2026/10/16 19:44:08 adam Exp $

DISTNAME=	geventhttpclient-2.6.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	net python
MASTER_SITES=	${MASTER_SITE_PYPI:=g/geventhttpclient/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/gwik/geventhttpclient
COMMENT=	HTTP client library for gevent
LICENSE=	mit

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=8:../../devel/py-setuptools_scm
DEPENDS+=	${PYPKGPREFIX}-brotli>=0:../../archivers/py-brotli
DEPENDS+=	${PYPKGPREFIX}-certifi>=0:../../security/py-certifi
DEPENDS+=	${PYPKGPREFIX}-gevent>=25.9:../../net/py-gevent
TEST_DEPENDS+=	${PYPKGPREFIX}-dpkt>=0:../../net/py-dpkt
TEST_DEPENDS+=	${PYPKGPREFIX}-httplib2>=0:../../www/py-httplib2
TEST_DEPENDS+=	${PYPKGPREFIX}-requests>=0:../../devel/py-requests
TEST_DEPENDS+=	${PYPKGPREFIX}-test-rerunfailures>=0:../../devel/py-test-rerunfailures

PYTHON_VERSIONS_INCOMPATIBLE=	311

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


1.22
log
@Forget Python 3.10
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2026/07/02 07:55:19 adam Exp $
d3 1
a3 1
DISTNAME=	geventhttpclient-2.3.9
d14 8
a21 5
DEPENDS+=	${PYPKGPREFIX}-brotli-[0-9]*:../../archivers/py-brotli
DEPENDS+=	${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
DEPENDS+=	${PYPKGPREFIX}-gevent>=0.13:../../net/py-gevent
DEPENDS+=	${PYPKGPREFIX}-urllib3-[0-9]*:../../www/py-urllib3
TEST_DEPENDS+=	${PYPKGPREFIX}-dpkt-[0-9]*:../../net/py-dpkt
@


1.21
log
@py-geventhttpclient: updated to 2.3.9

2.3.9
Use select() for socket validation with stdlib SSL support
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2026/06/28 15:41:33 wiz Exp $
d20 1
a20 1
PYTHON_VERSIONS_INCOMPATIBLE=	310 311
@


1.20
log
@*: limit Python versions due to py-numpy dropping Python 3.11 support
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2026/02/25 14:43:01 adam Exp $
d3 1
a3 1
DISTNAME=	geventhttpclient-2.3.8
@


1.19
log
@py-geventhttpclient: updated to 2.3.8

2.3.8
feat: Add connection validation to prevent stale connection reuse
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2025/12/26 11:42:29 adam Exp $
d20 1
a20 1
PYTHON_VERSIONS_INCOMPATIBLE=	310
@


1.18
log
@py-geventhttpclient: updated to 2.3.7

2.3.7
Update GitHub action versions, build using Python 3.14, update cibuildwheel to 3.3.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2025/10/09 07:57:51 wiz Exp $
d3 1
a3 1
DISTNAME=	geventhttpclient-2.3.7
@


1.17
log
@*: remove reference to (removed) Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2025/08/20 07:52:02 adam Exp $
d3 1
a3 1
DISTNAME=	geventhttpclient-2.3.4
@


1.16
log
@py-geventhttpclient: updated to 2.3.4

2.3.4
test: Increase the read of the TLS handshake in sni_checker_server()
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2025/07/05 11:44:13 wiz Exp $
d20 1
a20 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310
@


1.15
log
@*: some more recursive Python restrictions on Python 3.11+

Reported in SmartOS bulk build
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2025/04/15 05:38:03 adam Exp $
d3 1
a3 1
DISTNAME=	geventhttpclient-2.3.3
a4 1
PKGREVISION=	1
@


1.14
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2025/01/08 14:32:19 adam Exp $
d21 2
@


1.13
log
@py-geventhttpclient: updated to 2.3.3

2.3.3

Fixed github action publishing issue
Fixed 225
Move project source back to src/geventhttpclient
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2024/11/11 07:28:48 wiz Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
@


1.12
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2024/06/12 06:02:39 adam Exp $
d3 1
a3 1
DISTNAME=	geventhttpclient-2.3.1
a19 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.11
log
@py-geventhttpclient: updated to 2.3.1

2.3.1
Fix locust backwards compatibility

2.3.0
Clean up readme and example code
Fix for 179 and improved multipart form handling
requests compatibility layer
Fixed 186 and improved package build
Add pre-commit hooks
Add requests compatibility to README
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2024/04/08 14:21:13 adam Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.10
log
@py-geventhttpclient: updated to 2.0.12

2.0.12

port examples to Python3
add response cookies to cookiejar before verify_status
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2024/01/16 11:07:33 adam Exp $
d3 1
a3 1
DISTNAME=	geventhttpclient-2.0.12
d18 1
a18 1
DEPENDS+=	${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
a19 1
TEST_DEPENDS+=	${PYPKGPREFIX}-urllib3-[0-9]*:../../www/py-urllib3
d21 1
a21 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 # py-certifi
@


1.9
log
@py-geventhttpclient: updated to 2.0.11

2.0.11
Support Python 3.12
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2023/08/28 08:51:41 adam Exp $
d3 1
a3 1
DISTNAME=	geventhttpclient-2.0.11
d20 1
@


1.8
log
@py-geventhttpclient: updated to 2.0.10

2.0.10

Disable unit tests for no ssl module + fixes for build
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2023/03/15 13:06:38 adam Exp $
d3 1
a3 1
DISTNAME=	geventhttpclient-2.0.10
d13 2
d19 1
d23 1
a23 1
.include "../../lang/python/egg.mk"
@


1.7
log
@py-geventhttpclient: updated to 2.0.9

2.0.9
Add square brackets for Host header when using IPv6 address
Enable ppc64le wheels
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/11/09 08:47:09 adam Exp $
d3 1
a3 1
DISTNAME=	geventhttpclient-2.0.9
@


1.6
log
@py-geventhttpclient: mark as not for Python 2.7 because of py-certifi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2022/10/23 15:52:51 adam Exp $
d3 1
a3 1
DISTNAME=	geventhttpclient-2.0.8
@


1.5
log
@py-geventhttpclient: updated to 2.0.8

2.0.8
Prefer using create_default_ssl_context (second try, now backwards compatible)

2.0.7
Revert "Prefer using create_default_ssl_context"

2.0.3
fix: import distutils after setuptools (compat with setuptools/65.3.0) by @@sandrotosi in #168
Vendor llhttp as submodule and update it to v6.0.10

2.0.2
Urlencode spaces in query string, like requests does

2.0.1
Always URLencode data parameter if it is dict type

2.0.0
Replace http_parser with llhttp
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/01/04 20:54:27 wiz Exp $
d18 2
@


1.4
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2021/10/11 06:51:41 adam Exp $
d3 1
a3 1
DISTNAME=	geventhttpclient-1.5.3
a4 1
PKGREVISION=	1
@


1.3
log
@py-geventhttpclient: updated to 1.5.3

1.5.3:
Add support (and pre-built wheels) for Python 3.10
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2021/08/24 10:50:05 nia Exp $
d5 1
@


1.2
log
@py-geventhttpclient: update to 1.5.1

adds support for brotli encoded content.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2017/07/14 10:44:59 adam Exp $
d3 1
a3 1
DISTNAME=	geventhttpclient-1.5.1
d13 2
a15 1
DEPENDS+=	${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
a16 4
DEPENDS+=	${PYPKGPREFIX}-brotli-[0-9]*:../../archivers/py-brotli

post-extract:
	${RM} -f -r ${WRKSRC}/src/geventhttpclient/tests/__pycache__
@


1.1
log
@A high performance, concurrent HTTP client library for python using gevent.

gevent.httplib support was removed in gevent 1.0, geventhttpclient now provides
that missing functionality.

geventhttpclient uses a fast http parser, written in C, originating from nginx,
extracted and modified by Joyent.

geventhttpclient has been specifically designed for high concurrency, streaming
and support HTTP 1.1 persistent connections. More generally it is designed for
efficiently pulling from REST APIs and streaming APIs like Twitter's.

Safe SSL support is provided by default. geventhttpclient depends on the
certifi CA Bundle. This is the same CA Bundle which ships with the Requests
codebase, and is derived from Mozilla Firefox's canonical set.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	geventhttpclient-1.3.1
d16 1
@

