Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2018 10:15:44 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480246 - in head/devel: . py-pytest-helpers-namespace
Message-ID:  <201809211015.w8LAFiwQ056439@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: matthew
Date: Fri Sep 21 10:15:43 2018
New Revision: 480246
URL: https://svnweb.freebsd.org/changeset/ports/480246

Log:
  Add py-pytest-helpers-namespace 2017.11.11, provide a helpers namespace
  in pytest.

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Sep 21 09:41:54 2018	(r480245)
+++ head/devel/Makefile	Fri Sep 21 10:15:43 2018	(r480246)
@@ -4940,6 +4940,7 @@
     SUBDIR += py-pytest-django
     SUBDIR += py-pytest-flake8
     SUBDIR += py-pytest-flakes
+    SUBDIR += py-pytest-helpers-namespace
     SUBDIR += py-pytest-localserver
     SUBDIR += py-pytest-mock
     SUBDIR += py-pytest-pycodestyle

Added: head/devel/py-pytest-helpers-namespace/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-helpers-namespace/Makefile	Fri Sep 21 10:15:43 2018	(r480246)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	pytest-helpers-namespace
+PORTVERSION=	2017.11.11
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	matthew@FreeBSD.org
+COMMENT=	Provide a helpers namespace in pytest
+
+LICENSE=	APACHE20
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${LOCALBASE}/bin/tox-${PYTHON_VER}
+
+.include <bsd.port.mk>

Added: head/devel/py-pytest-helpers-namespace/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-helpers-namespace/distinfo	Fri Sep 21 10:15:43 2018	(r480246)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1537521370
+SHA256 (pytest-helpers-namespace-2017.11.11.tar.gz) = 5e866a0e75fd642a481fa5a9d279d309782dc40a50e383a5250c6e34c9950a46
+SIZE (pytest-helpers-namespace-2017.11.11.tar.gz) = 5021

Added: head/devel/py-pytest-helpers-namespace/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-helpers-namespace/pkg-descr	Fri Sep 21 10:15:43 2018	(r480246)
@@ -0,0 +1,5 @@
+Provides a helpers pytest namespace which can be used to register
+helper functions without requiring you to import them on your actual
+tests to use them.
+
+WWW: https://pypi.org/project/pytest-helpers-namespace/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809211015.w8LAFiwQ056439>