diff options
author | adam <adam@pkgsrc.org> | 2018-11-21 17:18:04 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-11-21 17:18:04 +0000 |
commit | f52d8c18598d5add7cf9ab50be5a895b4c813cdc (patch) | |
tree | 9a05196ab07320a5b285f4569a89a4f7469f4ff6 /www | |
parent | 835a2c712b5ae5d53425dc09ce5682fdc2d00a16 (diff) | |
download | pkgsrc-f52d8c18598d5add7cf9ab50be5a895b4c813cdc.tar.gz |
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 (limited to 'www')
-rw-r--r-- | www/py-httpie/ALTERNATIVES | 1 | ||||
-rw-r--r-- | www/py-httpie/Makefile | 10 | ||||
-rw-r--r-- | www/py-httpie/PLIST | 6 | ||||
-rw-r--r-- | www/py-httpie/distinfo | 10 |
4 files changed, 15 insertions, 12 deletions
diff --git a/www/py-httpie/ALTERNATIVES b/www/py-httpie/ALTERNATIVES new file mode 100644 index 00000000000..eef88734f50 --- /dev/null +++ b/www/py-httpie/ALTERNATIVES @@ -0,0 +1 @@ +bin/http @PREFIX@/bin/http-@PYVERSSUFFIX@ diff --git a/www/py-httpie/Makefile b/www/py-httpie/Makefile index 17a9c1320ad..bb5ea7fefbb 100644 --- a/www/py-httpie/Makefile +++ b/www/py-httpie/Makefile @@ -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 @@ 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 +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 --git a/www/py-httpie/PLIST b/www/py-httpie/PLIST index 5e857253b28..a1adcf9399a 100644 --- a/www/py-httpie/PLIST +++ b/www/py-httpie/PLIST @@ -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 --git a/www/py-httpie/distinfo b/www/py-httpie/distinfo index e077daf3dc5..f07fcb9668c 100644 --- a/www/py-httpie/distinfo +++ b/www/py-httpie/distinfo @@ -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 |