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 1.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7794ab21908e
branches:  trunk
changeset: 325595:7794ab21908e
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Nov 21 17:18:04 2018 +0000

description:
py-httpie: updated to 1.0.0

1.0.0:
* Added --style=auto which follows the terminal ANSI color styles.
* Added support for selecting TLS 1.3 via --ssl=tls1.3
  (available once implemented in upstream libraries).
* Added true/false as valid values for --verify
  (in addition to yes/no) and the boolean value is case-insensitive.
* Changed the default --style from solarized to auto (on Windows it stays fruity).
* Fixed default headers being incorrectly case-sensitive.
* Removed Python 2.6 support.

diffstat:

 www/py-httpie/ALTERNATIVES |   1 +
 www/py-httpie/Makefile     |  10 +++++++---
 www/py-httpie/PLIST        |   6 ++----
 www/py-httpie/distinfo     |  10 +++++-----
 4 files changed, 15 insertions(+), 12 deletions(-)

diffs (65 lines):

diff -r 73bdef78505d -r 7794ab21908e www/py-httpie/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-httpie/ALTERNATIVES        Wed Nov 21 17:18:04 2018 +0000
@@ -0,0 +1,1 @@
+bin/http @PREFIX@/bin/http-@PYVERSSUFFIX@
diff -r 73bdef78505d -r 7794ab21908e www/py-httpie/Makefile
--- a/www/py-httpie/Makefile    Wed Nov 21 17:12:34 2018 +0000
+++ b/www/py-httpie/Makefile    Wed Nov 21 17:18:04 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2018/05/02 07:29:16 adam Exp $
+# $NetBSD: Makefile,v 1.6 2018/11/21 17:18:04 adam Exp $
 
-DISTNAME=      httpie-0.9.9
+DISTNAME=      httpie-1.0.0
 PKGNAME=       ${PYPKGPREFIX}-${EGG_NAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/httpie/}
@@ -12,9 +12,13 @@
 
 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
+DEPENDS+=      ${PYPKGPREFIX}-requests>=2.18.4:../../devel/py-requests
 
 USE_LANGUAGES= # none
 
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+               ${MV} http http-${PYVERSSUFFIX} || ${TRUE}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 73bdef78505d -r 7794ab21908e www/py-httpie/PLIST
--- a/www/py-httpie/PLIST       Wed Nov 21 17:12:34 2018 +0000
+++ b/www/py-httpie/PLIST       Wed Nov 21 17:18:04 2018 +0000
@@ -1,12 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2018/05/02 07:29:16 adam Exp $
-bin/http
+@comment $NetBSD: PLIST,v 1.4 2018/11/21 17:18:04 adam Exp $
+bin/http-${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}/pbr.json
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/test.sh
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/httpie/__init__.py
 ${PYSITELIB}/httpie/__init__.pyc
diff -r 73bdef78505d -r 7794ab21908e www/py-httpie/distinfo
--- a/www/py-httpie/distinfo    Wed Nov 21 17:12:34 2018 +0000
+++ b/www/py-httpie/distinfo    Wed Nov 21 17:18:04 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2018/05/02 07:29:16 adam Exp $
+$NetBSD: distinfo,v 1.7 2018/11/21 17:18:04 adam Exp $
 
-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
+SHA1 (httpie-1.0.0.tar.gz) = c93d8014973059ee127217c4d1debf13241bd94e
+RMD160 (httpie-1.0.0.tar.gz) = a9c79ff00a289b3e021e6e252b997affddc3a4a6
+SHA512 (httpie-1.0.0.tar.gz) = 9ad77175c76151a28aa0d39588262b10fa7cbd803bca77aae96e8d8ee64cfba81f00fabfa542f6f4bc873315a3ee3d007d6aae550f43d415c0e4efe1976fc9a5
+Size (httpie-1.0.0.tar.gz) = 85111 bytes



Home | Main Index | Thread Index | Old Index