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: adam
Date: Sun Nov 3 19:35:14 UTC 2024
Modified Files:
pkgsrc/devel/py-test-benchmark: Makefile PLIST distinfo
Log Message:
py-test-benchmark: updated to 5.1.0
5.1.0 (2024-10-30)
* Fixed broken hooks handling on pytest 8.1 or later (the ``TypeError: import_path() missing 1 required keyword-only argument: 'consider_namespace_packages'`` issue).
Unfortunately this sets the minimum supported pytest version to 8.1.
5.0.1 (2024-10-30)
* Fixed bad fixture check that broke down then `nbmake <https://pypi.org/project/nbmake/>`_ was enabled.
5.0.0 (2024-10-29)
* Dropped support for now EOL Python 3.8. Also moved tests suite to only test the latest pytest versions (8.3.x).
* Fix generate parametrize tests benchmark csv report errors
* Added the ``--benchmark-time-unit`` cli option for overriding the measurement unit used for display.
* Fixes spelling in some help texts.
* Added new cprofile options:
- ``--benchmark-cprofile-loops=LOOPS`` - previously profiling only ran the function once, this allow customization.
- ``--benchmark-cprofile-top=COUNT`` - allows showing more rows.
- ``--benchmark-cprofile-dump=[FILENAME-PREFIX]`` - allows saving to a file (that you can load in `snakeviz <https://pypi.org/project/snakeviz/>`_, `RunSnakeRun
<https://pypi.org/project/RunSnakeRun/>`_ or other tools).
* Removed hidden dependency on `py.path <https://pypi.org/project/py/>`_ (replaced with pathlib).
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-test-benchmark/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-test-benchmark/PLIST
cvs rdiff -u -r1.5 -r1.6 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.6 pkgsrc/devel/py-test-benchmark/Makefile:1.7
--- pkgsrc/devel/py-test-benchmark/Makefile:1.6 Sun Nov 20 23:24:21 2022
+++ pkgsrc/devel/py-test-benchmark/Makefile Sun Nov 3 19:35:13 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2022/11/20 23:24:21 adam Exp $
+# $NetBSD: Makefile,v 1.7 2024/11/03 19:35:13 adam Exp $
-DISTNAME= pytest-benchmark-4.0.0
+DISTNAME= pytest-benchmark-5.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-benchmark/}
@@ -10,26 +10,20 @@ HOMEPAGE= https://github.com/ionelmc/pyt
COMMENT= Pytest support for benchmarking
LICENSE= 2-clause-bsd
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=30.3.0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-cpuinfo-[0-9]*:../../sysutils/py-cpuinfo
-DEPENDS+= ${PYPKGPREFIX}-pygal-[0-9]*:../../graphics/py-pygal
-DEPENDS+= ${PYPKGPREFIX}-test>=3.8:../../devel/py-test
+DEPENDS+= ${PYPKGPREFIX}-test>=8.1:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-elasticsearch-[0-9]*:../../databases/py-elasticsearch
TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
USE_LANGUAGES= # none
-USE_PKG_RESOURCES= yes
-
-PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pygal
-
post-install:
.for bin in py.test-benchmark pytest-benchmark
cd ${DESTDIR}${PREFIX}/bin && \
${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
.endfor
-do-test:
- cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-
-.include "../../lang/python/egg.mk"
+.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.2 pkgsrc/devel/py-test-benchmark/PLIST:1.3
--- pkgsrc/devel/py-test-benchmark/PLIST:1.2 Sun Nov 20 23:24:21 2022
+++ pkgsrc/devel/py-test-benchmark/PLIST Sun Nov 3 19:35:13 2024
@@ -1,13 +1,13 @@
-@comment $NetBSD: PLIST,v 1.2 2022/11/20 23:24:21 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/11/03 19:35:13 adam Exp $
bin/py.test-benchmark-${PYVERSSUFFIX}
bin/pytest-benchmark-${PYVERSSUFFIX}
-${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}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.rst
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/pytest_benchmark/__init__.py
${PYSITELIB}/pytest_benchmark/__init__.pyc
${PYSITELIB}/pytest_benchmark/__init__.pyo
Index: pkgsrc/devel/py-test-benchmark/distinfo
diff -u pkgsrc/devel/py-test-benchmark/distinfo:1.5 pkgsrc/devel/py-test-benchmark/distinfo:1.6
--- pkgsrc/devel/py-test-benchmark/distinfo:1.5 Sun Nov 20 23:24:21 2022
+++ pkgsrc/devel/py-test-benchmark/distinfo Sun Nov 3 19:35:13 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2022/11/20 23:24:21 adam Exp $
+$NetBSD: distinfo,v 1.6 2024/11/03 19:35:13 adam Exp $
-BLAKE2s (pytest-benchmark-4.0.0.tar.gz) = 7c859b4b932afd65cf34fb730966ea3b666eab923dea02118c1b2725bbc4805a
-SHA512 (pytest-benchmark-4.0.0.tar.gz) = e5b8ae4459d1236ec32e09fb6e95e63c4b46e575348e701dc26b3362c445c2e00cf2994aa4dcf69aa39ee2bd73740bbe89bd012e3730584ddbdec3f41499cef3
-Size (pytest-benchmark-4.0.0.tar.gz) = 334641 bytes
+BLAKE2s (pytest-benchmark-5.1.0.tar.gz) = f52c475292036ade99b0693503dfccedc53f75f5caba0f24d562035a213cdee3
+SHA512 (pytest-benchmark-5.1.0.tar.gz) = aa19e220e93d6dcdcc3535d1fefde23b031e8f76b1818d5adebec738d7eb3c7a8d91ff13de848b6751ee8629d11209372e567a27b08155679c3f0170da4bbc10
+Size (pytest-benchmark-5.1.0.tar.gz) = 337810 bytes
Home |
Main Index |
Thread Index |
Old Index