pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-test-httpserver



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Dec  6 20:34:05 UTC 2022

Added Files:
        pkgsrc/devel/py-test-httpserver: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-test-httpserver/DESCR \
    pkgsrc/devel/py-test-httpserver/Makefile \
    pkgsrc/devel/py-test-httpserver/PLIST \
    pkgsrc/devel/py-test-httpserver/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-test-httpserver/DESCR
diff -u /dev/null pkgsrc/devel/py-test-httpserver/DESCR:1.1
--- /dev/null   Tue Dec  6 20:34:05 2022
+++ pkgsrc/devel/py-test-httpserver/DESCR       Tue Dec  6 20:34:05 2022
@@ -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.
Index: pkgsrc/devel/py-test-httpserver/Makefile
diff -u /dev/null pkgsrc/devel/py-test-httpserver/Makefile:1.1
--- /dev/null   Tue Dec  6 20:34:05 2022
+++ pkgsrc/devel/py-test-httpserver/Makefile    Tue Dec  6 20:34:05 2022
@@ -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"
Index: pkgsrc/devel/py-test-httpserver/PLIST
diff -u /dev/null pkgsrc/devel/py-test-httpserver/PLIST:1.1
--- /dev/null   Tue Dec  6 20:34:05 2022
+++ pkgsrc/devel/py-test-httpserver/PLIST       Tue Dec  6 20:34:05 2022
@@ -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
Index: pkgsrc/devel/py-test-httpserver/distinfo
diff -u /dev/null pkgsrc/devel/py-test-httpserver/distinfo:1.1
--- /dev/null   Tue Dec  6 20:34:05 2022
+++ pkgsrc/devel/py-test-httpserver/distinfo    Tue Dec  6 20:34:05 2022
@@ -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