Hi ports@,
(this is for after unlock, of course)
This is an update for httpie to 2.1.0
Changes in this release:
* 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
As for the port:
* Some tab reorganization to make the little voice in my head go quiet
(hope this is not too confusing, I can take it back)
* Changed the maintainer (me) email address.
* had to add it itself to TEST_DEPENDS to make tests pass in this new
version.
* Also, for all the tests to pass it depends on an update to
www/py-urllib3. I've sent that on a separate email. Tests for
consumers of py-urllib3 are the same before and after the update and
I've been using both updates (httpie and urllib3) for some weeks now
without any issue. But, as this is a pretty important py module
that spawns a tree of deps, we can go with NO_TEST here and avoid
the py-urllib3 if needed.
Comments ? ok ?
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/www/py-httpie/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile 13 Jan 2020 14:25:51 -0000 1.16
+++ Makefile 18 Apr 2020 19:19:10 -0000
@@ -2,31 +2,32 @@
COMMENT = command-line HTTP client
-MODPY_EGG_VERSION = 2.0.0
-GH_TAGNAME = ${MODPY_EGG_VERSION}
-GH_ACCOUNT = jkbrzt
-GH_PROJECT = httpie
-DISTNAME = httpie-${MODPY_EGG_VERSION}
+MODPY_EGG_VERSION = 2.1.0
+GH_TAGNAME = ${MODPY_EGG_VERSION}
+GH_ACCOUNT = jkbrzt
+GH_PROJECT = httpie
+DISTNAME = httpie-${MODPY_EGG_VERSION}
-CATEGORIES = www net
+CATEGORIES = www net
-HOMEPAGE = https://httpie.org
-MAINTAINER = Paco Esteban <[email protected]>
+HOMEPAGE = https://httpie.org
+MAINTAINER = Paco Esteban <[email protected]>
# BSD
-PERMIT_PACKAGE = Yes
+PERMIT_PACKAGE = Yes
-MODULES = lang/python
+MODULES = lang/python
MODPY_SETUPTOOLS = Yes
-MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
-MODPY_PYTEST = Yes
+MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
+MODPY_PYTEST = Yes
-RUN_DEPENDS = www/py-requests${MODPY_FLAVOR} \
- textproc/py-pygments${MODPY_FLAVOR}
-TEST_DEPENDS = devel/py-test-httpbin${MODPY_FLAVOR} \
- devel/py-mock${MODPY_FLAVOR}
-PORTHOME = ${WRKSRC}
+RUN_DEPENDS = www/py-requests${MODPY_FLAVOR} \
+ textproc/py-pygments${MODPY_FLAVOR}
+TEST_DEPENDS = devel/py-test-httpbin${MODPY_FLAVOR} \
+ devel/py-mock${MODPY_FLAVOR} \
+ www/py-httpie
+PORTHOME = ${WRKSRC}
pre-test:
# check for docutils presence then calls rst2pseudoxml.py
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/www/py-httpie/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo 13 Jan 2020 14:25:51 -0000 1.8
+++ distinfo 18 Apr 2020 11:28:03 -0000
@@ -1,2 +1,2 @@
-SHA256 (httpie-2.0.0.tar.gz) = kuvc7VYgq1b9nyTklMfJfrCv7g8DpVvuQfdzOVxZ3Fw=
-SIZE (httpie-2.0.0.tar.gz) = 1752529
+SHA256 (httpie-2.1.0.tar.gz) = rqSC2gk0Gj0gV2HYKMcSWITJ0Ot3pTzU0uYELkZwGCs=
+SIZE (httpie-2.1.0.tar.gz) = 1754801
--
Paco Esteban.
0x5818130B8A6DBC03