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: updated to 0.9.9



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bf6c3963d37e
branches:  trunk
changeset: 379525:bf6c3963d37e
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed May 02 07:29:16 2018 +0000

description:
py-httpie: updated to 0.9.9

0.9.8:
* Extended auth plugin API.
* Added exit status code 7 for plugin errors.
* Added support for curses-less Python installations.
* Fixed REQUEST_ITEM arg incorrectly being reported as required.
* Improved CTRL-C interrupt handling.
* Added the standard exit status code 130 for keyboard interrupts.

0.9.6:
* Added Python 3 as a dependency for Homebrew installations
  to ensure some of the newer HTTP features work out of the box
  for macOS users (starting with HTTPie 0.9.4.).
* Added the ability to unset a request header with Header:, and send an
  empty value with Header;.
* Added --default-scheme <URL_SCHEME> to enable things like
  $ alias https='http --default-scheme=https.
* Added -I as a shortcut for --ignore-stdin.
* Added fish shell completion (located in extras/httpie-completion.fish
  in the Github repo).
* Updated requests to 2.10.0 so that SOCKS support can be added via
  pip install requests[socks].
* Changed the default JSON Accept header from application/json
  to application/json, */*.
* Changed the pre-processing of request HTTP headers so that any leading
  and trailing whitespace is removed.

0.9.4:
* Added Content-Type of files uploaded in multipart/form-data requests
* Added --ssl=<PROTOCOL> to specify the desired SSL/TLS protocol version
  to use for HTTPS requests.
* Added JSON detection with --json, -j to work around incorrect
  Content-Type
* Added --all to show intermediate responses such as redirects (with --follow)
* Added --history-print, -P WHAT to specify formatting of intermediate responses
* Added --max-redirects=N (default 30)
* Added -A as short name for --auth-type
* Added -F as short name for --follow
* Removed the implicit_content_type config option
  (use "default_options": ["--form"] instead)
* Redirected stdout doesn't trigger an error anymore when --output FILE
  is set
* Changed the default --style back to solarized for better support
  of light and dark terminals
* Improved --debug output
* Fixed --session when used with --download
* Fixed --download to trim too long filenames before saving the file
* Fixed the handling of Content-Type with multiple +subtype parts
* Removed the XML formatter as the implementation suffered from multiple issues

diffstat:

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

diffs (163 lines):

diff -r 9ef92eee2b50 -r bf6c3963d37e www/py-httpie/Makefile
--- a/www/py-httpie/Makefile    Wed May 02 07:11:59 2018 +0000
+++ b/www/py-httpie/Makefile    Wed May 02 07:29:16 2018 +0000
@@ -1,22 +1,20 @@
-# $NetBSD: Makefile,v 1.4 2018/04/18 19:54:20 kamil Exp $
+# $NetBSD: Makefile,v 1.5 2018/05/02 07:29:16 adam Exp $
 
-GITHUB_PROJECT=        httpie
-DISTNAME=      httpie-0.9.2
+DISTNAME=      httpie-0.9.9
 PKGNAME=       ${PYPKGPREFIX}-${EGG_NAME}
-CATEGORIES=    www
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=jakubroztocil/}
+CATEGORIES=    www python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=h/httpie/}
 
 MAINTAINER=    imil%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/jakubroztocil/httpie
 COMMENT=       Human-friendly command line HTTP client
 LICENSE=       original-bsd
 
+DEPENDS+=      ${PYPKGPREFIX}-curses>=${PY_DISTVERSION}:../../devel/py-curses
+DEPENDS+=      ${PYPKGPREFIX}-pygments>=2.1.3:../../textproc/py-pygments
+DEPENDS+=      ${PYPKGPREFIX}-requests>=2.11.0:../../devel/py-requests
+
 USE_LANGUAGES= # none
 
-DEPENDS+=      ${PYPKGPREFIX}-pygments>=1.6:../../textproc/py-pygments
-DEPENDS+=      ${PYPKGPREFIX}-requests>=2.2.0:../../devel/py-requests
-DEPENDS+=      ${PYPKGPREFIX}-curses>=${PY_DISTVERSION}:../../devel/py-curses
-
-.include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 9ef92eee2b50 -r bf6c3963d37e www/py-httpie/PLIST
--- a/www/py-httpie/PLIST       Wed May 02 07:11:59 2018 +0000
+++ b/www/py-httpie/PLIST       Wed May 02 07:29:16 2018 +0000
@@ -1,83 +1,82 @@
-@comment $NetBSD: PLIST,v 1.2 2015/02/08 21:08:21 imil Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/05/02 07:29:16 adam Exp $
 bin/http
 ${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}/pbr.json
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/test.sh
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/httpie/__init__.py
-${PYSITELIB}/httpie/__main__.py
 ${PYSITELIB}/httpie/__init__.pyc
 ${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/client.py
 ${PYSITELIB}/httpie/client.pyc
 ${PYSITELIB}/httpie/client.pyo
+${PYSITELIB}/httpie/compat.py
 ${PYSITELIB}/httpie/compat.pyc
 ${PYSITELIB}/httpie/compat.pyo
+${PYSITELIB}/httpie/config.py
 ${PYSITELIB}/httpie/config.pyc
 ${PYSITELIB}/httpie/config.pyo
+${PYSITELIB}/httpie/context.py
 ${PYSITELIB}/httpie/context.pyc
 ${PYSITELIB}/httpie/context.pyo
+${PYSITELIB}/httpie/core.py
 ${PYSITELIB}/httpie/core.pyc
 ${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
-${PYSITELIB}/httpie/sessions.pyc
-${PYSITELIB}/httpie/sessions.pyo
-${PYSITELIB}/httpie/utils.pyc
-${PYSITELIB}/httpie/utils.pyo
-${PYSITELIB}/httpie/cli.py
-${PYSITELIB}/httpie/client.py
-${PYSITELIB}/httpie/compat.py
-${PYSITELIB}/httpie/config.py
-${PYSITELIB}/httpie/context.py
-${PYSITELIB}/httpie/core.py
-${PYSITELIB}/httpie/downloads.py
-${PYSITELIB}/httpie/input.py
-${PYSITELIB}/httpie/models.py
 ${PYSITELIB}/httpie/output/__init__.py
 ${PYSITELIB}/httpie/output/__init__.pyc
 ${PYSITELIB}/httpie/output/__init__.pyo
-${PYSITELIB}/httpie/output/processing.pyc
-${PYSITELIB}/httpie/output/processing.pyo
-${PYSITELIB}/httpie/output/streams.pyc
-${PYSITELIB}/httpie/output/streams.pyo
 ${PYSITELIB}/httpie/output/formatters/__init__.py
 ${PYSITELIB}/httpie/output/formatters/__init__.pyc
 ${PYSITELIB}/httpie/output/formatters/__init__.pyo
+${PYSITELIB}/httpie/output/formatters/colors.py
 ${PYSITELIB}/httpie/output/formatters/colors.pyc
 ${PYSITELIB}/httpie/output/formatters/colors.pyo
+${PYSITELIB}/httpie/output/formatters/headers.py
 ${PYSITELIB}/httpie/output/formatters/headers.pyc
 ${PYSITELIB}/httpie/output/formatters/headers.pyo
+${PYSITELIB}/httpie/output/formatters/json.py
 ${PYSITELIB}/httpie/output/formatters/json.pyc
 ${PYSITELIB}/httpie/output/formatters/json.pyo
-${PYSITELIB}/httpie/output/formatters/xml.pyc
-${PYSITELIB}/httpie/output/formatters/xml.pyo
-${PYSITELIB}/httpie/output/formatters/colors.py
-${PYSITELIB}/httpie/output/formatters/headers.py
-${PYSITELIB}/httpie/output/formatters/json.py
-${PYSITELIB}/httpie/output/formatters/xml.py
 ${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/plugins/__init__.py
 ${PYSITELIB}/httpie/plugins/__init__.pyc
 ${PYSITELIB}/httpie/plugins/__init__.pyo
+${PYSITELIB}/httpie/plugins/base.py
 ${PYSITELIB}/httpie/plugins/base.pyc
 ${PYSITELIB}/httpie/plugins/base.pyo
+${PYSITELIB}/httpie/plugins/builtin.py
 ${PYSITELIB}/httpie/plugins/builtin.pyc
 ${PYSITELIB}/httpie/plugins/builtin.pyo
+${PYSITELIB}/httpie/plugins/manager.py
 ${PYSITELIB}/httpie/plugins/manager.pyc
 ${PYSITELIB}/httpie/plugins/manager.pyo
-${PYSITELIB}/httpie/plugins/base.py
-${PYSITELIB}/httpie/plugins/builtin.py
-${PYSITELIB}/httpie/plugins/manager.py
 ${PYSITELIB}/httpie/sessions.py
+${PYSITELIB}/httpie/sessions.pyc
+${PYSITELIB}/httpie/sessions.pyo
 ${PYSITELIB}/httpie/utils.py
+${PYSITELIB}/httpie/utils.pyc
+${PYSITELIB}/httpie/utils.pyo
diff -r 9ef92eee2b50 -r bf6c3963d37e www/py-httpie/distinfo
--- a/www/py-httpie/distinfo    Wed May 02 07:11:59 2018 +0000
+++ b/www/py-httpie/distinfo    Wed May 02 07:29:16 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2018/04/18 19:54:20 kamil Exp $
+$NetBSD: distinfo,v 1.6 2018/05/02 07:29:16 adam Exp $
 
-SHA1 (httpie-0.9.2.tar.gz) = 39e9aab7f6f27973098c22c81fe5b9e7a5866a8b
-RMD160 (httpie-0.9.2.tar.gz) = d30e4cdf4af8efec82dbec278025f4c48c4e2f44
-SHA512 (httpie-0.9.2.tar.gz) = 94c7f28b66f133eda055796414aff8a4be5a5baa083e84def254622b47bb0bafd11e3cb5569d6383d6112e13a4fdfe977d604973240e705e04a82dbcbee89f58
-Size (httpie-0.9.2.tar.gz) = 254872 bytes
+SHA1 (httpie-0.9.9.tar.gz) = 995606c6d29b8055c371d0466f64dbe8b7211b12
+RMD160 (httpie-0.9.9.tar.gz) = dfd337215d912e121540591155ec49d0e43c96fa
+SHA512 (httpie-0.9.9.tar.gz) = e9adb1ecf9a25b57c634f35199bf1f8fbe4136179c0ba0d6032a41ae786da9344f54436f91d89e624c154bdca325f94c637364a934fc2d5742b83056434f7e4c
+Size (httpie-0.9.9.tar.gz) = 85006 bytes



Home | Main Index | Thread Index | Old Index