pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-httpie py-httpie: update to 3.1.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ca369af3b6ad
branches:  trunk
changeset: 375206:ca369af3b6ad
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Mar 09 16:06:52 2022 +0000

description:
py-httpie: update to 3.1.0.

## [3.1.0] (2022-03-08)

- **SECURITY** Fixed the [vulnerability] that caused exposure of cookies on redirects to third party hosts. ([#1312])
- Fixed escaping of integer indexes with multiple backslashes in the nested JSON builder. ([#1285])
- Fixed displaying of status code without a status message on non-`auto` themes. ([#1300])
- Fixed redundant issuance of stdin detection warnings on some rare cases due to underlying implementation. ([#1303])
- Fixed double `--quiet` so that it will now suppress all python level warnings. ([#1271])
- Added support for specifying certificate private key passphrases through `--cert-key-pass` and prompts. ([#946])
- Added `httpie cli export-args` command for exposing the parser specification for the `http`/`https` commands. ([#1293])
- Improved regulation of top-level arrays. ([#1292])
- Improved UI layout for standalone invocations. ([#1296])

## [3.0.2] (2022-01-24)

- Fixed usage of `httpie` when there is a presence of a config with `default_options`. ([#1280])

## [3.0.1] (2022-01-23)

- Changed the value shown as time elapsed from time-to-read-headers to total exchange time. ([#1277])

## [3.0.0] (2022-01-21)

- Dropped support for Python 3.6. ([#1177])
- Improved startup time by 40%. ([#1211])
- Added support for nested JSON syntax. ([#1169])
- Added `httpie plugins` interface for plugin management. ([#566])
- Added support for Bearer authentication via `--auth-type=bearer` ([#1215]).
- Added support for quick conversions of pasted URLs into HTTPie calls by adding a space after the protocol name (`$ https ://pie.dev` → `https://pie.dev`). ([#1195])
- Added support for _sending_ multiple HTTP header lines with the same name. ([#130])
- Added support for _receiving_ multiple HTTP headers lines with the same name. ([#1207])
- Added support for basic JSON types on `--form`/`--multipart` when using JSON only operators (`:=`/`:=@`). ([#1212])
- Added support for automatically enabling `--stream` when `Content-Type` is `text/event-stream`. ([#376])
- Added support for displaying the total elapsed time through `--meta`/`-vv` or `--print=m`. ([#243])
- Added new `pie-dark`/`pie-light` (and `pie`) styles that match with [HTTPie for Web and Desktop]. ([#1237])
- Added support for better error handling on DNS failures. ([#1248])
- Added support for storing prompted passwords in the local sessions. ([#1098])
- Added warnings about the `--ignore-stdin`, when there is no incoming data from stdin. ([#1255])
- Fixed crashing due to broken plugins. ([#1204])
- Fixed auto addition of XML declaration to every formatted XML response. ([#1156])
- Fixed highlighting when `Content-Type` specifies `charset`. ([#1242])
- Fixed an unexpected crash when `--raw` is used with `--chunked`. ([#1253])
- Changed the default Windows theme from `fruity` to `auto`. ([#1266])

diffstat:

 www/py-httpie/Makefile |  15 ++++++++++--
 www/py-httpie/PLIST    |  60 ++++++++++++++++++++++++++++++++++++++++++++++---
 www/py-httpie/distinfo |   8 +++---
 3 files changed, 72 insertions(+), 11 deletions(-)

diffs (180 lines):

diff -r 072ddc374899 -r ca369af3b6ad www/py-httpie/Makefile
--- a/www/py-httpie/Makefile    Wed Mar 09 15:15:59 2022 +0000
+++ b/www/py-httpie/Makefile    Wed Mar 09 16:06:52 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2022/01/05 15:41:30 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/03/09 16:06:52 wiz Exp $
 
-DISTNAME=      httpie-2.6.0
+DISTNAME=      httpie-3.1.0
 PKGNAME=       ${PYPKGPREFIX}-${EGG_NAME}
-PKGREVISION=   2
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/httpie/}
 
@@ -14,17 +13,25 @@
 DEPENDS+=      ${PYPKGPREFIX}-charset-normalizer>=2.0.0:../../converters/py-charset-normalizer
 DEPENDS+=      ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
 DEPENDS+=      ${PYPKGPREFIX}-defusedxml>=0.6.0:../../textproc/py-defusedxml
+DEPENDS+=      ${PYPKGPREFIX}-multidict>=4.7.0:../../databases/py-multidict
 DEPENDS+=      ${PYPKGPREFIX}-pygments>=2.5.2:../../textproc/py-pygments
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.22.0:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-requests-toolbelt>=0.9.1:../../devel/py-requests-toolbelt
 TEST_DEPENDS+= ${PYPKGPREFIX}-responses-[0-9]*:../../net/py-responses
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-httpbin-[0-9]*:../../www/py-test-httpbin
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-lazy-fixture>=0.0.6:../../devel/py-test-lazy-fixture
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYPKGPREFIX} == "py37"
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=1.4.0:../../devel/py-importlib-metadata
+.endif
+
 USE_PKG_RESOURCES=     yes
 
 post-install:
@@ -33,6 +40,8 @@
        ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
 .endfor
 
+# test status as of 3.1.0
+# 12 failed, 966 passed, 6 skipped, 1 xfailed, 327 warnings
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
diff -r 072ddc374899 -r ca369af3b6ad www/py-httpie/PLIST
--- a/www/py-httpie/PLIST       Wed Mar 09 15:15:59 2022 +0000
+++ b/www/py-httpie/PLIST       Wed Mar 09 16:06:52 2022 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.6 2021/11/23 14:09:25 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2022/03/09 16:06:52 wiz Exp $
 bin/http-${PYVERSSUFFIX}
+bin/httpie
 bin/https-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -13,6 +14,9 @@
 ${PYSITELIB}/httpie/__main__.py
 ${PYSITELIB}/httpie/__main__.pyc
 ${PYSITELIB}/httpie/__main__.pyo
+${PYSITELIB}/httpie/adapters.py
+${PYSITELIB}/httpie/adapters.pyc
+${PYSITELIB}/httpie/adapters.pyo
 ${PYSITELIB}/httpie/cli/__init__.py
 ${PYSITELIB}/httpie/cli/__init__.pyc
 ${PYSITELIB}/httpie/cli/__init__.pyo
@@ -34,9 +38,18 @@
 ${PYSITELIB}/httpie/cli/exceptions.py
 ${PYSITELIB}/httpie/cli/exceptions.pyc
 ${PYSITELIB}/httpie/cli/exceptions.pyo
+${PYSITELIB}/httpie/cli/nested_json.py
+${PYSITELIB}/httpie/cli/nested_json.pyc
+${PYSITELIB}/httpie/cli/nested_json.pyo
+${PYSITELIB}/httpie/cli/options.py
+${PYSITELIB}/httpie/cli/options.pyc
+${PYSITELIB}/httpie/cli/options.pyo
 ${PYSITELIB}/httpie/cli/requestitems.py
 ${PYSITELIB}/httpie/cli/requestitems.pyc
 ${PYSITELIB}/httpie/cli/requestitems.pyo
+${PYSITELIB}/httpie/cli/utils.py
+${PYSITELIB}/httpie/cli/utils.pyc
+${PYSITELIB}/httpie/cli/utils.pyo
 ${PYSITELIB}/httpie/client.py
 ${PYSITELIB}/httpie/client.pyc
 ${PYSITELIB}/httpie/client.pyo
@@ -58,6 +71,30 @@
 ${PYSITELIB}/httpie/encoding.py
 ${PYSITELIB}/httpie/encoding.pyc
 ${PYSITELIB}/httpie/encoding.pyo
+${PYSITELIB}/httpie/legacy/__init__.py
+${PYSITELIB}/httpie/legacy/__init__.pyc
+${PYSITELIB}/httpie/legacy/__init__.pyo
+${PYSITELIB}/httpie/legacy/cookie_format.py
+${PYSITELIB}/httpie/legacy/cookie_format.pyc
+${PYSITELIB}/httpie/legacy/cookie_format.pyo
+${PYSITELIB}/httpie/manager/__init__.py
+${PYSITELIB}/httpie/manager/__init__.pyc
+${PYSITELIB}/httpie/manager/__init__.pyo
+${PYSITELIB}/httpie/manager/__main__.py
+${PYSITELIB}/httpie/manager/__main__.pyc
+${PYSITELIB}/httpie/manager/__main__.pyo
+${PYSITELIB}/httpie/manager/cli.py
+${PYSITELIB}/httpie/manager/cli.pyc
+${PYSITELIB}/httpie/manager/cli.pyo
+${PYSITELIB}/httpie/manager/core.py
+${PYSITELIB}/httpie/manager/core.pyc
+${PYSITELIB}/httpie/manager/core.pyo
+${PYSITELIB}/httpie/manager/plugins.py
+${PYSITELIB}/httpie/manager/plugins.pyc
+${PYSITELIB}/httpie/manager/plugins.pyo
+${PYSITELIB}/httpie/manager/tasks.py
+${PYSITELIB}/httpie/manager/tasks.pyc
+${PYSITELIB}/httpie/manager/tasks.pyo
 ${PYSITELIB}/httpie/models.py
 ${PYSITELIB}/httpie/models.pyc
 ${PYSITELIB}/httpie/models.pyo
@@ -82,18 +119,33 @@
 ${PYSITELIB}/httpie/output/lexers/__init__.py
 ${PYSITELIB}/httpie/output/lexers/__init__.pyc
 ${PYSITELIB}/httpie/output/lexers/__init__.pyo
+${PYSITELIB}/httpie/output/lexers/common.py
+${PYSITELIB}/httpie/output/lexers/common.pyc
+${PYSITELIB}/httpie/output/lexers/common.pyo
 ${PYSITELIB}/httpie/output/lexers/http.py
 ${PYSITELIB}/httpie/output/lexers/http.pyc
 ${PYSITELIB}/httpie/output/lexers/http.pyo
 ${PYSITELIB}/httpie/output/lexers/json.py
 ${PYSITELIB}/httpie/output/lexers/json.pyc
 ${PYSITELIB}/httpie/output/lexers/json.pyo
+${PYSITELIB}/httpie/output/lexers/metadata.py
+${PYSITELIB}/httpie/output/lexers/metadata.pyc
+${PYSITELIB}/httpie/output/lexers/metadata.pyo
+${PYSITELIB}/httpie/output/models.py
+${PYSITELIB}/httpie/output/models.pyc
+${PYSITELIB}/httpie/output/models.pyo
 ${PYSITELIB}/httpie/output/processing.py
 ${PYSITELIB}/httpie/output/processing.pyc
 ${PYSITELIB}/httpie/output/processing.pyo
 ${PYSITELIB}/httpie/output/streams.py
 ${PYSITELIB}/httpie/output/streams.pyc
 ${PYSITELIB}/httpie/output/streams.pyo
+${PYSITELIB}/httpie/output/ui/__init__.py
+${PYSITELIB}/httpie/output/ui/__init__.pyc
+${PYSITELIB}/httpie/output/ui/__init__.pyo
+${PYSITELIB}/httpie/output/ui/palette.py
+${PYSITELIB}/httpie/output/ui/palette.pyc
+${PYSITELIB}/httpie/output/ui/palette.pyo
 ${PYSITELIB}/httpie/output/utils.py
 ${PYSITELIB}/httpie/output/utils.pyc
 ${PYSITELIB}/httpie/output/utils.pyo
@@ -118,9 +170,9 @@
 ${PYSITELIB}/httpie/sessions.py
 ${PYSITELIB}/httpie/sessions.pyc
 ${PYSITELIB}/httpie/sessions.pyo
-${PYSITELIB}/httpie/ssl.py
-${PYSITELIB}/httpie/ssl.pyc
-${PYSITELIB}/httpie/ssl.pyo
+${PYSITELIB}/httpie/ssl_.py
+${PYSITELIB}/httpie/ssl_.pyc
+${PYSITELIB}/httpie/ssl_.pyo
 ${PYSITELIB}/httpie/status.py
 ${PYSITELIB}/httpie/status.pyc
 ${PYSITELIB}/httpie/status.pyo
diff -r 072ddc374899 -r ca369af3b6ad www/py-httpie/distinfo
--- a/www/py-httpie/distinfo    Wed Mar 09 15:15:59 2022 +0000
+++ b/www/py-httpie/distinfo    Wed Mar 09 16:06:52 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2021/11/23 14:09:25 wiz Exp $
+$NetBSD: distinfo,v 1.14 2022/03/09 16:06:52 wiz Exp $
 
-BLAKE2s (httpie-2.6.0.tar.gz) = 347b9c9ece4f460ffb1256990f6e1863a270e4e61ff31eb5d7d4d0962698bc18
-SHA512 (httpie-2.6.0.tar.gz) = a38e9769c1994fcb4e5f898e5a72283c636ea155f1fc4d594eb59c43fe98115335dec4fddd6d4e396bd11b674715c573d2fc40c4afb732ba31da0cb8e2068fd2
-Size (httpie-2.6.0.tar.gz) = 213960 bytes
+BLAKE2s (httpie-3.1.0.tar.gz) = f5e4cf093f4e397d22ac884cba0d94e8886ae88682d5b561d0d508b5126f0d70
+SHA512 (httpie-3.1.0.tar.gz) = d72937a0306ce64874310872852bfabbdde36ab19400368db6ce9743ba59449d0cf0d8f95b21f7b32bd27cd905d2dc9b722dc91b3fc6090015eb51a519f54df4
+Size (httpie-3.1.0.tar.gz) = 174758 bytes


Home | Main Index | Thread Index | Old Index