git: e572f3d68d80 - main - devel/py-pytest-httpserver: Add py-pytest-httpserver 1.0.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Aug 2022 10:30:41 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e572f3d68d800ec7b081db0607c17460de3cda44 commit e572f3d68d800ec7b081db0607c17460de3cda44 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-08-27 10:10:25 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-08-27 10:10:25 +0000 devel/py-pytest-httpserver: Add py-pytest-httpserver 1.0.5 This library is designed to help to test http clients without contacting the real http server. In other words, it is a fake http server which is accessible via localhost can be started with the pre-defined expected http requests and their responses. WWW: https://github.com/csernazs/pytest-httpserver --- devel/Makefile | 1 + devel/py-pytest-httpserver/Makefile | 21 +++++++++++++++++++++ devel/py-pytest-httpserver/distinfo | 3 +++ devel/py-pytest-httpserver/pkg-descr | 6 ++++++ 4 files changed, 31 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index a4c18af6faca..15116d65e815 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5105,6 +5105,7 @@ SUBDIR += py-pytest-helpers-namespace SUBDIR += py-pytest-html SUBDIR += py-pytest-httpbin + SUBDIR += py-pytest-httpserver SUBDIR += py-pytest-isort SUBDIR += py-pytest-lazy-fixture SUBDIR += py-pytest-localserver diff --git a/devel/py-pytest-httpserver/Makefile b/devel/py-pytest-httpserver/Makefile new file mode 100644 index 000000000000..dc7161256238 --- /dev/null +++ b/devel/py-pytest-httpserver/Makefile @@ -0,0 +1,21 @@ +PORTNAME= pytest-httpserver +PORTVERSION= 1.0.5 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pytest_httpserver-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= HTTP server for pytest + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}werkzeug>=2.0.0:www/py-werkzeug@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-pytest-httpserver/distinfo b/devel/py-pytest-httpserver/distinfo new file mode 100644 index 000000000000..a7b593cbbc64 --- /dev/null +++ b/devel/py-pytest-httpserver/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660576682 +SHA256 (pytest_httpserver-1.0.5.tar.gz) = ae3296626d0a10e835a9f423c61b4540547d582422be054c3fcc08626baa1024 +SIZE (pytest_httpserver-1.0.5.tar.gz) = 51926 diff --git a/devel/py-pytest-httpserver/pkg-descr b/devel/py-pytest-httpserver/pkg-descr new file mode 100644 index 000000000000..b3ec5d45370d --- /dev/null +++ b/devel/py-pytest-httpserver/pkg-descr @@ -0,0 +1,6 @@ +This library is designed to help to test http clients without contacting the +real http server. In other words, it is a fake http server which is accessible +via localhost can be started with the pre-defined expected http requests and +their responses. + +WWW: https://github.com/csernazs/pytest-httpserver