svn commit: r428268 - in head/devel: . py-pytest-asyncio

Jan Beich jbeich at FreeBSD.org
Sat Dec 10 03:22:42 UTC 2016


Author: jbeich
Date: Sat Dec 10 03:22:40 2016
New Revision: 428268
URL: https://svnweb.freebsd.org/changeset/ports/428268

Log:
  devel/py-pytest-asyncio: add new port
  
  asyncio code is usually written in the form of coroutines, which makes
  it slightly more difficult to test using normal testing
  tools. pytest-asyncio provides useful fixtures and markers to make
  testing easier.
  
  https://pypi.python.org/pypi/pytest-asyncio

Added:
  head/devel/py-pytest-asyncio/
  head/devel/py-pytest-asyncio/Makefile   (contents, props changed)
  head/devel/py-pytest-asyncio/distinfo   (contents, props changed)
  head/devel/py-pytest-asyncio/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile   (contents, props changed)

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Dec 10 03:22:27 2016	(r428267)
+++ head/devel/Makefile	Sat Dec 10 03:22:40 2016	(r428268)
@@ -4475,6 +4475,7 @@
     SUBDIR += py-pyte
     SUBDIR += py-pytemplate
     SUBDIR += py-pytest
+    SUBDIR += py-pytest-asyncio
     SUBDIR += py-pytest-cache
     SUBDIR += py-pytest-capturelog
     SUBDIR += py-pytest-django

Added: head/devel/py-pytest-asyncio/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-asyncio/Makefile	Sat Dec 10 03:22:40 2016	(r428268)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	pytest-asyncio
+PORTVERSION=	0.5.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	jbeich at FreeBSD.org
+COMMENT=	Py.test plugin providing fixtures and markers for asyncio
+
+LICENSE=	APACHE20
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.0.2:devel/py-pytest
+
+USES=		python:3.3+
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3400
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}asyncio>0:devel/py-asyncio
+.endif
+
+.include <bsd.port.post.mk>

Added: head/devel/py-pytest-asyncio/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-asyncio/distinfo	Sat Dec 10 03:22:40 2016	(r428268)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1473200514
+SHA256 (pytest-asyncio-0.5.0.tar.gz) = ce457148d9a8337679b19742d37f77c5e4eb53a48b626e3ce19464fa1cc25d0f
+SIZE (pytest-asyncio-0.5.0.tar.gz) = 5781

Added: head/devel/py-pytest-asyncio/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-asyncio/pkg-descr	Sat Dec 10 03:22:40 2016	(r428268)
@@ -0,0 +1,5 @@
+asyncio code is usually written in the form of coroutines, which makes it
+slightly more difficult to test using normal testing tools. pytest-asyncio
+provides useful fixtures and markers to make testing easier.
+
+WWW: https://pypi.python.org/pypi/pytest-asyncio


More information about the svn-ports-head mailing list