[update] www/py-httpie

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[update] www/py-httpie

Paco Esteban
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.

Cheers,
Paco.


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/py-httpie/Makefile,v
retrieving revision 1.11
diff -u -p -u -r1.11 Makefile
--- Makefile 28 Apr 2019 20:51:59 -0000 1.11
+++ Makefile 8 May 2019 12:45:10 -0000
@@ -2,16 +2,16 @@
 
 COMMENT = command-line HTTP client
 
-MODPY_EGG_VERSION = 0.9.8
+MODPY_EGG_VERSION = 1.0.2
 GH_TAGNAME = ${MODPY_EGG_VERSION}
 GH_ACCOUNT = jkbrzt
 GH_PROJECT = httpie
 DISTNAME = httpie-${MODPY_EGG_VERSION}
-REVISION = 0
 
 CATEGORIES = www net
 
-HOMEPAGE = http://httpie.org
+HOMEPAGE = https://httpie.org
+MAINTAINER = Paco Esteban <[hidden email]>
 
 # BSD
 PERMIT_PACKAGE_CDROM = Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/py-httpie/distinfo,v
retrieving revision 1.5
diff -u -p -u -r1.5 distinfo
--- distinfo 2 May 2017 07:24:25 -0000 1.5
+++ distinfo 8 May 2019 12:45:10 -0000
@@ -1,2 +1,2 @@
-SHA256 (httpie-0.9.8.tar.gz) = XMxl3Y5gqTEPV1walgDzzH2vhwTMiL9sQBGLNlm5jcc=
-SIZE (httpie-0.9.8.tar.gz) = 268608
+SHA256 (httpie-1.0.2.tar.gz) = 8R9ezbzAVxqoZfspzV22i6a85PFaWq4/J6MtGbCFTck=
+SIZE (httpie-1.0.2.tar.gz) = 765210

--
Paco Esteban.
https://onna.be/gpgkey.asc
9A6B 6083 AD9E FDC2 0EAF  5CB3 5818 130B 8A6D BC03

Reply | Threaded
Open this post in threaded view
|

Re: [update] www/py-httpie

Paco Esteban
Ping !

On Wed, 08 May 2019, 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.
>
> Cheers,
> Paco.
>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/www/py-httpie/Makefile,v
> retrieving revision 1.11
> diff -u -p -u -r1.11 Makefile
> --- Makefile 28 Apr 2019 20:51:59 -0000 1.11
> +++ Makefile 8 May 2019 12:45:10 -0000
> @@ -2,16 +2,16 @@
>  
>  COMMENT = command-line HTTP client
>  
> -MODPY_EGG_VERSION = 0.9.8
> +MODPY_EGG_VERSION = 1.0.2
>  GH_TAGNAME = ${MODPY_EGG_VERSION}
>  GH_ACCOUNT = jkbrzt
>  GH_PROJECT = httpie
>  DISTNAME = httpie-${MODPY_EGG_VERSION}
> -REVISION = 0
>  
>  CATEGORIES = www net
>  
> -HOMEPAGE = http://httpie.org
> +HOMEPAGE = https://httpie.org
> +MAINTAINER = Paco Esteban <[hidden email]>
>  
>  # BSD
>  PERMIT_PACKAGE_CDROM = Yes
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/www/py-httpie/distinfo,v
> retrieving revision 1.5
> diff -u -p -u -r1.5 distinfo
> --- distinfo 2 May 2017 07:24:25 -0000 1.5
> +++ distinfo 8 May 2019 12:45:10 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (httpie-0.9.8.tar.gz) = XMxl3Y5gqTEPV1walgDzzH2vhwTMiL9sQBGLNlm5jcc=
> -SIZE (httpie-0.9.8.tar.gz) = 268608
> +SHA256 (httpie-1.0.2.tar.gz) = 8R9ezbzAVxqoZfspzV22i6a85PFaWq4/J6MtGbCFTck=
> +SIZE (httpie-1.0.2.tar.gz) = 765210
>
> --
> Paco Esteban.
> https://onna.be/gpgkey.asc
> 9A6B 6083 AD9E FDC2 0EAF  5CB3 5818 130B 8A6D BC03
>

