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:   adam
Date:           Fri May  5 10:03:32 UTC 2023

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

Log Message:
py-test-console-scripts: added version 1.3.1

Pytest-console-scripts is a pytest plugin for running python scripts from
within tests. It's quite similar to subprocess.run(), but it also has an
in-process mode, where the scripts are executed by the interpreter that's
running pytest (using some amount of sandboxing).


To generate a diff of this commit:
cvs rdiff -u -r1.3979 -r1.3980 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-test-console-scripts/DESCR \
    pkgsrc/devel/py-test-console-scripts/Makefile \
    pkgsrc/devel/py-test-console-scripts/PLIST \
    pkgsrc/devel/py-test-console-scripts/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.3979 pkgsrc/devel/Makefile:1.3980
--- pkgsrc/devel/Makefile:1.3979        Fri May  5 09:46:33 2023
+++ pkgsrc/devel/Makefile       Fri May  5 10:03:31 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3979 2023/05/05 09:46:33 wiz Exp $
+# $NetBSD: Makefile,v 1.3980 2023/05/05 10:03:31 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2950,6 +2950,7 @@ SUBDIR+=  py-test-benchmark
 SUBDIR+=       py-test-cache
 SUBDIR+=       py-test-celery
 SUBDIR+=       py-test-checkdocs
+SUBDIR+=       py-test-console-scripts
 SUBDIR+=       py-test-cov
 SUBDIR+=       py-test-datadir
 SUBDIR+=       py-test-doctestplus

Added files:

Index: pkgsrc/devel/py-test-console-scripts/DESCR
diff -u /dev/null pkgsrc/devel/py-test-console-scripts/DESCR:1.1
--- /dev/null   Fri May  5 10:03:32 2023
+++ pkgsrc/devel/py-test-console-scripts/DESCR  Fri May  5 10:03:32 2023
@@ -0,0 +1,4 @@
+Pytest-console-scripts is a pytest plugin for running python scripts from
+within tests. It's quite similar to subprocess.run(), but it also has an
+in-process mode, where the scripts are executed by the interpreter that's
+running pytest (using some amount of sandboxing).
Index: pkgsrc/devel/py-test-console-scripts/Makefile
diff -u /dev/null pkgsrc/devel/py-test-console-scripts/Makefile:1.1
--- /dev/null   Fri May  5 10:03:32 2023
+++ pkgsrc/devel/py-test-console-scripts/Makefile       Fri May  5 10:03:32 2023
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2023/05/05 10:03:32 adam Exp $
+
+DISTNAME=      pytest-console-scripts-1.3.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-console-scripts/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/kvas-it/pytest-console-scripts
+COMMENT=       Pytest plugin for testing console scripts
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-test>=4.0.0:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+SUBST_CLASSES+=                tests
+SUBST_STAGE.tests=     pre-configure
+SUBST_MESSAGE.tests=   Fixing command name in tests.
+SUBST_FILES.tests=     tests/test_run_scripts.py
+SUBST_SED.tests=       -e "s,'pytest','pytest-${PYVERSSUFFIX}',g"
+SUBST_SED.tests+=      -e "s,env python,env python${PYVERSSUFFIX},g"
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-test-console-scripts/PLIST
diff -u /dev/null pkgsrc/devel/py-test-console-scripts/PLIST:1.1
--- /dev/null   Fri May  5 10:03:32 2023
+++ pkgsrc/devel/py-test-console-scripts/PLIST  Fri May  5 10:03:32 2023
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2023/05/05 10:03:32 adam 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_console_scripts.py
+${PYSITELIB}/pytest_console_scripts.pyc
+${PYSITELIB}/pytest_console_scripts.pyo
Index: pkgsrc/devel/py-test-console-scripts/distinfo
diff -u /dev/null pkgsrc/devel/py-test-console-scripts/distinfo:1.1
--- /dev/null   Fri May  5 10:03:32 2023
+++ pkgsrc/devel/py-test-console-scripts/distinfo       Fri May  5 10:03:32 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/05/05 10:03:32 adam Exp $
+
+BLAKE2s (pytest-console-scripts-1.3.1.tar.gz) = 86bbb2be4644def4f37616b342c8c036d3e9114d9581e417dfc6ba7c62caf5df
+SHA512 (pytest-console-scripts-1.3.1.tar.gz) = 344e9379976d9a7541f9683f7646b47f7fc25d2ab8d941351811ada7fddd77497cc24f4bc6a6d5ab9388dd5b289ed125bcbfad869009fb3b80aaaa1b951d656d
+Size (pytest-console-scripts-1.3.1.tar.gz) = 14238 bytes



Home | Main Index | Thread Index | Old Index