pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-test-benchmark
Module Name: pkgsrc
Committed By: adam
Date: Sun Nov 20 23:24:21 UTC 2022
Modified Files:
pkgsrc/devel/py-test-benchmark: Makefile PLIST distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-test-benchmark/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-test-benchmark/PLIST
cvs rdiff -u -r1.4 -r1.5 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.
Modified files:
Index: pkgsrc/devel/py-test-benchmark/Makefile
diff -u pkgsrc/devel/py-test-benchmark/Makefile:1.5 pkgsrc/devel/py-test-benchmark/Makefile:1.6
--- pkgsrc/devel/py-test-benchmark/Makefile:1.5 Wed Jan 5 15:41:08 2022
+++ pkgsrc/devel/py-test-benchmark/Makefile Sun Nov 20 23:24:21 2022
@@ -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,17 +11,17 @@ COMMENT= Pytest support for benchmarking
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
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pygal
+
post-install:
.for bin in py.test-benchmark pytest-benchmark
cd ${DESTDIR}${PREFIX}/bin && \
@@ -30,7 +29,7 @@ post-install:
.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"
Index: pkgsrc/devel/py-test-benchmark/PLIST
diff -u pkgsrc/devel/py-test-benchmark/PLIST:1.1 pkgsrc/devel/py-test-benchmark/PLIST:1.2
--- pkgsrc/devel/py-test-benchmark/PLIST:1.1 Mon May 18 12:45:25 2020
+++ pkgsrc/devel/py-test-benchmark/PLIST Sun Nov 20 23:24:21 2022
@@ -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/hookspec.p
${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
Index: pkgsrc/devel/py-test-benchmark/distinfo
diff -u pkgsrc/devel/py-test-benchmark/distinfo:1.4 pkgsrc/devel/py-test-benchmark/distinfo:1.5
--- pkgsrc/devel/py-test-benchmark/distinfo:1.4 Tue Oct 26 10:19:07 2021
+++ pkgsrc/devel/py-test-benchmark/distinfo Sun Nov 20 23:24:21 2022
@@ -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