f65cc7c6a7
0.23.0 (23rd May, 2022) Changed * Drop support for Python 3.6. * Use `utf-8` as the default character set, instead of falling back to `charset-normalizer` for auto-detection. To enable automatic character set detection, see [the documentation](https://www.python-httpx.org/advanced/#character-set-encodings-and-auto-detection). Fixed * Fix `URL.copy_with` for some oddly formed URL cases. * Digest authentication should use case-insensitive comparison for determining which algorithm is being used. * Fix console markup escaping in command line client. * When files are used in multipart upload, ensure we always seek to the start of the file. * Ensure that `iter_bytes` never yields zero-length chunks. * Preserve `Authorization` header for redirects that are to the same origin, but are an `http`-to-`https` upgrade. * When responses have binary output, don't print the output to the console in the command line client. Use output like `<16086 bytes of binary data>` instead. * Fix display of `--proxies` argument in the command line client help. * Close responses when task cancellations occur during stream reading. * Fix type error on accessing `.request` on `HTTPError` exceptions.
30 lines
912 B
Makefile
30 lines
912 B
Makefile
# $NetBSD: Makefile,v 1.24 2022/05/24 12:31:21 adam Exp $
|
|
|
|
DISTNAME= httpx-0.23.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=h/httpx/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/encode/httpx
|
|
COMMENT= The next generation HTTP client
|
|
LICENSE= modified-bsd
|
|
|
|
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
|
|
DEPENDS+= ${PYPKGPREFIX}-rfc3986>=1.3:../../www/py-rfc3986
|
|
DEPENDS+= ${PYPKGPREFIX}-sniffio-[0-9]*:../../misc/py-sniffio
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
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 "../../mk/bsd.pkg.mk"
|