Received: by mail.netbsd.org (Postfix, from userid 605) id 326D784D6B; Tue, 6 Apr 2021 15:28:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6C94E84D0E for ; Tue, 6 Apr 2021 15:28:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id OWmPozahV-jd for ; Tue, 6 Apr 2021 15:28:40 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 6F96F84CDC for ; Tue, 6 Apr 2021 15:28:40 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 6C8E8FA95; Tue, 6 Apr 2021 15:28:40 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1617722920279760" MIME-Version: 1.0 Date: Tue, 6 Apr 2021 15:28:40 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/www/py-httpie To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20210406152840.6C8E8FA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1617722920279760 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: adam Date: Tue Apr 6 15:28:40 UTC 2021 Modified Files: pkgsrc/www/py-httpie: ALTERNATIVES Makefile PLIST distinfo Log Message: py-httpie: updated to 2.4.0 2.4.0 (2021-02-06) Added support for --session cookie expiration based on Set-Cookie: max-age=. Show a --check-status warning with --quiet as well, not only when the output is redirected. Fixed upload with --session Fixed a missing blank line between request and response 2.3.0 (2020-10-25) Added support for streamed uploads Added support for multipart upload streaming Added support for body-from-file upload streaming (http pie.dev/post @file). Added --chunked to enable chunked transfer encoding Added --multipart to allow multipart/form-data encoding for non-file --form requests as well. Added support for preserving field order in multipart requests Added --boundary to allow a custom boundary string for multipart/form-data requests. Added support for combining cookies specified on the CLI and in a session file Added out of the box SOCKS support with no extra installation Added --quiet, -q flag to enforce silent behaviour. Fixed the handling of invalid expires dates in Set-Cookie headers Removed Tox testing entirely 2.2.0 (2020-06-18) Added support for custom content types for uploaded files Added support for $XDG_CONFIG_HOME Added support for Set-Cookie-triggered cookie expiration Added --format-options to allow disabling sorting, etc. Added --sorted and --unsorted shortcuts for (un)setting all sorting-related --format-options. Added --ciphers to allow configuring OpenSSL ciphers Added netrc support for auth plugins. Enabled for --auth-type=basic and digest, 3rd parties may opt in Fixed built-in plugins-related circular imports 2.1.0 (2020-04-18) Added --path-as-is to bypass dot segment (/../ or /./) URL squashing Changed the default Accept header value for JSON requests from application/json, */* to application/json, */*;q=0.5 to clearly indicate preference Fixed --form file upload mixed with redirected stdin error handling 2.0.0 (2020-01-12) Removed Python 2.7 support (EOL Jan 2020). Added --offline to allow building an HTTP request and printing it but not actually sending it over the network. Replaced the old collect-all-then-process handling of HTTP communication with one-by-one processing of each HTTP request or response as they become available. This means that you can see headers immediately, see what is being sent even if the request fails, etc. Removed automatic config file creation to avoid concurrency issues. Removed the default 30-second connection --timeout limit. Removed Python’s default limit of 100 response headers. Added --max-headers to allow setting the max header limit. Added --compress to allow request body compression. Added --ignore-netrc to allow bypassing credentials from .netrc. Added https alias command with https:// as the default scheme. Added $ALL_PROXY documentation. Added type annotations throughout the codebase. Added tests/ to the PyPi package for the convenience of downstream package maintainers. Fixed an error when stdin was a closed fd. Improved --debug output formatting. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/py-httpie/ALTERNATIVES cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/py-httpie/Makefile cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-httpie/PLIST cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/py-httpie/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1617722920279760 Content-Disposition: inline Content-Length: 6282 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/py-httpie/ALTERNATIVES diff -u pkgsrc/www/py-httpie/ALTERNATIVES:1.1 pkgsrc/www/py-httpie/ALTERNATIVES:1.2 --- pkgsrc/www/py-httpie/ALTERNATIVES:1.1 Wed Nov 21 17:18:04 2018 +++ pkgsrc/www/py-httpie/ALTERNATIVES Tue Apr 6 15:28:40 2021 @@ -1 +1,2 @@ bin/http @PREFIX@/bin/http-@PYVERSSUFFIX@ +bin/https @PREFIX@/bin/https-@PYVERSSUFFIX@ Index: pkgsrc/www/py-httpie/Makefile diff -u pkgsrc/www/py-httpie/Makefile:1.8 pkgsrc/www/py-httpie/Makefile:1.9 --- pkgsrc/www/py-httpie/Makefile:1.8 Tue Aug 27 06:01:23 2019 +++ pkgsrc/www/py-httpie/Makefile Tue Apr 6 15:28:40 2021 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.8 2019/08/27 06:01:23 adam Exp $ +# $NetBSD: Makefile,v 1.9 2021/04/06 15:28:40 adam Exp $ -DISTNAME= httpie-1.0.3 +DISTNAME= httpie-2.4.0 PKGNAME= ${PYPKGPREFIX}-${EGG_NAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=h/httpie/} @@ -13,14 +13,22 @@ LICENSE= original-bsd DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses DEPENDS+= ${PYPKGPREFIX}-pygments>=2.1.3:../../textproc/py-pygments DEPENDS+= ${PYPKGPREFIX}-requests>=2.18.4:../../devel/py-requests -# Tests are not included as of 1.0.3 -#TEST_DEPENDS+= ${PYPKGPREFIX}-test-httpbin-[0-9]*:../../www/py-test-httpbin +DEPENDS+= ${PYPKGPREFIX}-requests-toolbelt>=0.9.1:../../devel/py-requests-toolbelt +TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock +TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test +TEST_DEPENDS+= ${PYPKGPREFIX}-test-httpbin-[0-9]*:../../www/py-test-httpbin USE_LANGUAGES= # none +PYSETUPTESTTARGET= pytest + +PYTHON_VERSIONS_INCOMPATIBLE= 27 + post-install: +.for bin in http https cd ${DESTDIR}${PREFIX}/bin && \ - ${MV} http http-${PYVERSSUFFIX} || ${TRUE} + ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE} +.endfor .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" Index: pkgsrc/www/py-httpie/PLIST diff -u pkgsrc/www/py-httpie/PLIST:1.4 pkgsrc/www/py-httpie/PLIST:1.5 --- pkgsrc/www/py-httpie/PLIST:1.4 Wed Nov 21 17:18:04 2018 +++ pkgsrc/www/py-httpie/PLIST Tue Apr 6 15:28:40 2021 @@ -1,5 +1,6 @@ -@comment $NetBSD: PLIST,v 1.4 2018/11/21 17:18:04 adam Exp $ +@comment $NetBSD: PLIST,v 1.5 2021/04/06 15:28:40 adam Exp $ bin/http-${PYVERSSUFFIX} +bin/https-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -12,9 +13,30 @@ ${PYSITELIB}/httpie/__init__.pyo ${PYSITELIB}/httpie/__main__.py ${PYSITELIB}/httpie/__main__.pyc ${PYSITELIB}/httpie/__main__.pyo -${PYSITELIB}/httpie/cli.py -${PYSITELIB}/httpie/cli.pyc -${PYSITELIB}/httpie/cli.pyo +${PYSITELIB}/httpie/cli/__init__.py +${PYSITELIB}/httpie/cli/__init__.pyc +${PYSITELIB}/httpie/cli/__init__.pyo +${PYSITELIB}/httpie/cli/argparser.py +${PYSITELIB}/httpie/cli/argparser.pyc +${PYSITELIB}/httpie/cli/argparser.pyo +${PYSITELIB}/httpie/cli/argtypes.py +${PYSITELIB}/httpie/cli/argtypes.pyc +${PYSITELIB}/httpie/cli/argtypes.pyo +${PYSITELIB}/httpie/cli/constants.py +${PYSITELIB}/httpie/cli/constants.pyc +${PYSITELIB}/httpie/cli/constants.pyo +${PYSITELIB}/httpie/cli/definition.py +${PYSITELIB}/httpie/cli/definition.pyc +${PYSITELIB}/httpie/cli/definition.pyo +${PYSITELIB}/httpie/cli/dicts.py +${PYSITELIB}/httpie/cli/dicts.pyc +${PYSITELIB}/httpie/cli/dicts.pyo +${PYSITELIB}/httpie/cli/exceptions.py +${PYSITELIB}/httpie/cli/exceptions.pyc +${PYSITELIB}/httpie/cli/exceptions.pyo +${PYSITELIB}/httpie/cli/requestitems.py +${PYSITELIB}/httpie/cli/requestitems.pyc +${PYSITELIB}/httpie/cli/requestitems.pyo ${PYSITELIB}/httpie/client.py ${PYSITELIB}/httpie/client.pyc ${PYSITELIB}/httpie/client.pyo @@ -33,9 +55,6 @@ ${PYSITELIB}/httpie/core.pyo ${PYSITELIB}/httpie/downloads.py ${PYSITELIB}/httpie/downloads.pyc ${PYSITELIB}/httpie/downloads.pyo -${PYSITELIB}/httpie/input.py -${PYSITELIB}/httpie/input.pyc -${PYSITELIB}/httpie/input.pyo ${PYSITELIB}/httpie/models.py ${PYSITELIB}/httpie/models.pyc ${PYSITELIB}/httpie/models.pyo @@ -60,6 +79,9 @@ ${PYSITELIB}/httpie/output/processing.py ${PYSITELIB}/httpie/output/streams.py ${PYSITELIB}/httpie/output/streams.pyc ${PYSITELIB}/httpie/output/streams.pyo +${PYSITELIB}/httpie/output/writer.py +${PYSITELIB}/httpie/output/writer.pyc +${PYSITELIB}/httpie/output/writer.pyo ${PYSITELIB}/httpie/plugins/__init__.py ${PYSITELIB}/httpie/plugins/__init__.pyc ${PYSITELIB}/httpie/plugins/__init__.pyo @@ -72,9 +94,21 @@ ${PYSITELIB}/httpie/plugins/builtin.pyo ${PYSITELIB}/httpie/plugins/manager.py ${PYSITELIB}/httpie/plugins/manager.pyc ${PYSITELIB}/httpie/plugins/manager.pyo +${PYSITELIB}/httpie/plugins/registry.py +${PYSITELIB}/httpie/plugins/registry.pyc +${PYSITELIB}/httpie/plugins/registry.pyo ${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/status.py +${PYSITELIB}/httpie/status.pyc +${PYSITELIB}/httpie/status.pyo +${PYSITELIB}/httpie/uploads.py +${PYSITELIB}/httpie/uploads.pyc +${PYSITELIB}/httpie/uploads.pyo ${PYSITELIB}/httpie/utils.py ${PYSITELIB}/httpie/utils.pyc ${PYSITELIB}/httpie/utils.pyo Index: pkgsrc/www/py-httpie/distinfo diff -u pkgsrc/www/py-httpie/distinfo:1.9 pkgsrc/www/py-httpie/distinfo:1.10 --- pkgsrc/www/py-httpie/distinfo:1.9 Tue Aug 27 06:01:23 2019 +++ pkgsrc/www/py-httpie/distinfo Tue Apr 6 15:28:40 2021 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.9 2019/08/27 06:01:23 adam Exp $ +$NetBSD: distinfo,v 1.10 2021/04/06 15:28:40 adam Exp $ -SHA1 (httpie-1.0.3.tar.gz) = 476fde8aa1827f7dd65c3a114e80023450df0bff -RMD160 (httpie-1.0.3.tar.gz) = ce5d7149dcca76a93c8f4d9a8d19c7560b8463ca -SHA512 (httpie-1.0.3.tar.gz) = b51779e0ec8f24108ee3f4bf690dc9dfddafff42509d1aa3d13ac12d65a93e02aad9644dc10134ebdbebf949b250cb288650a4dad3d382143e9ad3b9b0ac8c16 -Size (httpie-1.0.3.tar.gz) = 86725 bytes +SHA1 (httpie-2.4.0.tar.gz) = 7cf8ab6fce1923d65d00082abb0f5df79350ea73 +RMD160 (httpie-2.4.0.tar.gz) = d4a19862cd1d40ffe99d0dfef4858d5ec47ae9ed +SHA512 (httpie-2.4.0.tar.gz) = ebe5754df7859479e5f10bb31b702a2b91c8efffbb7438564343ecb478b5e1c13d4643a3f087a693749e84d5830bb346ba2830847f00b8ee2c3e2467bdcb2e42 +Size (httpie-2.4.0.tar.gz) = 220601 bytes --_----------=_1617722920279760--