mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 10:31:20 +02:00
add httpi
This commit is contained in:
23
python/py-httpie/Makefile
Normal file
23
python/py-httpie/Makefile
Normal 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>
|
||||
3
python/py-httpie/distinfo
Normal file
3
python/py-httpie/distinfo
Normal 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
|
||||
11
python/py-httpie/files/patch-setup.cfg
Normal file
11
python/py-httpie/files/patch-setup.cfg
Normal 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
|
||||
8
python/py-httpie/pkg-descr
Normal file
8
python/py-httpie/pkg-descr
Normal 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
|
||||
Reference in New Issue
Block a user