diff options
-rw-r--r-- | devel/Makefile | 3 | ||||
-rw-r--r-- | devel/py-test-env/DESCR | 1 | ||||
-rw-r--r-- | devel/py-test-env/Makefile | 28 | ||||
-rw-r--r-- | devel/py-test-env/PLIST | 13 | ||||
-rw-r--r-- | devel/py-test-env/distinfo | 6 |
5 files changed, 50 insertions, 1 deletions
diff --git a/devel/Makefile b/devel/Makefile index 6149ecaaa37..1ee675b9304 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3495 2021/09/02 07:17:59 wiz Exp $ +# $NetBSD: Makefile,v 1.3496 2021/09/03 12:05:17 gdt Exp $ # COMMENT= Development utilities @@ -2612,6 +2612,7 @@ SUBDIR+= py-test-asyncio SUBDIR+= py-test-benchmark SUBDIR+= py-test-cache SUBDIR+= py-test-cov +SUBDIR+= py-test-env SUBDIR+= py-test-fixture-config SUBDIR+= py-test-flake8 SUBDIR+= py-test-forked diff --git a/devel/py-test-env/DESCR b/devel/py-test-env/DESCR new file mode 100644 index 00000000000..e7f609edc54 --- /dev/null +++ b/devel/py-test-env/DESCR @@ -0,0 +1 @@ +py.test plugin that allows you to add environment variables. diff --git a/devel/py-test-env/Makefile b/devel/py-test-env/Makefile new file mode 100644 index 00000000000..19343e9ea4c --- /dev/null +++ b/devel/py-test-env/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2021/09/03 12:05:17 gdt Exp $ + +DISTNAME= pytest-env-0.6.2 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-env/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/MobileDynasty/pytest-env +COMMENT= Plugin for py.test that allows you to add environment variables + +LICENSE= mit + +DEPENDS+= ${PYPKGPREFIX}-test>=2.6.0:../../devel/py-test + +# This likely works with 27, but for now omit versioned deps. +PYTHON_VERSIONS_INCOMPATIBLE= 27 + +.include "../../lang/python/pyversion.mk" + +USE_LANGUAGES= # none +USE_TOOLS+= bash:build + +do-test: + cd ${WRKSRC}/testing && pytest-${PYVERSSUFFIX} + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-test-env/PLIST b/devel/py-test-env/PLIST new file mode 100644 index 00000000000..a84afaa9f35 --- /dev/null +++ b/devel/py-test-env/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1 2021/09/03 12:05:17 gdt 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_env/__init__.py +${PYSITELIB}/pytest_env/__init__.pyc +${PYSITELIB}/pytest_env/__init__.pyo +${PYSITELIB}/pytest_env/plugin.py +${PYSITELIB}/pytest_env/plugin.pyc +${PYSITELIB}/pytest_env/plugin.pyo diff --git a/devel/py-test-env/distinfo b/devel/py-test-env/distinfo new file mode 100644 index 00000000000..5b54d0bf5b6 --- /dev/null +++ b/devel/py-test-env/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2021/09/03 12:05:17 gdt Exp $ + +SHA1 (pytest-env-0.6.2.tar.gz) = 6e9a9ac17a5de16125d0179da4993fd83cf73ebb +RMD160 (pytest-env-0.6.2.tar.gz) = 04ae9a39ae935f9cc18073aa2f55c3d2a527fdf2 +SHA512 (pytest-env-0.6.2.tar.gz) = 0b3bb21fc881023c102b584593c6e28840400ce8190810f33f9a421df4141e17dcfad2943c4159aaab82376b7b47b07b45f97c9cb232a7d17c4d35b55966596d +Size (pytest-env-0.6.2.tar.gz) = 1693 bytes |