pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-test-cov



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Aug 24 10:08:54 UTC 2022

Modified Files:
        pkgsrc/devel/py-test-cov: Makefile distinfo

Log Message:
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>`_.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/py-test-cov/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/py-test-cov/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-cov/Makefile
diff -u pkgsrc/devel/py-test-cov/Makefile:1.19 pkgsrc/devel/py-test-cov/Makefile:1.20
--- pkgsrc/devel/py-test-cov/Makefile:1.19      Tue Jan  4 20:53:41 2022
+++ pkgsrc/devel/py-test-cov/Makefile   Wed Aug 24 10:08:54 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2022/01/04 20:53:41 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2022/08/24 10:08:54 wiz Exp $
 
-DISTNAME=      pytest-cov-2.12.1
+DISTNAME=      pytest-cov-3.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-cov/}
 
@@ -12,12 +11,24 @@ COMMENT=    Pytest plugin for measuring cov
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-coverage>=5.2.1:../../devel/py-coverage
+DEPENDS+=      ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 DEPENDS+=      ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
-
-PYTHON_VERSIONED_DEPENDENCIES= test
+TEST_DEPENDS+= ${PYPKGPREFIX}-fields-[0-9]*:../../devel/py-fields
+TEST_DEPENDS+= ${PYPKGPREFIX}-process-tests-[0-9]*:../../devel/py-process-tests
+TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv-[0-9]*:../../devel/py-virtualenv
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+# needs to be installed for testing, this setting is not enoough
+# as of 3.0.0:
+# 1 failed, 124 passed, 6 skipped, 1 warning
+TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-test-cov/distinfo
diff -u pkgsrc/devel/py-test-cov/distinfo:1.17 pkgsrc/devel/py-test-cov/distinfo:1.18
--- pkgsrc/devel/py-test-cov/distinfo:1.17      Tue Oct 26 10:19:07 2021
+++ pkgsrc/devel/py-test-cov/distinfo   Wed Aug 24 10:08:54 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.17 2021/10/26 10:19:07 nia Exp $
+$NetBSD: distinfo,v 1.18 2022/08/24 10:08:54 wiz Exp $
 
-BLAKE2s (pytest-cov-2.12.1.tar.gz) = c7e0e492945f85217efa4f91d706edd598e740a49b18a8e07e69c5ebd6c9f8b3
-SHA512 (pytest-cov-2.12.1.tar.gz) = 4c234178febeba1ce93ec0804c3efe181d5d88db9ac02effe14e62eb3b0f7ca1f8757fb4f360551e0d3e35a3b6207892afea85611a49db6c71a2dbaacabc5375
-Size (pytest-cov-2.12.1.tar.gz) = 60395 bytes
+BLAKE2s (pytest-cov-3.0.0.tar.gz) = 72e3a77921569945ae7586ff313a49622093d746076eb9947ae5fcaaa53989e4
+SHA512 (pytest-cov-3.0.0.tar.gz) = 289d1b1e29dcc3461276de4c1bbd3884e4ec957efb7dd4c330bc3f25f1b978cbee64c0e2882b419eee5f9ccf44c9d1a23ce47a1b7cc7e436b9ebe894e4c11ae8
+Size (pytest-cov-3.0.0.tar.gz) = 61440 bytes



Home | Main Index | Thread Index | Old Index