git: 188f7d83039c - main - www/py-httpx: Update to 0.25.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Sep 2023 03:25:06 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=188f7d83039cdf3f684d4f7c403ad6844a34bc37
commit 188f7d83039cdf3f684d4f7c403ad6844a34bc37
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-22 03:19:48 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-22 03:19:48 +0000
www/py-httpx: Update to 0.25.0
Changes: https://github.com/encode/httpx/releases
---
www/py-httpx/Makefile | 3 +--
www/py-httpx/distinfo | 6 +++---
www/py-httpx/files/patch-httpcore | 41 ---------------------------------------
3 files changed, 4 insertions(+), 46 deletions(-)
diff --git a/www/py-httpx/Makefile b/www/py-httpx/Makefile
index 1f4e483f7732..8df36f0780d3 100644
--- a/www/py-httpx/Makefile
+++ b/www/py-httpx/Makefile
@@ -1,6 +1,5 @@
PORTNAME= httpx
-PORTVERSION= 0.24.1
-PORTREVISION= 1
+PORTVERSION= 0.25.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-httpx/distinfo b/www/py-httpx/distinfo
index 430db9903f16..771c8e1a5b0e 100644
--- a/www/py-httpx/distinfo
+++ b/www/py-httpx/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1685162250
-SHA256 (httpx-0.24.1.tar.gz) = 5853a43053df830c20f8110c5e69fe44d035d850b2dfe795e196f00fdb774bdd
-SIZE (httpx-0.24.1.tar.gz) = 81858
+TIMESTAMP = 1695143385
+SHA256 (httpx-0.25.0.tar.gz) = 47ecda285389cb32bb2691cc6e069e3ab0205956f681c5b2ad2325719751d875
+SIZE (httpx-0.25.0.tar.gz) = 82417
diff --git a/www/py-httpx/files/patch-httpcore b/www/py-httpx/files/patch-httpcore
deleted file mode 100644
index e2dd8caca829..000000000000
--- a/www/py-httpx/files/patch-httpcore
+++ /dev/null
@@ -1,41 +0,0 @@
-Obtained from: https://github.com/encode/httpx/pull/2803
-
---- httpx/_types.py.orig 2020-02-02 00:00:00 UTC
-+++ httpx/_types.py
-@@ -16,6 +16,7 @@ from typing import (
- Iterator,
- List,
- Mapping,
-+ MutableMapping,
- NamedTuple,
- Optional,
- Sequence,
-@@ -87,7 +88,7 @@ AuthTypes = Union[
-
- RequestContent = Union[str, bytes, Iterable[bytes], AsyncIterable[bytes]]
- ResponseContent = Union[str, bytes, Iterable[bytes], AsyncIterable[bytes]]
--ResponseExtensions = Mapping[str, Any]
-+ResponseExtensions = MutableMapping[str, Any]
-
- RequestData = Mapping[str, Any]
-
-@@ -104,7 +105,7 @@ FileTypes = Union[
- ]
- RequestFiles = Union[Mapping[str, FileTypes], Sequence[Tuple[str, FileTypes]]]
-
--RequestExtensions = Mapping[str, Any]
-+RequestExtensions = MutableMapping[str, Any]
-
-
- class SyncByteStream:
---- pyproject.toml.orig 2020-02-02 00:00:00 UTC
-+++ pyproject.toml
-@@ -29,7 +29,7 @@ classifiers = [
- ]
- dependencies = [
- "certifi",
-- "httpcore>=0.15.0,<0.18.0",
-+ "httpcore>=0.18.0,<0.19.0",
- "idna",
- "sniffio",
- ]