From owner-svn-ports-all@freebsd.org Mon May 30 19:02:48 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D6B2EB54AFA; Mon, 30 May 2016 19:02:48 +0000 (UTC) (envelope-from robak@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE26E1E0E; Mon, 30 May 2016 19:02:48 +0000 (UTC) (envelope-from robak@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4UJ2lGZ018818; Mon, 30 May 2016 19:02:47 GMT (envelope-from robak@FreeBSD.org) Received: (from robak@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4UJ2lMB018813; Mon, 30 May 2016 19:02:47 GMT (envelope-from robak@FreeBSD.org) Message-Id: <201605301902.u4UJ2lMB018813@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: robak set sender to robak@FreeBSD.org using -f From: Bartek Rutkowski Date: Mon, 30 May 2016 19:02:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416172 - in head/devel: . py-http-prompt py-http-prompt/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2016 19:02:48 -0000 Author: robak Date: Mon May 30 19:02:47 2016 New Revision: 416172 URL: https://svnweb.freebsd.org/changeset/ports/416172 Log: devel/py-http-prompt: NEW PORT - Interactive command-line HTTP client HTTP Prompt is an interactive command-line HTTP client featuring autocomplete and syntax highlighting, built on HTTPie and prompt_toolkit. WWW: https://pypi.python.org/pypi/http-prompt PR: 209733 Submitted by: Danilo G. Baio Added: head/devel/py-http-prompt/ head/devel/py-http-prompt/Makefile (contents, props changed) head/devel/py-http-prompt/distinfo (contents, props changed) head/devel/py-http-prompt/files/ head/devel/py-http-prompt/files/patch-http__prompt_execution.py (contents, props changed) head/devel/py-http-prompt/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon May 30 18:55:21 2016 (r416171) +++ head/devel/Makefile Mon May 30 19:02:47 2016 (r416172) @@ -4141,6 +4141,7 @@ SUBDIR += py-hghooks SUBDIR += py-hgsubversion SUBDIR += py-hgtools + SUBDIR += py-http-prompt SUBDIR += py-humanize SUBDIR += py-hypothesis SUBDIR += py-icalendar Added: head/devel/py-http-prompt/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-http-prompt/Makefile Mon May 30 19:02:47 2016 (r416172) @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= http-prompt +PORTVERSION= 0.2.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dbaio@bsd.com.br +COMMENT= Interactive command-line HTTP client + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=5.0:devel/py-click \ + ${PYTHON_PKGNAMEPREFIX}parsimonious>=0.6.2:textproc/py-parsimonious \ + ${PYTHON_PKGNAMEPREFIX}prompt_toolkit>=0.60:devel/py-prompt_toolkit \ + ${PYTHON_PKGNAMEPREFIX}pygments>=2.1.0:textproc/py-pygments \ + ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six \ + httpie>=0.9.0:www/httpie + +NO_ARCH= yes +USES= python +USE_PYTHON= autoplist distutils + +.include Added: head/devel/py-http-prompt/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-http-prompt/distinfo Mon May 30 19:02:47 2016 (r416172) @@ -0,0 +1,3 @@ +TIMESTAMP = 1464089244 +SHA256 (http-prompt-0.2.0.tar.gz) = 003dd81ea7f2576db541af991e21c181b780251807c0091e696d0b8fe1b20a8d +SIZE (http-prompt-0.2.0.tar.gz) = 11381 Added: head/devel/py-http-prompt/files/patch-http__prompt_execution.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-http-prompt/files/patch-http__prompt_execution.py Mon May 30 19:02:47 2016 (r416172) @@ -0,0 +1,11 @@ +--- http_prompt/execution.py.orig 2016-05-20 07:19:56 UTC ++++ http_prompt/execution.py +@@ -241,7 +241,7 @@ class ExecutionVisitor(NodeVisitor): + assert children[0].expr_name == 'action' + output = BytesIO() + try: +- env = Environment(stdout=output) ++ env = Environment() + httpie_main(context.httpie_args(self.method), env=env) + content = output.getvalue() + finally: Added: head/devel/py-http-prompt/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-http-prompt/pkg-descr Mon May 30 19:02:47 2016 (r416172) @@ -0,0 +1,4 @@ +HTTP Prompt is an interactive command-line HTTP client featuring autocomplete +and syntax highlighting, built on HTTPie and prompt_toolkit. + +WWW: https://pypi.python.org/pypi/http-prompt