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: Tue Apr 22 11:26:52 UTC 2025
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/py-test-run-parallel: DESCR Makefile PLIST distinfo
Log Message:
py-test-run-parallel: added version 0.4.0
This pytest plugin takes a set of tests that would be normally be run serially
and execute them in parallel.
The main goal of pytest-run-parallel is to discover thread-safety issues that
could exist when using C libraries, this is of vital importance after PEP703,
which provides a path for a CPython implementation without depending on the
Global Interpreter Lock (GIL), thus allowing for proper parallelism in programs
that make use of the CPython interpreter.
To generate a diff of this commit:
cvs rdiff -u -r1.4464 -r1.4465 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-test-run-parallel/DESCR \
pkgsrc/devel/py-test-run-parallel/Makefile \
pkgsrc/devel/py-test-run-parallel/PLIST \
pkgsrc/devel/py-test-run-parallel/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.4464 pkgsrc/devel/Makefile:1.4465
--- pkgsrc/devel/Makefile:1.4464 Sun Apr 20 12:28:32 2025
+++ pkgsrc/devel/Makefile Tue Apr 22 11:26:52 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4464 2025/04/20 12:28:32 adam Exp $
+# $NetBSD: Makefile,v 1.4465 2025/04/22 11:26:52 adam Exp $
#
COMMENT= Development utilities
@@ -3145,6 +3145,7 @@ SUBDIR+= py-test-metadata
SUBDIR+= py-test-mock
SUBDIR+= py-test-mypy
SUBDIR+= py-test-mypy-plugins
+SUBDIR+= py-test-order
SUBDIR+= py-test-perf
SUBDIR+= py-test-plus
SUBDIR+= py-test-pylint
@@ -3153,6 +3154,7 @@ SUBDIR+= py-test-random-order
SUBDIR+= py-test-randomly
SUBDIR+= py-test-relaxed
SUBDIR+= py-test-rerunfailures
+SUBDIR+= py-test-run-parallel
SUBDIR+= py-test-shutil
SUBDIR+= py-test-snapshot
SUBDIR+= py-test-subprocess
Added files:
Index: pkgsrc/devel/py-test-run-parallel/DESCR
diff -u /dev/null pkgsrc/devel/py-test-run-parallel/DESCR:1.1
--- /dev/null Tue Apr 22 11:26:52 2025
+++ pkgsrc/devel/py-test-run-parallel/DESCR Tue Apr 22 11:26:52 2025
@@ -0,0 +1,8 @@
+This pytest plugin takes a set of tests that would be normally be run serially
+and execute them in parallel.
+
+The main goal of pytest-run-parallel is to discover thread-safety issues that
+could exist when using C libraries, this is of vital importance after PEP703,
+which provides a path for a CPython implementation without depending on the
+Global Interpreter Lock (GIL), thus allowing for proper parallelism in programs
+that make use of the CPython interpreter.
Index: pkgsrc/devel/py-test-run-parallel/Makefile
diff -u /dev/null pkgsrc/devel/py-test-run-parallel/Makefile:1.1
--- /dev/null Tue Apr 22 11:26:52 2025
+++ pkgsrc/devel/py-test-run-parallel/Makefile Tue Apr 22 11:26:52 2025
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2025/04/22 11:26:52 adam Exp $
+
+DISTNAME= pytest_run_parallel-0.4.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//:S/_/-/}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-run-parallel/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/Quansight-Labs/pytest-run-parallel
+COMMENT= Simple pytest plugin to run tests concurrently
+LICENSE= mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+DEPENDS+= ${PYPKGPREFIX}-test>=6.2.0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=5.0.0:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-order>=1.3.0:../../devel/py-test-order
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-test-run-parallel/PLIST
diff -u /dev/null pkgsrc/devel/py-test-run-parallel/PLIST:1.1
--- /dev/null Tue Apr 22 11:26:52 2025
+++ pkgsrc/devel/py-test-run-parallel/PLIST Tue Apr 22 11:26:52 2025
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2025/04/22 11:26:52 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/pytest_run_parallel/__init__.py
+${PYSITELIB}/pytest_run_parallel/__init__.pyc
+${PYSITELIB}/pytest_run_parallel/__init__.pyo
+${PYSITELIB}/pytest_run_parallel/plugin.py
+${PYSITELIB}/pytest_run_parallel/plugin.pyc
+${PYSITELIB}/pytest_run_parallel/plugin.pyo
+${PYSITELIB}/pytest_run_parallel/utils.py
+${PYSITELIB}/pytest_run_parallel/utils.pyc
+${PYSITELIB}/pytest_run_parallel/utils.pyo
Index: pkgsrc/devel/py-test-run-parallel/distinfo
diff -u /dev/null pkgsrc/devel/py-test-run-parallel/distinfo:1.1
--- /dev/null Tue Apr 22 11:26:52 2025
+++ pkgsrc/devel/py-test-run-parallel/distinfo Tue Apr 22 11:26:52 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/04/22 11:26:52 adam Exp $
+
+BLAKE2s (pytest_run_parallel-0.4.0.tar.gz) = 421de9b83a8fa313d976939c1c84ff7338eb9184e6a6a35eeb15cff5f87c8a1c
+SHA512 (pytest_run_parallel-0.4.0.tar.gz) = 68ede1ffef73f95d81a3a014681aa4112fe411547e34b909d61a6a97cd498fe15068cba3ba2392da5d654ad8d85a9287901e8b8509a5ac7444b91d71c3727545
+Size (pytest_run_parallel-0.4.0.tar.gz) = 48684 bytes
Home |
Main Index |
Thread Index |
Old Index