pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-httpx py-httpx: updated to 0.23.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fe0b84eaf1d2
branches:  trunk
changeset: 388401:fe0b84eaf1d2
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Nov 18 18:53:47 2022 +0000

description:
py-httpx: updated to 0.23.1

0.23.1

Added

* Support for Python 3.11.
* Allow setting an explicit multipart boundary in `Content-Type` header.
* Allow `tuple` or `list` for multipart values, not just `list`.
* Allow `str` content for multipart upload files.
* Support connection upgrades. See https://www.encode.io/httpcore/extensions/#upgrade-requests

Fixed

* Don't drop empty query parameters.

Removed

* Drop `.read`/`.aread` from `SyncByteStream`/`AsyncByteStream`.
* Drop `RawURL`.

diffstat:

 www/py-httpx/Makefile |  10 +++++-----
 www/py-httpx/PLIST    |  40 +++++++++-------------------------------
 www/py-httpx/distinfo |   8 ++++----
 3 files changed, 18 insertions(+), 40 deletions(-)

diffs (139 lines):

diff -r a5a170be2618 -r fe0b84eaf1d2 www/py-httpx/Makefile
--- a/www/py-httpx/Makefile     Fri Nov 18 18:52:41 2022 +0000
+++ b/www/py-httpx/Makefile     Fri Nov 18 18:53:47 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2022/05/24 12:31:21 adam Exp $
+# $NetBSD: Makefile,v 1.25 2022/11/18 18:53:47 adam Exp $
 
-DISTNAME=      httpx-0.23.0
+DISTNAME=      httpx-0.23.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/httpx/}
@@ -10,6 +10,8 @@
 COMMENT=       The next generation HTTP client
 LICENSE=       modified-bsd
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-fancy-pypi-readme-[0-9]*:../../devel/py-hatch-fancy-pypi-readme
 DEPENDS+=      ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
 DEPENDS+=      ${PYPKGPREFIX}-charset-normalizer-[0-9]*:../../converters/py-charset-normalizer
 DEPENDS+=      ${PYPKGPREFIX}-httpcore>=0.15.0:../../www/py-httpcore
@@ -20,11 +22,9 @@
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-USE_PKG_RESOURCES=     yes
-
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} httpx httpx-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a5a170be2618 -r fe0b84eaf1d2 www/py-httpx/PLIST
--- a/www/py-httpx/PLIST        Fri Nov 18 18:52:41 2022 +0000
+++ b/www/py-httpx/PLIST        Fri Nov 18 18:53:47 2022 +0000
@@ -1,79 +1,57 @@
-@comment $NetBSD: PLIST,v 1.9 2022/05/24 12:31:21 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2022/11/18 18:53:47 adam Exp $
 bin/httpx-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.md
 ${PYSITELIB}/httpx/__init__.py
 ${PYSITELIB}/httpx/__init__.pyc
-${PYSITELIB}/httpx/__init__.pyo
 ${PYSITELIB}/httpx/__version__.py
 ${PYSITELIB}/httpx/__version__.pyc
-${PYSITELIB}/httpx/__version__.pyo
 ${PYSITELIB}/httpx/_api.py
 ${PYSITELIB}/httpx/_api.pyc
-${PYSITELIB}/httpx/_api.pyo
 ${PYSITELIB}/httpx/_auth.py
 ${PYSITELIB}/httpx/_auth.pyc
-${PYSITELIB}/httpx/_auth.pyo
 ${PYSITELIB}/httpx/_client.py
 ${PYSITELIB}/httpx/_client.pyc
-${PYSITELIB}/httpx/_client.pyo
 ${PYSITELIB}/httpx/_compat.py
 ${PYSITELIB}/httpx/_compat.pyc
-${PYSITELIB}/httpx/_compat.pyo
 ${PYSITELIB}/httpx/_config.py
 ${PYSITELIB}/httpx/_config.pyc
-${PYSITELIB}/httpx/_config.pyo
 ${PYSITELIB}/httpx/_content.py
 ${PYSITELIB}/httpx/_content.pyc
-${PYSITELIB}/httpx/_content.pyo
 ${PYSITELIB}/httpx/_decoders.py
 ${PYSITELIB}/httpx/_decoders.pyc
