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/7fd0ae7f278e
branches: trunk
changeset: 459197:7fd0ae7f278e
user: adam <adam%pkgsrc.org@localhost>
date: Fri Oct 01 12:47:27 2021 +0000
description:
py-test-benchmark: updated to 3.4.1
3.4.1 (2021-04-17)
------------------
* Republished with updated changelog.
I intended to publish a ``3.3.0`` release but I messed it up because bumpversion doesn't work well with pre-commit
apparently... thus ``3.4.0`` was set in by accident.
3.4.0 (2021-04-17)
------------------
* Disable progress indication unless ``--benchmark-verbose`` is used.
* Added Python 3.9, dropped Python 3.5.
* Changed the "cpu" data in the json output to include everything that cpuinfo outputs, for better or worse as cpuinfo 6.0 changed some
fields. Users should now ensure they are an adequate cpuinfo package installed.
**MAY BE BACKWARDS INCOMPATIBLE**
* Changed behavior of ``--benchmark-skip`` and ``--benchmark-only`` to apply early in the collection phase.
This means skipped tests won't make pytest run fixtures for said tests unnecessarily, but unfortunately this also means
the skipping behavior will be applied to any tests that requires a "benchmark" fixture, regardless if it would come from pytest-benchmark
or not.
**MAY BE BACKWARDS INCOMPATIBLE**
* Added ``--benchmark-quiet`` - option to disable reporting and other information output.
* Squelched unnecessary warning when ``--benchmark-disable`` and save options are used.
* ``PerformanceRegression`` exception no longer inherits ``pytest.UsageError`` (apparently a *final* class).
diffstat:
devel/py-test-benchmark/Makefile | 22 +++++++++-------------
devel/py-test-benchmark/distinfo | 10 +++++-----
2 files changed, 14 insertions(+), 18 deletions(-)
diffs (63 lines):
diff -r e7242ef86102 -r 7fd0ae7f278e devel/py-test-benchmark/Makefile
--- a/devel/py-test-benchmark/Makefile Fri Oct 01 12:40:52 2021 +0000
+++ b/devel/py-test-benchmark/Makefile Fri Oct 01 12:47:27 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2020/11/27 10:41:36 jperkin Exp $
+# $NetBSD: Makefile,v 1.3 2021/10/01 12:47:27 adam Exp $
-DISTNAME= pytest-benchmark-3.2.3
+DISTNAME= pytest-benchmark-3.4.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-benchmark/}
@@ -10,28 +10,24 @@
COMMENT= Pytest support for benchmarking
LICENSE= 2-clause-bsd
-# Optional dependencies, not yet packaged:
-# 'aspect': ['aspectlib'],
-# 'histogram': ['pygaljs'],
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}-elasticsearch-[0-9]*:../../databases/py-elasticsearch
TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
-
-PYTHON_VERSIONED_DEPENDENCIES+= test
-PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pygal
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.8:../../devel/py-test
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pygal
+
post-install:
+.for bin in py.test-benchmark pytest-benchmark
cd ${DESTDIR}${PREFIX}/bin && \
- ${MV} py.test-benchmark py.test-benchmark-${PYVERSSUFFIX} || ${TRUE}
- cd ${DESTDIR}${PREFIX}/bin && \
- ${MV} pytest-benchmark pytest-benchmark-${PYVERSSUFFIX} || ${TRUE}
+ ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
+.endfor
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r e7242ef86102 -r 7fd0ae7f278e devel/py-test-benchmark/distinfo
--- a/devel/py-test-benchmark/distinfo Fri Oct 01 12:40:52 2021 +0000
+++ b/devel/py-test-benchmark/distinfo Fri Oct 01 12:47:27 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2020/05/18 12:45:25 wiz Exp $
+$NetBSD: distinfo,v 1.2 2021/10/01 12:47:27 adam Exp $
-SHA1 (pytest-benchmark-3.2.3.tar.gz) = 80977bd68110f297cb8feef6fce3164a7d141177
-RMD160 (pytest-benchmark-3.2.3.tar.gz) = c92e3b9508d59c73c723aebcf3f8a783967bba16
-SHA512 (pytest-benchmark-3.2.3.tar.gz) = 549fc8aa6d4ab732ba3708d7ab077562f7e82556891511b90a3c4c84c1262391c48bf09c06737106e1780c16093436940014546ad8c1c3960f652198a2a9acda
-Size (pytest-benchmark-3.2.3.tar.gz) = 337882 bytes
+SHA1 (pytest-benchmark-3.4.1.tar.gz) = 9d5d013c883106d423a28731a366ce145745443b
+RMD160 (pytest-benchmark-3.4.1.tar.gz) = b481e3b9047730c831a46be9550d47d8d2e43399
+SHA512 (pytest-benchmark-3.4.1.tar.gz) = 630b27462796aea97c2d878bb936009d59e1c33be3f4219113eae5e389d2cd7912a7f7bc10a1a9a7abbfc4f69213be10a3cc68bbdceef0783f4b0a8a13600119
+Size (pytest-benchmark-3.4.1.tar.gz) = 340349 bytes
Home |
Main Index |
Thread Index |
Old Index