Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-test-benchmark devel/py-test-benchmark: impor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/737ba85bccf8
branches:  trunk
changeset: 432050:737ba85bccf8
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon May 18 12:45:25 2020 +0000

description:
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.

diffstat:

 devel/py-test-benchmark/ALTERNATIVES |   2 +
 devel/py-test-benchmark/DESCR        |   2 +
 devel/py-test-benchmark/Makefile     |  44 +++++++++++++++++++++++
 devel/py-test-benchmark/PLIST        |  67 ++++++++++++++++++++++++++++++++++++
 devel/py-test-benchmark/distinfo     |   6 +++
 5 files changed, 121 insertions(+), 0 deletions(-)

diffs (141 lines):

diff -r b9568767ae95 -r 737ba85bccf8 devel/py-test-benchmark/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-benchmark/ALTERNATIVES      Mon May 18 12:45:25 2020 +0000
@@ -0,0 +1,2 @@
+bin/py.test-benchmark @PREFIX@/bin/py.test-benchmark-@PYVERSSUFFIX@
+bin/pytest-benchmark @PREFIX@/bin/pytest-benchmark-@PYVERSSUFFIX@
diff -r b9568767ae95 -r 737ba85bccf8 devel/py-test-benchmark/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-benchmark/DESCR     Mon May 18 12:45:25 2020 +0000
@@ -0,0 +1,2 @@
+A pytest fixture for benchmarking code. It will group the tests
+into rounds that are calibrated to the chosen timer.
diff -r b9568767ae95 -r 737ba85bccf8 devel/py-test-benchmark/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-benchmark/Makefile  Mon May 18 12:45:25 2020 +0000
@@ -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@localhost
+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"
diff -r b9568767ae95 -r 737ba85bccf8 devel/py-test-benchmark/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-benchmark/PLIST     Mon May 18 12:45:25 2020 +0000
@@ -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
diff -r b9568767ae95 -r 737ba85bccf8 devel/py-test-benchmark/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-benchmark/distinfo  Mon May 18 12:45:25 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index