pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   gdt
Date:           Fri Sep  3 12:05:17 UTC 2021

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/py-test-env: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3495 -r1.3496 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-test-env/DESCR \
    pkgsrc/devel/py-test-env/Makefile pkgsrc/devel/py-test-env/PLIST \
    pkgsrc/devel/py-test-env/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3495 pkgsrc/devel/Makefile:1.3496
--- pkgsrc/devel/Makefile:1.3495        Thu Sep  2 07:17:59 2021
+++ pkgsrc/devel/Makefile       Fri Sep  3 12:05:17 2021
@@ -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

Added files:

Index: pkgsrc/devel/py-test-env/DESCR
diff -u /dev/null pkgsrc/devel/py-test-env/DESCR:1.1
--- /dev/null   Fri Sep  3 12:05:17 2021
+++ pkgsrc/devel/py-test-env/DESCR      Fri Sep  3 12:05:17 2021
@@ -0,0 +1 @@
+py.test plugin that allows you to add environment variables.
Index: pkgsrc/devel/py-test-env/Makefile
diff -u /dev/null pkgsrc/devel/py-test-env/Makefile:1.1
--- /dev/null   Fri Sep  3 12:05:17 2021
+++ pkgsrc/devel/py-test-env/Makefile   Fri Sep  3 12:05:17 2021
@@ -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"
Index: pkgsrc/devel/py-test-env/PLIST
diff -u /dev/null pkgsrc/devel/py-test-env/PLIST:1.1
--- /dev/null   Fri Sep  3 12:05:17 2021
+++ pkgsrc/devel/py-test-env/PLIST      Fri Sep  3 12:05:17 2021
@@ -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
Index: pkgsrc/devel/py-test-env/distinfo
diff -u /dev/null pkgsrc/devel/py-test-env/distinfo:1.1
--- /dev/null   Fri Sep  3 12:05:17 2021
+++ pkgsrc/devel/py-test-env/distinfo   Fri Sep  3 12:05:17 2021
@@ -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