py-test-sanic: added version 1.9.1

A pytest plugin for Sanic. It helps you to test your code asynchronously.

This plugin provides:
- very easy testing with async coroutines
- common and useful fixtures
- asynchronous fixture support
- test_client/sanic_client for Sanic application
- test_server for Sanic application
This commit is contained in:
adam 2023-03-03 08:26:54 +00:00
parent 58d16aac55
commit 6e6626b076
5 changed files with 54 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1689 2023/03/03 08:04:56 wiz Exp $
# $NetBSD: Makefile,v 1.1690 2023/03/03 08:26:54 adam Exp $
#
COMMENT= Packages related to the World Wide Web
@ -853,6 +853,7 @@ SUBDIR+= py-terminado
SUBDIR+= py-test-django
SUBDIR+= py-test-httpbin
SUBDIR+= py-test-httpx
SUBDIR+= py-test-sanic
SUBDIR+= py-tornado
SUBDIR+= py-trytond-web-user
SUBDIR+= py-twill

8
www/py-test-sanic/DESCR Normal file
View file

@ -0,0 +1,8 @@
A pytest plugin for Sanic. It helps you to test your code asynchronously.
This plugin provides:
- very easy testing with async coroutines
- common and useful fixtures
- asynchronous fixture support
- test_client/sanic_client for Sanic application
- test_server for Sanic application

View file

@ -0,0 +1,23 @@
# $NetBSD: Makefile,v 1.1 2023/03/03 08:26:54 adam Exp $
DISTNAME= pytest-sanic-1.9.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-sanic/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/yunstanford/pytest-sanic
COMMENT= Pytest plugin for Sanic
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-async_generator>=1.10:../../devel/py-async_generator
DEPENDS+= ${PYPKGPREFIX}-httpx>=0.18.1:../../www/py-httpx
DEPENDS+= ${PYPKGPREFIX}-test>=5.2:../../devel/py-test
DEPENDS+= ${PYPKGPREFIX}-websockets>=9.1:../../www/py-websockets
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

16
www/py-test-sanic/PLIST Normal file
View file

@ -0,0 +1,16 @@
@comment $NetBSD: PLIST,v 1.1 2023/03/03 08:26:54 adam 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_sanic/__init__.py
${PYSITELIB}/pytest_sanic/__init__.pyc
${PYSITELIB}/pytest_sanic/__init__.pyo
${PYSITELIB}/pytest_sanic/plugin.py
${PYSITELIB}/pytest_sanic/plugin.pyc
${PYSITELIB}/pytest_sanic/plugin.pyo
${PYSITELIB}/pytest_sanic/utils.py
${PYSITELIB}/pytest_sanic/utils.pyc
${PYSITELIB}/pytest_sanic/utils.pyo

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2023/03/03 08:26:54 adam Exp $
BLAKE2s (pytest-sanic-1.9.1.tar.gz) = 6e1332a2c60defa41edd0cfbd291e8a6fd9b55c1d38f2b725636dcc82dd972b9
SHA512 (pytest-sanic-1.9.1.tar.gz) = 0fa7fec296a49f2150909a33cfd3c9560995953ba6189b369eab31e1e1d8503743980748f588cda7910e3954b1de3cc1cb45dfb78afd69f9ac1e5d3da54cf3e2
Size (pytest-sanic-1.9.1.tar.gz) = 15064 bytes