On 2019/05/08 14:50, Paco Esteban wrote: > Hi ports@, > > Here's a diff to update www/py-httpie to its latest version 1.0.2 > Changes since the actual version on ports (0.9.8) are: > > * Fixed tests for installation with pyOpenSSL. > * Removed external URL calls from tests. > * 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. > * Fixed README. > > I would also like to take maintainership of this port if that's ok.
Committed. Since there is no manpage, ok to add this? Index: Makefile =================================================================== RCS file: /cvs/ports/www/py-httpie/Makefile,v retrieving revision 1.13 diff -u -p -r1.13 Makefile --- Makefile 5 Jun 2019 11:27:51 -0000 1.13 +++ Makefile 5 Jun 2019 11:29:11 -0000 @@ -3,6 +3,7 @@ COMMENT = command-line HTTP client MODPY_EGG_VERSION = 1.0.2 +REVISION = 0 GH_TAGNAME = ${MODPY_EGG_VERSION} GH_ACCOUNT = jkbrzt GH_PROJECT = httpie @@ -32,5 +33,9 @@ pre-test: # check for docutils presence then calls rst2pseudoxml.py # our docutils installs rst2pseudoxml rm ${WRKSRC}/tests/test_docs.py + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/httpie + ${INSTALL_DATA} ${WRKSRC}/README.rst ${PREFIX}/share/doc/httpie/ .include <bsd.port.mk> Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/www/py-httpie/pkg/PLIST,v retrieving revision 1.4 diff -u -p -r1.4 PLIST --- pkg/PLIST 5 Jun 2019 11:27:51 -0000 1.4 +++ pkg/PLIST 5 Jun 2019 11:29:11 -0000 @@ -63,3 +63,5 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/httpie/plugins/manager.py lib/python${MODPY_VERSION}/site-packages/httpie/sessions.py lib/python${MODPY_VERSION}/site-packages/httpie/utils.py +share/doc/httpie/ +share/doc/httpie/README.rst