update to httpie 2.0.0, from wen heping, ok Paco Esteban (maintainer)

use MODPY_PYTEST
This commit is contained in:
sthen 2020-01-13 14:25:51 +00:00
parent 9ffb77c6a5
commit 5432ab6250
3 changed files with 31 additions and 12 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.15 2019/09/04 09:51:23 sthen Exp $
# $OpenBSD: Makefile,v 1.16 2020/01/13 14:25:51 sthen Exp $
COMMENT = command-line HTTP client
MODPY_EGG_VERSION = 1.0.3
MODPY_EGG_VERSION = 2.0.0
GH_TAGNAME = ${MODPY_EGG_VERSION}
GH_ACCOUNT = jkbrzt
GH_PROJECT = httpie
@ -19,12 +19,12 @@ PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
MODPY_PYTEST = Yes
RUN_DEPENDS = www/py-requests${MODPY_FLAVOR} \
textproc/py-pygments${MODPY_FLAVOR}
TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} \
devel/py-test-httpbin${MODPY_FLAVOR} \
TEST_DEPENDS = devel/py-test-httpbin${MODPY_FLAVOR} \
devel/py-mock${MODPY_FLAVOR}
PORTHOME = ${WRKSRC}

View File

@ -1,2 +1,2 @@
SHA256 (httpie-1.0.3.tar.gz) = 7Psezf0UaBAL2f/s6+G+ptfXLHIUnqkfPQES3I7wPHo=
SIZE (httpie-1.0.3.tar.gz) = 1745537
SHA256 (httpie-2.0.0.tar.gz) = kuvc7VYgq1b9nyTklMfJfrCv7g8DpVvuQfdzOVxZ3Fw=
SIZE (httpie-2.0.0.tar.gz) = 1752529

View File

@ -1,5 +1,6 @@
@comment $OpenBSD: PLIST,v 1.5 2019/06/05 13:26:58 sthen Exp $
@comment $OpenBSD: PLIST,v 1.6 2020/01/13 14:25:51 sthen Exp $
bin/http
bin/https
lib/python${MODPY_VERSION}/site-packages/httpie/
lib/python${MODPY_VERSION}/site-packages/httpie-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/httpie-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
@ -13,25 +14,40 @@ lib/python${MODPY_VERSION}/site-packages/httpie/__main__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/httpie/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/httpie/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/${MODPY_PYCACHE}__main__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/${MODPY_PYCACHE}cli.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/${MODPY_PYCACHE}client.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/${MODPY_PYCACHE}config.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/${MODPY_PYCACHE}context.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/${MODPY_PYCACHE}core.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/${MODPY_PYCACHE}downloads.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/${MODPY_PYCACHE}input.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/${MODPY_PYCACHE}models.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/${MODPY_PYCACHE}sessions.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/${MODPY_PYCACHE}status.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/cli.py
lib/python${MODPY_VERSION}/site-packages/httpie/cli/
lib/python${MODPY_VERSION}/site-packages/httpie/cli/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/httpie/cli/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/httpie/cli/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/cli/${MODPY_PYCACHE}argparser.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/cli/${MODPY_PYCACHE}argtypes.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/cli/${MODPY_PYCACHE}constants.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/cli/${MODPY_PYCACHE}definition.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/cli/${MODPY_PYCACHE}dicts.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/cli/${MODPY_PYCACHE}exceptions.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/cli/${MODPY_PYCACHE}requestitems.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/cli/argparser.py
lib/python${MODPY_VERSION}/site-packages/httpie/cli/argtypes.py
lib/python${MODPY_VERSION}/site-packages/httpie/cli/constants.py
lib/python${MODPY_VERSION}/site-packages/httpie/cli/definition.py
lib/python${MODPY_VERSION}/site-packages/httpie/cli/dicts.py
lib/python${MODPY_VERSION}/site-packages/httpie/cli/exceptions.py
lib/python${MODPY_VERSION}/site-packages/httpie/cli/requestitems.py
lib/python${MODPY_VERSION}/site-packages/httpie/client.py
lib/python${MODPY_VERSION}/site-packages/httpie/compat.py
lib/python${MODPY_VERSION}/site-packages/httpie/config.py
lib/python${MODPY_VERSION}/site-packages/httpie/context.py
lib/python${MODPY_VERSION}/site-packages/httpie/core.py
lib/python${MODPY_VERSION}/site-packages/httpie/downloads.py
lib/python${MODPY_VERSION}/site-packages/httpie/input.py
lib/python${MODPY_VERSION}/site-packages/httpie/models.py
lib/python${MODPY_VERSION}/site-packages/httpie/output/
lib/python${MODPY_VERSION}/site-packages/httpie/output/__init__.py
@ -39,6 +55,7 @@ ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/httpie/output/${MODPY_P
lib/python${MODPY_VERSION}/site-packages/httpie/output/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/output/${MODPY_PYCACHE}processing.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/output/${MODPY_PYCACHE}streams.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/output/${MODPY_PYCACHE}writer.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/httpie/output/formatters/
lib/python${MODPY_VERSION}/site-packages/httpie/output/formatters/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/httpie/output/formatters/${MODPY_PYCACHE}/
@ -51,6 +68,7 @@ lib/python${MODPY_VERSION}/site-packages/httpie/output/formatters/headers.py
lib/python${MODPY_VERSION}/site-packages/httpie/output/formatters/json.py
lib/python${MODPY_VERSION}/site-packages/httpie/output/processing.py
lib/python${MODPY_VERSION}/site-packages/httpie/output/streams.py
lib/python${MODPY_VERSION}/site-packages/httpie/output/writer.py
lib/python${MODPY_VERSION}/site-packages/httpie/plugins/
lib/python${MODPY_VERSION}/site-packages/httpie/plugins/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/httpie/plugins/${MODPY_PYCACHE}/
@ -62,6 +80,7 @@ lib/python${MODPY_VERSION}/site-packages/httpie/plugins/base.py
lib/python${MODPY_VERSION}/site-packages/httpie/plugins/builtin.py
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/status.py
lib/python${MODPY_VERSION}/site-packages/httpie/utils.py
share/doc/httpie/
share/doc/httpie/README.rst