git: 98405844a827 - main - devel/py-pytest-tornasync: New port: PyTest plugin for testing Python 3.5+ Tornado code

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 15 Oct 2022 05:44:12 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=98405844a827e2b6d0bbfc10ba8c05734453661b

commit 98405844a827e2b6d0bbfc10ba8c05734453661b
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-10-15 05:35:33 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-15 05:35:33 +0000

    devel/py-pytest-tornasync: New port: PyTest plugin for testing Python 3.5+ Tornado code
---
 devel/Makefile                      |  1 +
 devel/py-pytest-tornasync/Makefile  | 22 ++++++++++++++++++++++
 devel/py-pytest-tornasync/distinfo  |  3 +++
 devel/py-pytest-tornasync/pkg-descr |  3 +++
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index ea19d5c34fba..474d071a7d99 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5170,6 +5170,7 @@
     SUBDIR += py-pytest-sugar
     SUBDIR += py-pytest-timeout
     SUBDIR += py-pytest-tornado
+    SUBDIR += py-pytest-tornasync
     SUBDIR += py-pytest-translations
     SUBDIR += py-pytest-trio
     SUBDIR += py-pytest-twisted
diff --git a/devel/py-pytest-tornasync/Makefile b/devel/py-pytest-tornasync/Makefile
new file mode 100644
index 000000000000..3197d23a5b9d
--- /dev/null
+++ b/devel/py-pytest-tornasync/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	pytest-tornasync
+DISTVERSION=	0.6.0.post2
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	PyTest plugin for testing Python 3.5+ Tornado code
+WWW=		https://github.com/eukaryote/pytest-tornasync
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=2.8:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tornado>=5.0:www/py-tornado@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils autoplist pytest # tests fail, see https://github.com/eukaryote/pytest-tornasync/issues/15
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pytest-tornasync/distinfo b/devel/py-pytest-tornasync/distinfo
new file mode 100644
index 000000000000..2daa70dadf93
--- /dev/null
+++ b/devel/py-pytest-tornasync/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1665811815
+SHA256 (pytest-tornasync-0.6.0.post2.tar.gz) = d781b6d951a2e7c08843141d3ff583610b4ea86bfa847714c76edefb576bbe5d
+SIZE (pytest-tornasync-0.6.0.post2.tar.gz) = 6201
diff --git a/devel/py-pytest-tornasync/pkg-descr b/devel/py-pytest-tornasync/pkg-descr
new file mode 100644
index 000000000000..a6087f7f9cb5
--- /dev/null
+++ b/devel/py-pytest-tornasync/pkg-descr
@@ -0,0 +1,3 @@
+pytest-tornasync is a simple pytest plugin that provides some helpful fixtures
+for testing Tornado (version 5.0 or newer) apps and easy handling of plain
+(undecoratored) native coroutine tests (Python 3.5+).