pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-test-benchmark py-test-benchmark: updated to ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d6aadf875997
branches: trunk
changeset: 388470:d6aadf875997
user: adam <adam%pkgsrc.org@localhost>
date: Sun Nov 20 23:24:21 2022 +0000
description:
py-test-benchmark: updated to 4.0.0
4.0.0 (2022-10-26)
------------------
* Dropped support for legacy Pythons (2.7, 3.6 or older).
* Switched CI to GitHub Actions.
* Removed dependency on the ``py`` library (that was not properly specified as a dependency anyway).
* Fix skipping test in `test_utils.py` if appropriate VCS not available. Also fix typo.
* Added support for pytest 7.2.0 by using ``pytest.hookimpl`` and ``pytest.hookspec`` to configure hooks.
* Now no save is attempted if ``--benchmark-disable`` is used.
diffstat:
devel/py-test-benchmark/Makefile | 15 +++++++--------
devel/py-test-benchmark/PLIST | 5 +----
devel/py-test-benchmark/distinfo | 8 ++++----
3 files changed, 12 insertions(+), 16 deletions(-)
diffs (76 lines):
diff -r 783eea96eefc -r d6aadf875997 devel/py-test-benchmark/Makefile
--- a/devel/py-test-benchmark/Makefile Sun Nov 20 23:23:19 2022 +0000
+++ b/devel/py-test-benchmark/Makefile Sun Nov 20 23:24:21 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2022/01/05 15:41:08 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/11/20 23:24:21 adam Exp $
-DISTNAME= pytest-benchmark-3.4.1
+DISTNAME= pytest-benchmark-4.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION= 2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-benchmark/}
@@ -12,16 +11,16 @@
LICENSE= 2-clause-bsd
DEPENDS+= ${PYPKGPREFIX}-cpuinfo-[0-9]*:../../sysutils/py-cpuinfo
-DEPENDS+= ${PYPKGPREFIX}-elasticsearch-[0-9]*:../../databases/py-elasticsearch
DEPENDS+= ${PYPKGPREFIX}-pygal-[0-9]*:../../graphics/py-pygal
+DEPENDS+= ${PYPKGPREFIX}-test>=3.8:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-elasticsearch-[0-9]*:../../databases/py-elasticsearch
TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.8:../../devel/py-test
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pygal
+USE_PKG_RESOURCES= yes
-USE_PKG_RESOURCES= yes
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pygal
post-install:
.for bin in py.test-benchmark pytest-benchmark
@@ -30,7 +29,7 @@
.endfor
do-test:
- cd ${WRKSRC} && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 783eea96eefc -r d6aadf875997 devel/py-test-benchmark/PLIST
--- a/devel/py-test-benchmark/PLIST Sun Nov 20 23:23:19 2022 +0000
+++ b/devel/py-test-benchmark/PLIST Sun Nov 20 23:24:21 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2020/05/18 12:45:25 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/11/20 23:24:21 adam Exp $
bin/py.test-benchmark-${PYVERSSUFFIX}
bin/pytest-benchmark-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -35,9 +35,6 @@
${PYSITELIB}/pytest_benchmark/logger.py
${PYSITELIB}/pytest_benchmark/logger.pyc
${PYSITELIB}/pytest_benchmark/logger.pyo
-${PYSITELIB}/pytest_benchmark/pep418.py
-${PYSITELIB}/pytest_benchmark/pep418.pyc
-${PYSITELIB}/pytest_benchmark/pep418.pyo
${PYSITELIB}/pytest_benchmark/plugin.py
${PYSITELIB}/pytest_benchmark/plugin.pyc
${PYSITELIB}/pytest_benchmark/plugin.pyo
diff -r 783eea96eefc -r d6aadf875997 devel/py-test-benchmark/distinfo
--- a/devel/py-test-benchmark/distinfo Sun Nov 20 23:23:19 2022 +0000
+++ b/devel/py-test-benchmark/distinfo Sun Nov 20 23:24:21 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:19:07 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/11/20 23:24:21 adam Exp $
-BLAKE2s (pytest-benchmark-3.4.1.tar.gz) = bc80bfe301e403d0f110af8a82bc7fa8a929c88db84c2a8847f6d1575884e275
-SHA512 (pytest-benchmark-3.4.1.tar.gz) = 630b27462796aea97c2d878bb936009d59e1c33be3f4219113eae5e389d2cd7912a7f7bc10a1a9a7abbfc4f69213be10a3cc68bbdceef0783f4b0a8a13600119
-Size (pytest-benchmark-3.4.1.tar.gz) = 340349 bytes
+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
Home |
Main Index |
Thread Index |
Old Index