-${PYSITELIB}/httpx/_decoders.pyo
 ${PYSITELIB}/httpx/_exceptions.py
 ${PYSITELIB}/httpx/_exceptions.pyc
-${PYSITELIB}/httpx/_exceptions.pyo
 ${PYSITELIB}/httpx/_main.py
 ${PYSITELIB}/httpx/_main.pyc
-${PYSITELIB}/httpx/_main.pyo
 ${PYSITELIB}/httpx/_models.py
 ${PYSITELIB}/httpx/_models.pyc
-${PYSITELIB}/httpx/_models.pyo
 ${PYSITELIB}/httpx/_multipart.py
 ${PYSITELIB}/httpx/_multipart.pyc
-${PYSITELIB}/httpx/_multipart.pyo
 ${PYSITELIB}/httpx/_status_codes.py
 ${PYSITELIB}/httpx/_status_codes.pyc
-${PYSITELIB}/httpx/_status_codes.pyo
 ${PYSITELIB}/httpx/_transports/__init__.py
 ${PYSITELIB}/httpx/_transports/__init__.pyc
-${PYSITELIB}/httpx/_transports/__init__.pyo
 ${PYSITELIB}/httpx/_transports/asgi.py
 ${PYSITELIB}/httpx/_transports/asgi.pyc
-${PYSITELIB}/httpx/_transports/asgi.pyo
 ${PYSITELIB}/httpx/_transports/base.py
 ${PYSITELIB}/httpx/_transports/base.pyc
-${PYSITELIB}/httpx/_transports/base.pyo
 ${PYSITELIB}/httpx/_transports/default.py
 ${PYSITELIB}/httpx/_transports/default.pyc
-${PYSITELIB}/httpx/_transports/default.pyo
 ${PYSITELIB}/httpx/_transports/mock.py
 ${PYSITELIB}/httpx/_transports/mock.pyc
-${PYSITELIB}/httpx/_transports/mock.pyo
 ${PYSITELIB}/httpx/_transports/wsgi.py
 ${PYSITELIB}/httpx/_transports/wsgi.pyc
-${PYSITELIB}/httpx/_transports/wsgi.pyo
 ${PYSITELIB}/httpx/_types.py
 ${PYSITELIB}/httpx/_types.pyc
-${PYSITELIB}/httpx/_types.pyo
 ${PYSITELIB}/httpx/_urls.py
 ${PYSITELIB}/httpx/_urls.pyc
-${PYSITELIB}/httpx/_urls.pyo
 ${PYSITELIB}/httpx/_utils.py
 ${PYSITELIB}/httpx/_utils.pyc
-${PYSITELIB}/httpx/_utils.pyo
 ${PYSITELIB}/httpx/py.typed
diff -r a5a170be2618 -r fe0b84eaf1d2 www/py-httpx/distinfo
--- a/www/py-httpx/distinfo     Fri Nov 18 18:52:41 2022 +0000
+++ b/www/py-httpx/distinfo     Fri Nov 18 18:53:47 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.23 2022/05/24 12:31:21 adam Exp $
+$NetBSD: distinfo,v 1.24 2022/11/18 18:53:47 adam Exp $
 
-BLAKE2s (httpx-0.23.0.tar.gz) = 14f007fc67e9366b2346999dd07af1dfb398dc2fcc866c0e4e46c9d803b3eaa1
-SHA512 (httpx-0.23.0.tar.gz) = b10c21b25632a15c460323d68bd3bd847d529d467ddfe4ee76e51776fc521fba667ad960270f9915aa36b8ccb6578e4ebc59751ae60b081434b625f1873ef421
-Size (httpx-0.23.0.tar.gz) = 108102 bytes
+BLAKE2s (httpx-0.23.1.tar.gz) = 8b5218654c455fcf90606450861b7469d6350ae7f876fbb1ac22a6c424a6df86
+SHA512 (httpx-0.23.1.tar.gz) = cc22a52b12f91b81b80d77f95592f22a6dc76425c0dfcae8c5988efeb8e56189439f0b63d0fd140c6ee94126c8c94b204a8056a70147ac383ddfb537a32c2f64
+Size (httpx-0.23.1.tar.gz) = 90447 bytes



Home | Main Index | Thread Index | Old Index