add httpi

This commit is contained in:
ziggi
2020-05-27 10:00:53 +00:00
parent 87c59cff14
commit 4307aa0770
4 changed files with 45 additions and 0 deletions

23
python/py-httpie/Makefile Normal file
View File

@@ -0,0 +1,23 @@
# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD: head/www/py-httpie/Makefile 522866 2020-01-13 08:27:10Z ale $
PORTNAME= httpie
PORTVERSION= 2.0.0
CATEGORIES= www
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ale@FreeBSD.org
COMMENT= Command line HTTP client
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.22.0:python/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygments>=2.5.2:python/py-pygments@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= distutils autoplist
USE_GITHUB= yes
GH_ACCOUNT= jakubroztocil
NO_ARCH= yes
.include <bsd.port.mk>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1578902674
SHA256 (jakubroztocil-httpie-2.0.0_GH0.tar.gz) = 92ebdced5620ab56fd9f24e494c7c97eb0afee0f03a55bee41f773395c59dc5c
SIZE (jakubroztocil-httpie-2.0.0_GH0.tar.gz) = 1752529

View File

@@ -0,0 +1,11 @@
--- setup.cfg.orig 2018-11-10 08:48:27 UTC
+++ setup.cfg
@@ -13,7 +13,7 @@ norecursedirs = tests/fixtures
exclude = .git,.idea,__pycache__,build,dist,.tox,.pytest_cache,*.egg-info
# <http://pycodestyle.pycqa.org/en/latest/intro.html#error-codes>
-# E241 - multiple spaces after ,
+# E241 - multiple spaces after ','
# E501 - line too long
# W503 - line break before binary operator
ignore = E241,E501,W503

View File

@@ -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