pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-test-console-scripts



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon May 29 09:19:12 UTC 2023

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

Log Message:
py-test-console-scripts: updated to 1.4.0

1.4.0

Added

Added type-hinting for all types, pytest_console_scripts.ScriptRunner can now be used to hint the script_runner fixture.
Added support for the shell and check keywords for in-process mode. These behave as similarly to subprocess.run as possible.
Script runners now take command arguments similar to subprocess.run, including support for PathLike objects.

Deprecated

Passing command arguments in *args is now deprecated and will raise warnings. These should be wrapped in a list or tuple from now on, similar to subprocess.run.

Removed

Dropped support for Python 3.6

Fixed

Install-time dependencies have been fixed.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-test-console-scripts/Makefile
cvs rdiff -u -r1.1 -r1.2 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/py-test-console-scripts/Makefile
diff -u pkgsrc/devel/py-test-console-scripts/Makefile:1.2 pkgsrc/devel/py-test-console-scripts/Makefile:1.3
--- pkgsrc/devel/py-test-console-scripts/Makefile:1.2   Tue May  9 16:58:40 2023
+++ pkgsrc/devel/py-test-console-scripts/Makefile       Mon May 29 09:19:12 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2023/05/09 16:58:40 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2023/05/29 09:19:12 adam Exp $
 
-DISTNAME=      pytest-console-scripts-1.3.1
+DISTNAME=      pytest-console-scripts-1.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-console-scripts/}
@@ -16,6 +16,10 @@ DEPENDS+=    ${PYPKGPREFIX}-test>=4.0.0:../
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 310
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=3.6:../../devel/py-importlib-metadata
+.endif
 
 SUBST_CLASSES+=                tests
 SUBST_STAGE.tests=     pre-configure

Index: pkgsrc/devel/py-test-console-scripts/PLIST
diff -u pkgsrc/devel/py-test-console-scripts/PLIST:1.1 pkgsrc/devel/py-test-console-scripts/PLIST:1.2
--- pkgsrc/devel/py-test-console-scripts/PLIST:1.1      Fri May  5 10:03:32 2023
+++ pkgsrc/devel/py-test-console-scripts/PLIST  Mon May 29 09:19:12 2023
@@ -1,10 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2023/05/05 10:03:32 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/05/29 09:19:12 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
+${PYSITELIB}/pytest_console_scripts/__init__.py
+${PYSITELIB}/pytest_console_scripts/__init__.pyc
+${PYSITELIB}/pytest_console_scripts/__init__.pyo
+${PYSITELIB}/pytest_console_scripts/py.typed
Index: pkgsrc/devel/py-test-console-scripts/distinfo
diff -u pkgsrc/devel/py-test-console-scripts/distinfo:1.1 pkgsrc/devel/py-test-console-scripts/distinfo:1.2
--- pkgsrc/devel/py-test-console-scripts/distinfo:1.1   Fri May  5 10:03:32 2023
+++ pkgsrc/devel/py-test-console-scripts/distinfo       Mon May 29 09:19:12 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2023/05/05 10:03:32 adam Exp $
+$NetBSD: distinfo,v 1.2 2023/05/29 09:19:12 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
+BLAKE2s (pytest-console-scripts-1.4.0.tar.gz) = 8ccf8638d0afa7e49860e8026f423a12e4cab0dc15f4abab31773bbb7a2e9128
+SHA512 (pytest-console-scripts-1.4.0.tar.gz) = ccfc9032a05934fb12b5f29052f5335fc37c90f5bbbc2a31b0bd422c3a04a1cc23fbc23fb3537415905ac1dba9d6ea916e2ae0b659330189f0184a8e70f4eff1
+Size (pytest-console-scripts-1.4.0.tar.gz) = 19718 bytes



Home | Main Index | Thread Index | Old Index