Skip to content

Commit d45e82f

Browse files
committed
py-test-cov: update to 3.0.0.
3.0.0 (2021-10-04) ------------------- **Note that this release drops support for Python 2.7 and Python 3.5.** * Added support for Python 3.10 and updated various test dependencies. Contributed by Hugo van Kemenade in `#500 <https://github.com/pytest-dev/pytest-cov/pull/500>`_. * Switched from Travis CI to GitHub Actions. Contributed by Hugo van Kemenade in `#494 <https://github.com/pytest-dev/pytest-cov/pull/494>`_ and `#495 <https://github.com/pytest-dev/pytest-cov/pull/495>`_. * Add a ``--cov-reset`` CLI option. Contributed by Danilo Šegan in `#459 <https://github.com/pytest-dev/pytest-cov/pull/459>`_. * Improved validation of ``--cov-fail-under`` CLI option. Contributed by ... Ronny Pfannschmidt's desire for skark in `#480 <https://github.com/pytest-dev/pytest-cov/pull/480>`_. * Dropped Python 2.7 support. Contributed by Thomas Grainger in `#488 <https://github.com/pytest-dev/pytest-cov/pull/488>`_. * Updated trove classifiers. Contributed by Michał Bielawski in `#481 <https://github.com/pytest-dev/pytest-cov/pull/481>`_. 2.13.0 (2021-06-01) ------------------- * Changed the `toml` requirement to be always be directly required (instead of being required through a coverage extra). This fixes issues with pip-compile (`pip-tools#1300 <https://github.com/jazzband/pip-tools/issues/1300>`_). Contributed by Sorin Sbarnea in `#472 <https://github.com/pytest-dev/pytest-cov/pull/472>`_. * Documented ``show_contexts``. Contributed by Brian Rutledge in `#473 <https://github.com/pytest-dev/pytest-cov/pull/473>`_.
1 parent 4c96e42 commit d45e82f

File tree

2 files changed

+21
-10
lines changed

2 files changed

+21
-10
lines changed

devel/py-test-cov/Makefile

+17-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# $NetBSD: Makefile,v 1.19 2022/01/04 20:53:41 wiz Exp $
1+
# $NetBSD: Makefile,v 1.20 2022/08/24 10:08:54 wiz Exp $
22

3-
DISTNAME= pytest-cov-2.12.1
3+
DISTNAME= pytest-cov-3.0.0
44
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
5-
PKGREVISION= 1
65
CATEGORIES= devel python
76
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-cov/}
87

@@ -12,12 +11,24 @@ COMMENT= Pytest plugin for measuring coverage
1211
LICENSE= mit
1312

1413
DEPENDS+= ${PYPKGPREFIX}-coverage>=5.2.1:../../devel/py-coverage
14+
DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
1515
DEPENDS+= ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
16-
17-
PYTHON_VERSIONED_DEPENDENCIES= test
16+
TEST_DEPENDS+= ${PYPKGPREFIX}-fields-[0-9]*:../../devel/py-fields
17+
TEST_DEPENDS+= ${PYPKGPREFIX}-process-tests-[0-9]*:../../devel/py-process-tests
18+
TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv-[0-9]*:../../devel/py-virtualenv
19+
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
1820

1921
USE_LANGUAGES= # none
2022

23+
PYTHON_VERSIONS_INCOMPATIBLE= 27
24+
25+
# needs to be installed for testing, this setting is not enoough
26+
# as of 3.0.0:
27+
# 1 failed, 124 passed, 6 skipped, 1 warning
28+
TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
29+
30+
do-test:
31+
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
32+
2133
.include "../../lang/python/egg.mk"
22-
.include "../../lang/python/versioned_dependencies.mk"
2334
.include "../../mk/bsd.pkg.mk"

devel/py-test-cov/distinfo

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.17 2021/10/26 10:19:07 nia Exp $
1+
$NetBSD: distinfo,v 1.18 2022/08/24 10:08:54 wiz Exp $
22

3-
BLAKE2s (pytest-cov-2.12.1.tar.gz) = c7e0e492945f85217efa4f91d706edd598e740a49b18a8e07e69c5ebd6c9f8b3
4-
SHA512 (pytest-cov-2.12.1.tar.gz) = 4c234178febeba1ce93ec0804c3efe181d5d88db9ac02effe14e62eb3b0f7ca1f8757fb4f360551e0d3e35a3b6207892afea85611a49db6c71a2dbaacabc5375
5-
Size (pytest-cov-2.12.1.tar.gz) = 60395 bytes
3+
BLAKE2s (pytest-cov-3.0.0.tar.gz) = 72e3a77921569945ae7586ff313a49622093d746076eb9947ae5fcaaa53989e4
4+
SHA512 (pytest-cov-3.0.0.tar.gz) = 289d1b1e29dcc3461276de4c1bbd3884e4ec957efb7dd4c330bc3f25f1b978cbee64c0e2882b419eee5f9ccf44c9d1a23ce47a1b7cc7e436b9ebe894e4c11ae8
5+
Size (pytest-cov-3.0.0.tar.gz) = 61440 bytes

0 commit comments

Comments
 (0)