pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel devel/py-test-env: Add version 0.6.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/692022c55e03
branches:  trunk
changeset: 457862:692022c55e03
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Fri Sep 03 12:05:17 2021 +0000

description:
devel/py-test-env: Add version 0.6.2

This package contains py.test plugin that allows you to add
environment variables.

It is needed for running gdal tests, and despite being released in
2017, I heard from gdal-dev@ that it is merely tiny rather than
unmaintained.

diffstat:

 devel/Makefile             |   3 ++-
 devel/py-test-env/DESCR    |   1 +
 devel/py-test-env/Makefile |  28 ++++++++++++++++++++++++++++
 devel/py-test-env/PLIST    |  13 +++++++++++++
 devel/py-test-env/distinfo |   6 ++++++
 5 files changed, 50 insertions(+), 1 deletions(-)

diffs (81 lines):

diff -r 5e61febe4e3b -r 692022c55e03 devel/Makefile
--- a/devel/Makefile    Fri Sep 03 11:39:23 2021 +0000
+++ b/devel/Makefile    Fri Sep 03 12:05:17 2021 +0000
@@ -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-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 -r 5e61febe4e3b -r 692022c55e03 devel/py-test-env/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-env/DESCR   Fri Sep 03 12:05:17 2021 +0000
@@ -0,0 +1,1 @@
+py.test plugin that allows you to add environment variables.
diff -r 5e61febe4e3b -r 692022c55e03 devel/py-test-env/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-env/Makefile        Fri Sep 03 12:05:17 2021 +0000
@@ -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@localhost
+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 -r 5e61febe4e3b -r 692022c55e03 devel/py-test-env/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-env/PLIST   Fri Sep 03 12:05:17 2021 +0000
@@ -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 -r 5e61febe4e3b -r 692022c55e03 devel/py-test-env/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-env/distinfo        Fri Sep 03 12:05:17 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index