Received: by mail.netbsd.org (Postfix, from userid 605) id BF30B84EF4; Fri, 1 Oct 2021 12:47:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 03A1684EF3 for ; Fri, 1 Oct 2021 12:47:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id Q5Rq-V43QR33 for ; Fri, 1 Oct 2021 12:47:28 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 1EB0A84CE7 for ; Fri, 1 Oct 2021 12:47:28 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 12D11FA97; Fri, 1 Oct 2021 12:47:28 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1633092448124350" MIME-Version: 1.0 Date: Fri, 1 Oct 2021 12:47:28 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/py-test-benchmark To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20211001124728.12D11FA97@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1633092448124350 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Fri Oct 1 12:47:27 UTC 2021 Modified Files: pkgsrc/devel/py-test-benchmark: Makefile distinfo Log Message: 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). To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-test-benchmark/Makefile cvs rdiff -u -r1.1 -r1.2 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. --_----------=_1633092448124350 Content-Disposition: inline Content-Length: 3168 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-test-benchmark/Makefile diff -u pkgsrc/devel/py-test-benchmark/Makefile:1.2 pkgsrc/devel/py-test-benchmark/Makefile:1.3 --- pkgsrc/devel/py-test-benchmark/Makefile:1.2 Fri Nov 27 10:41:36 2020 +++ pkgsrc/devel/py-test-benchmark/Makefile Fri Oct 1 12:47:27 2021 @@ -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 @@ HOMEPAGE= https://github.com/ionelmc/pyt 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}-pygal-[0-9]*:../../graphics/py-pygal DEPENDS+= ${PYPKGPREFIX}-elasticsearch-[0-9]*:../../databases/py-elasticsearch +DEPENDS+= ${PYPKGPREFIX}-pygal-[0-9]*:../../graphics/py-pygal 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" Index: pkgsrc/devel/py-test-benchmark/distinfo diff -u pkgsrc/devel/py-test-benchmark/distinfo:1.1 pkgsrc/devel/py-test-benchmark/distinfo:1.2 --- pkgsrc/devel/py-test-benchmark/distinfo:1.1 Mon May 18 12:45:25 2020 +++ pkgsrc/devel/py-test-benchmark/distinfo Fri Oct 1 12:47:27 2021 @@ -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 --_----------=_1633092448124350--