From 48f7c3e659647111624559efb3fface43e268567 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Tue, 3 Jun 2014 10:56:56 +0000 Subject: [PATCH] HTTPie (pronounced aych-tee-tee-pie) is a command line HTTP client. Its goal is to make CLI interaction with web services as human-friendly as possible. It provides a simple http command that allows for sending arbitrary HTTP requests using a simple and natural syntax, and displays colorized responses. HTTPie can be used for testing, debugging, and generally interacting with HTTP servers. --- www/Makefile | 1 + www/httpie/Makefile | 26 ++++++++++++++++++++++++++ www/httpie/distinfo | 2 ++ www/httpie/pkg-descr | 8 ++++++++ 4 files changed, 37 insertions(+) create mode 100644 www/httpie/Makefile create mode 100644 www/httpie/distinfo create mode 100644 www/httpie/pkg-descr diff --git a/www/Makefile b/www/Makefile index a7d415faae35..58c12a73286c 100644 --- a/www/Makefile +++ b/www/Makefile @@ -346,6 +346,7 @@ SUBDIR += httpasyncclient SUBDIR += httpclient SUBDIR += httpcore + SUBDIR += httpie SUBDIR += httpsqs SUBDIR += httptunnel SUBDIR += httrack diff --git a/www/httpie/Makefile b/www/httpie/Makefile new file mode 100644 index 000000000000..2b030304e872 --- /dev/null +++ b/www/httpie/Makefile @@ -0,0 +1,26 @@ +# Created by: Alex Dupre +# $FreeBSD$ + +PORTNAME= httpie +PORTVERSION= 0.8.0 +CATEGORIES= www +MASTER_SITES= GH + +MAINTAINER= ale@FreeBSD.org +COMMENT= Command line HTTP client + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests \ + ${PYTHON_PKGNAMEPREFIX}pygments>0:${PORTSDIR}/textproc/py-pygments + +USE_GITHUB= yes +GH_ACCOUNT= jakubroztocil +GH_COMMIT= 43cc3e7 + +USE_PYTHON= yes +USE_PYDISTUTILS=yes +PYDISTUTILS_AUTOPLIST= yes + +.include diff --git a/www/httpie/distinfo b/www/httpie/distinfo new file mode 100644 index 000000000000..fc813518ecad --- /dev/null +++ b/www/httpie/distinfo @@ -0,0 +1,2 @@ +SHA256 (httpie-0.8.0.tar.gz) = ca6b10e3288b56a6ab018672f3209bc34ed1ba38aa1f4774302c5d5391adf245 +SIZE (httpie-0.8.0.tar.gz) = 511763 diff --git a/www/httpie/pkg-descr b/www/httpie/pkg-descr new file mode 100644 index 000000000000..bb17d0cc3d36 --- /dev/null +++ b/www/httpie/pkg-descr @@ -0,0 +1,8 @@ +HTTPie (pronounced aych-tee-tee-pie) is a command line HTTP client. +Its goal is to make CLI interaction with web services as +human-friendly as possible. It provides a simple http command that +allows for sending arbitrary HTTP requests using a simple and natural +syntax, and displays colorized responses. HTTPie can be used for +testing, debugging, and generally interacting with HTTP servers. + +WWW: https://github.com/jakubroztocil/httpie