Received: by mail.netbsd.org (Postfix, from userid 605) id 42F7D84D82; Mon, 18 May 2020 12:45:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C0EFA84D7B for ; Mon, 18 May 2020 12:45:26 +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 dCMe1fwQBFuq for ; Mon, 18 May 2020 12:45:26 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 0FC3184CE7 for ; Mon, 18 May 2020 12:45:26 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 073DDFB27; Mon, 18 May 2020 12:45:26 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_158980592614620" MIME-Version: 1.0 Date: Mon, 18 May 2020 12:45:26 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/py-test-benchmark To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20200518124526.073DDFB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_158980592614620 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Mon May 18 12:45:25 UTC 2020 Added Files: pkgsrc/devel/py-test-benchmark: ALTERNATIVES DESCR Makefile PLIST distinfo Log Message: devel/py-test-benchmark: import py-test-benchmark-3.2.3 A pytest fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-test-benchmark/ALTERNATIVES \ pkgsrc/devel/py-test-benchmark/DESCR \ pkgsrc/devel/py-test-benchmark/Makefile \ pkgsrc/devel/py-test-benchmark/PLIST \ 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. --_----------=_158980592614620 Content-Disposition: inline Content-Length: 6311 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/devel/py-test-benchmark/ALTERNATIVES diff -u /dev/null pkgsrc/devel/py-test-benchmark/ALTERNATIVES:1.1 --- /dev/null Mon May 18 12:45:25 2020 +++ pkgsrc/devel/py-test-benchmark/ALTERNATIVES Mon May 18 12:45:25 2020 @@ -0,0 +1,2 @@ +bin/py.test-benchmark @PREFIX@/bin/py.test-benchmark-@PYVERSSUFFIX@ +bin/pytest-benchmark @PREFIX@/bin/pytest-benchmark-@PYVERSSUFFIX@ Index: pkgsrc/devel/py-test-benchmark/DESCR diff -u /dev/null pkgsrc/devel/py-test-benchmark/DESCR:1.1 --- /dev/null Mon May 18 12:45:25 2020 +++ pkgsrc/devel/py-test-benchmark/DESCR Mon May 18 12:45:25 2020 @@ -0,0 +1,2 @@ +A pytest fixture for benchmarking code. It will group the tests +into rounds that are calibrated to the chosen timer. Index: pkgsrc/devel/py-test-benchmark/Makefile diff -u /dev/null pkgsrc/devel/py-test-benchmark/Makefile:1.1 --- /dev/null Mon May 18 12:45:25 2020 +++ pkgsrc/devel/py-test-benchmark/Makefile Mon May 18 12:45:25 2020 @@ -0,0 +1,44 @@ +# $NetBSD: Makefile,v 1.1 2020/05/18 12:45:25 wiz Exp $ + +DISTNAME= pytest-benchmark-3.2.3 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-benchmark/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/ionelmc/pytest-benchmark +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 +TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun + +PYTHON_VERSIONED_DEPENDENCIES+= test + +.include "../../lang/python/pyversion.mk" + +.if ${_PYTHON_VERSION} == 27 +# Optional dependencies, not yet packaged: +# ':python_version < "3.4"': ['statistics' ] +DEPENDS+= ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2 +.endif + +USE_LANGUAGES= # none + +post-install: + cd ${DESTDIR}${PREFIX}/bin && \ + ${MV} py.test-benchmark py.test-benchmark-${PYVERSSUFFIX} || ${TRUE} + cd ${DESTDIR}${PREFIX}/bin && \ + ${MV} pytest-benchmark pytest-benchmark-${PYVERSSUFFIX} || ${TRUE} + +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/PLIST diff -u /dev/null pkgsrc/devel/py-test-benchmark/PLIST:1.1 --- /dev/null Mon May 18 12:45:25 2020 +++ pkgsrc/devel/py-test-benchmark/PLIST Mon May 18 12:45:25 2020 @@ -0,0 +1,67 @@ +@comment $NetBSD: PLIST,v 1.1 2020/05/18 12:45:25 wiz 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}/pytest_benchmark/__init__.py +${PYSITELIB}/pytest_benchmark/__init__.pyc +${PYSITELIB}/pytest_benchmark/__init__.pyo +${PYSITELIB}/pytest_benchmark/__main__.py +${PYSITELIB}/pytest_benchmark/__main__.pyc +${PYSITELIB}/pytest_benchmark/__main__.pyo +${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 +${PYSITELIB}/pytest_benchmark/fixture.py +${PYSITELIB}/pytest_benchmark/fixture.pyc +${PYSITELIB}/pytest_benchmark/fixture.pyo +${PYSITELIB}/pytest_benchmark/histogram.py +${PYSITELIB}/pytest_benchmark/histogram.pyc +${PYSITELIB}/pytest_benchmark/histogram.pyo +${PYSITELIB}/pytest_benchmark/hookspec.py +${PYSITELIB}/pytest_benchmark/hookspec.pyc +${PYSITELIB}/pytest_benchmark/hookspec.pyo +${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 +${PYSITELIB}/pytest_benchmark/session.py +${PYSITELIB}/pytest_benchmark/session.pyc +${PYSITELIB}/pytest_benchmark/session.pyo +${PYSITELIB}/pytest_benchmark/stats.py +${PYSITELIB}/pytest_benchmark/stats.pyc +${PYSITELIB}/pytest_benchmark/stats.pyo +${PYSITELIB}/pytest_benchmark/storage/__init__.py +${PYSITELIB}/pytest_benchmark/storage/__init__.pyc +${PYSITELIB}/pytest_benchmark/storage/__init__.pyo +${PYSITELIB}/pytest_benchmark/storage/elasticsearch.py +${PYSITELIB}/pytest_benchmark/storage/elasticsearch.pyc +${PYSITELIB}/pytest_benchmark/storage/elasticsearch.pyo +${PYSITELIB}/pytest_benchmark/storage/file.py +${PYSITELIB}/pytest_benchmark/storage/file.pyc +${PYSITELIB}/pytest_benchmark/storage/file.pyo +${PYSITELIB}/pytest_benchmark/table.py +${PYSITELIB}/pytest_benchmark/table.pyc +${PYSITELIB}/pytest_benchmark/table.pyo +${PYSITELIB}/pytest_benchmark/timers.py +${PYSITELIB}/pytest_benchmark/timers.pyc +${PYSITELIB}/pytest_benchmark/timers.pyo +${PYSITELIB}/pytest_benchmark/utils.py +${PYSITELIB}/pytest_benchmark/utils.pyc +${PYSITELIB}/pytest_benchmark/utils.pyo Index: pkgsrc/devel/py-test-benchmark/distinfo diff -u /dev/null pkgsrc/devel/py-test-benchmark/distinfo:1.1 --- /dev/null Mon May 18 12:45:25 2020 +++ pkgsrc/devel/py-test-benchmark/distinfo Mon May 18 12:45:25 2020 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/05/18 12:45:25 wiz 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 --_----------=_158980592614620--