pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-test-benchmark



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Nov  8 19:00:31 UTC 2026

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

Log Message:
py-test-benchmark: update to 5.3.0.

v5.3.0 (2026-08-23)
--------------------

* Added ``--benchmark-precision`` and ``--benchmark-confidence``:
  instead of a fixed number of rounds, stop once the mean's relative margin of error falls below the given fraction.
  Contributed by Aarni Koskela in `#318 <https://github.com/ionelmc/pytest-benchmark/pull/318>`_.
* Added ``compare --between`` mode. Example: ``pytest-benchmark compare --between=min 0001 0002``.
  Contributed by Aarni Koskela in `#302 <https://github.com/ionelmc/pytest-benchmark/pull/302>`_.
* Modernized the CI/linting and added spellchecking.
  Contributed by Aarni Koskela in
  `#304 <https://github.com/ionelmc/pytest-benchmark/pull/304>`_,
  `#306 <https://github.com/ionelmc/pytest-benchmark/pull/306>`_ and
  `#319 <https://github.com/ionelmc/pytest-benchmark/pull/319>`_.
* Defer the xdist auto-disable warning until a benchmark fixture is collected.
  Contributed by xlyyddy in `#317 <https://github.com/ionelmc/pytest-benchmark/pull/317>`_
  (fixes `#65 <https://github.com/ionelmc/pytest-benchmark/issues/65>`_).
* Replaced deprecated argparse.FileType.
  Contributed by Sophia Castellarin in `#310 <https://github.com/ionelmc/pytest-benchmark/pull/310>`_.
* Fixed various spelling/typos.
  Contributed by Daniel Holth and Hugo van Kemenade in
  `#297 <https://github.com/ionelmc/pytest-benchmark/pull/297>`_ and
  `#299 <https://github.com/ionelmc/pytest-benchmark/pull/299>`_.
* Cleaned up various dead code.
  Contributed by Hugo van Kemenade in
  `#300 <https://github.com/ionelmc/pytest-benchmark/pull/300>`_ and
  `#301 <https://github.com/ionelmc/pytest-benchmark/pull/301>`_.
* CI now tests only with latest Pytest (now 9.1.1), Python 3.10-3.14 and PyPy 3.11.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-test-benchmark/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-test-benchmark/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-test-benchmark/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-benchmark/Makefile
diff -u pkgsrc/devel/py-test-benchmark/Makefile:1.12 pkgsrc/devel/py-test-benchmark/Makefile:1.13
--- pkgsrc/devel/py-test-benchmark/Makefile:1.12        Tue Nov 11 13:43:39 2025
+++ pkgsrc/devel/py-test-benchmark/Makefile     Sun Nov  8 19:00:31 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2025/11/11 13:43:39 adam Exp $
+# $NetBSD: Makefile,v 1.13 2026/11/08 19:00:31 wiz Exp $
 
-DISTNAME=      pytest_benchmark-5.2.3
+DISTNAME=      pytest_benchmark-5.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/pytest_/test-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-benchmark/}
@@ -13,16 +13,22 @@ LICENSE=    2-clause-bsd
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=80:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-cpuinfo-[0-9]*:../../sysutils/py-cpuinfo
 DEPENDS+=      ${PYPKGPREFIX}-test>=8.1:../../devel/py-test
+# optional dependency
 TEST_DEPENDS+= ${PYPKGPREFIX}-elasticsearch-[0-9]*:../../databases/py-elasticsearch
+# optional dependency
+TEST_DEPENDS+= ${PYPKGPREFIX}-pygal>=0:../../graphics/py-pygal
+TEST_DEPENDS+= ${PYPKGPREFIX}-nbmake-[0-9]*:../../devel/py-nbmake
 TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
 
 USE_LANGUAGES= # none
 
-post-install:
-.for bin in py.test-benchmark pytest-benchmark
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
-.endfor
+PY_RENAME_BINARIES=    py.test-benchmark pytest-benchmark
+
+# 36 failed, 116 passed, 23 skipped, 79 errors
+
+pre-test:
+       ${LN} -sf ${DESTDIR}${PREFIX}/bin/pytest-benchmark-${PYVERSSUFFIX} ${BUILDLINK_DIR}/bin/pytest-benchmark
+       ${LN} -sf ${DESTDIR}${PREFIX}/bin/py.test-benchmark-${PYVERSSUFFIX} ${BUILDLINK_DIR}/bin/py.test-benchmark
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-test-benchmark/PLIST
diff -u pkgsrc/devel/py-test-benchmark/PLIST:1.5 pkgsrc/devel/py-test-benchmark/PLIST:1.6
--- pkgsrc/devel/py-test-benchmark/PLIST:1.5    Tue Nov  4 11:56:59 2025
+++ pkgsrc/devel/py-test-benchmark/PLIST        Sun Nov  8 19:00:31 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2025/11/04 11:56:59 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2026/11/08 19:00:31 wiz Exp $
 bin/py.test-benchmark-${PYVERSSUFFIX}
 bin/pytest-benchmark-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -16,9 +16,6 @@ ${PYSITELIB}/pytest_benchmark/__main__.p
 ${PYSITELIB}/pytest_benchmark/cli.py
 ${PYSITELIB}/pytest_benchmark/cli.pyc
 ${PYSITELIB}/pytest_benchmark/cli.pyo
-${PYSITELIB}/pytest_benchmark/compat.py
-${PYSITELIB}/pytest_benchmark/compat.pyc
-${PYSITELIB}/pytest_benchmark/compat.pyo
 ${PYSITELIB}/pytest_benchmark/csv.py
 ${PYSITELIB}/pytest_benchmark/csv.pyc
 ${PYSITELIB}/pytest_benchmark/csv.pyo

Index: pkgsrc/devel/py-test-benchmark/distinfo
diff -u pkgsrc/devel/py-test-benchmark/distinfo:1.9 pkgsrc/devel/py-test-benchmark/distinfo:1.10
--- pkgsrc/devel/py-test-benchmark/distinfo:1.9 Tue Nov 11 13:43:39 2025
+++ pkgsrc/devel/py-test-benchmark/distinfo     Sun Nov  8 19:00:31 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2025/11/11 13:43:39 adam Exp $
+$NetBSD: distinfo,v 1.10 2026/11/08 19:00:31 wiz Exp $
 
-BLAKE2s (pytest_benchmark-5.2.3.tar.gz) = 7510c825bd9abbc3ecafb45cb86c604f109e9bf22324a9eed8ffa8d60306b440
-SHA512 (pytest_benchmark-5.2.3.tar.gz) = f1c89e3dae6966ad2d47ab5007b4669517b32d363178d02a84d4d136cb0c947f763faf4ce09febd2e2f1991d40de937e98c299033f0cd10d3d9dfbd0065f5212
-Size (pytest_benchmark-5.2.3.tar.gz) = 341340 bytes
+BLAKE2s (pytest_benchmark-5.3.0.tar.gz) = 206a4011353eea43f510aad9d57d6c70fd35b5fe3284d2b48de6fd487dcddb3d
+SHA512 (pytest_benchmark-5.3.0.tar.gz) = 517de9a4a6b15084f49ca957d0f413e69189fc65e4512e022d6e7c8bcc25d134b4188524d339975e737aeab2340c5fa89dbfb2eb94fce0f31cf3d4def4c854ed
+Size (pytest_benchmark-5.3.0.tar.gz) = 375410 bytes



Home | Main Index | Thread Index | Old Index