pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-test-httpserver devel/py-test-httpserver: imp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4e5968f86625
branches:  trunk
changeset: 389619:4e5968f86625
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Dec 06 20:34:05 2022 +0000

description:
devel/py-test-httpserver: import py-test-httpserver-1.0.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.

diffstat:

 devel/py-test-httpserver/DESCR    |   4 ++++
 devel/py-test-httpserver/Makefile |  29 +++++++++++++++++++++++++++++
 devel/py-test-httpserver/PLIST    |  20 ++++++++++++++++++++
 devel/py-test-httpserver/distinfo |   5 +++++
 4 files changed, 58 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r e4e70fbeb921 -r 4e5968f86625 devel/py-test-httpserver/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-httpserver/DESCR    Tue Dec 06 20:34:05 2022 +0000
@@ -0,0 +1,4 @@
+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.
diff -r e4e70fbeb921 -r 4e5968f86625 devel/py-test-httpserver/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-httpserver/Makefile Tue Dec 06 20:34:05 2022 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2022/12/06 20:34:05 wiz Exp $
+
+DISTNAME=      pytest_httpserver-1.0.6
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//:S/_/-/}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest_httpserver/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/csernazs/pytest-httpserver
+COMMENT=       HTTP server for pytest
+LICENSE=       mit
+
+DEPENDS+=              ${PYPKGPREFIX}-werkzeug>=2:../../www/py-werkzeug
+TEST_DEPENDS+=         ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+TEST_DEPENDS+=         ${PYPKGPREFIX}-types-toml-[0-9]*:../../devel/py-types-toml
+TEST_DEPENDS+=         ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
+TEST_DEPENDS+=         ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+USE_LANGUAGES= # none
+
+# needs to be installed for testing
+TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
+do-test:
+       cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e4e70fbeb921 -r 4e5968f86625 devel/py-test-httpserver/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-httpserver/PLIST    Tue Dec 06 20:34:05 2022 +0000
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2022/12/06 20:34:05 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pytest_httpserver/__init__.py
+${PYSITELIB}/pytest_httpserver/__init__.pyc
+${PYSITELIB}/pytest_httpserver/__init__.pyo
+${PYSITELIB}/pytest_httpserver/blocking_httpserver.py
+${PYSITELIB}/pytest_httpserver/blocking_httpserver.pyc
+${PYSITELIB}/pytest_httpserver/blocking_httpserver.pyo
+${PYSITELIB}/pytest_httpserver/httpserver.py
+${PYSITELIB}/pytest_httpserver/httpserver.pyc
+${PYSITELIB}/pytest_httpserver/httpserver.pyo
+${PYSITELIB}/pytest_httpserver/py.typed
+${PYSITELIB}/pytest_httpserver/pytest_plugin.py
+${PYSITELIB}/pytest_httpserver/pytest_plugin.pyc
+${PYSITELIB}/pytest_httpserver/pytest_plugin.pyo
diff -r e4e70fbeb921 -r 4e5968f86625 devel/py-test-httpserver/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-httpserver/distinfo Tue Dec 06 20:34:05 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/12/06 20:34:05 wiz Exp $
+
+BLAKE2s (pytest_httpserver-1.0.6.tar.gz) = 9a67556784632fcaaa65b8ae84826ad07b68d2292653461a57a1dbf546fcf53d
+SHA512 (pytest_httpserver-1.0.6.tar.gz) = 629f89e7cbdd8c8f983eaca6c6c8cf2b54ff831aaa3c422c77b32f777bf897280239a027e4c643813eb0d51948b07e2c461980fa618e3fbaf2a95dd9dd689256
+Size (pytest_httpserver-1.0.6.tar.gz) = 57026 bytes



Home | Main Index | Thread Index | Old Index