--
Paco Esteban.
https://onna.be/gpgkey.asc
9A6B 6083 AD9E FDC2 0EAF  5CB3 5818 130B 8A6D BC03

Reply | Threaded
Open this post in threaded view
|

Re: [update] www/py-httpie

Paco Esteban
Ping !
Anyone using httpie ?

On Wed, 22 May 2019, Paco Esteban wrote:

> Ping !
>
> On Wed, 08 May 2019, 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.
> >
> > Cheers,
> > Paco.
> >
> >
> > Index: Makefile
> > ===================================================================
> > RCS file: /cvs/ports/www/py-httpie/Makefile,v
> > retrieving revision 1.11
> > diff -u -p -u -r1.11 Makefile
> > --- Makefile 28 Apr 2019 20:51:59 -0000 1.11
> > +++ Makefile 8 May 2019 12:45:10 -0000
> > @@ -2,16 +2,16 @@
> >  
> >  COMMENT = command-line HTTP client
> >  
> > -MODPY_EGG_VERSION = 0.9.8
> > +MODPY_EGG_VERSION = 1.0.2
> >  GH_TAGNAME = ${MODPY_EGG_VERSION}
> >  GH_ACCOUNT = jkbrzt
> >  GH_PROJECT = httpie
> >  DISTNAME = httpie-${MODPY_EGG_VERSION}
> > -REVISION = 0
> >  
> >  CATEGORIES = www net
> >  
> > -HOMEPAGE = http://httpie.org
> > +HOMEPAGE = https://httpie.org
> > +MAINTAINER = Paco Esteban <[hidden email]>
> >  
> >  # BSD
> >  PERMIT_PACKAGE_CDROM = Yes
> > Index: distinfo
> > ===================================================================
> > RCS file: /cvs/ports/www/py-httpie/distinfo,v
> > retrieving revision 1.5
> > diff -u -p -u -r1.5 distinfo
> > --- distinfo 2 May 2017 07:24:25 -0000 1.5
> > +++ distinfo 8 May 2019 12:45:10 -0000
> > @@ -1,2 +1,2 @@
> > -SHA256 (httpie-0.9.8.tar.gz) = XMxl3Y5gqTEPV1walgDzzH2vhwTMiL9sQBGLNlm5jcc=
> > -SIZE (httpie-0.9.8.tar.gz) = 268608
> > +SHA256 (httpie-1.0.2.tar.gz) = 8R9ezbzAVxqoZfspzV22i6a85PFaWq4/J6MtGbCFTck=
> > +SIZE (httpie-1.0.2.tar.gz) = 765210
> >
> > --
> > Paco Esteban.
> > https://onna.be/gpgkey.asc
> > 9A6B 6083 AD9E FDC2 0EAF  5CB3 5818 130B 8A6D BC03
> >
>
> --
> Paco Esteban.
> https://onna.be/gpgkey.asc
> 9A6B 6083 AD9E FDC2 0EAF  5CB3 5818 130B 8A6D BC03
>

--
Paco Esteban.
https://onna.be/gpgkey.asc
9A6B 6083 AD9E FDC2 0EAF  5CB3 5818 130B 8A6D BC03

Reply | Threaded
Open this post in threaded view
|

Re: [update] www/py-httpie

Stuart Henderson
In reply to this post by Paco Esteban
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

Reply | Threaded
Open this post in threaded view
|

Re: [update] www/py-httpie

Paco Esteban
On Wed, 05 Jun 2019, Stuart Henderson wrote:

> Committed.

Thanks !

> Since there is no manpage, ok to add this?
> ...

It makes sense. The "guide" is pretty comprehensive. Pitty that's not a
proper man page.

Cheers,

--
Paco Esteban.
https://onna.be/gpgkey.asc
9A6B 6083 AD9E FDC2 0EAF  5CB3 5818 130B 8A6D BC03