pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-coverage py-coverage: updated to 4.5
details: https://anonhg.NetBSD.org/pkgsrc/rev/d2d66498533c
branches: trunk
changeset: 375198:d2d66498533c
user: adam <adam%pkgsrc.org@localhost>
date: Mon Feb 05 16:13:19 2018 +0000
description:
py-coverage: updated to 4.5
Version 4.5:
- A new kind of plugin is supported: configurators are invoked at start-up to
allow more complex configuration than the .coveragerc file can easily do.
See :ref:api_plugin for details. This solves the complex configuration
problem described in issue 563_.
- The fail_under option can now be a float. Note that you must specify the
[report] precision configuration option for the fractional part to be
used. Thanks to Lars Hupfeldt Nielsen for help with the implementation.
Fixes issue 631_.
- The include and omit options can be specified for both the [run]
and [report] phases of execution. 4.4.2 introduced some incorrect
interactions between those phases, where the options for one were confused
for the other. This is now corrected, fixing issue 621_ and issue 622_.
Thanks to Daniel Hahler for seeing more clearly than I could.
- The coverage combine command used to always overwrite the data file, even
when no data had been read from apparently combinable files. Now, an error
is raised if we thought there were files to combine, but in fact none of them
could be used. Fixes issue 629_.
- The coverage combine command could get confused about path separators
when combining data collected on Windows with data collected on Linux, as
described in issue 618_. This is now fixed: the result path always uses
the path separator specified in the [paths] result.
- On Windows, the HTML report could fail when source trees are deeply nested,
due to attempting to create HTML filenames longer than the 250-character
maximum. Now filenames will never get much larger than 200 characters,
fixing issue 627_. Thanks to Alex Sandro for helping with the fix.
diffstat:
devel/py-coverage/Makefile | 10 +++++-----
devel/py-coverage/distinfo | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
diffs (42 lines):
diff -r 0e80daa14095 -r d2d66498533c devel/py-coverage/Makefile
--- a/devel/py-coverage/Makefile Mon Feb 05 16:12:04 2018 +0000
+++ b/devel/py-coverage/Makefile Mon Feb 05 16:13:19 2018 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2017/12/13 08:16:08 adam Exp $
+# $NetBSD: Makefile,v 1.14 2018/02/05 16:13:19 adam Exp $
-DISTNAME= coverage-4.4.2
+DISTNAME= coverage-4.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/coverage/}
@@ -11,9 +10,10 @@
COMMENT= Python module that measures code coverage for Python
LICENSE= modified-bsd
-BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+BUILD_DEPENDS+= ${PYPKGPREFIX}-greenlet-[0-9]*:../../devel/py-greenlet
BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-BUILD_DEPENDS+= ${PYPKGPREFIX}-greenlet-[0-9]*:../../devel/py-greenlet
+BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+BUILD_DEPENDS+= ${PYPKGPREFIX}-unittest-mixins>=1.4:../../devel/py-unittest-mixins
USE_LANGUAGES= c
diff -r 0e80daa14095 -r d2d66498533c devel/py-coverage/distinfo
--- a/devel/py-coverage/distinfo Mon Feb 05 16:12:04 2018 +0000
+++ b/devel/py-coverage/distinfo Mon Feb 05 16:13:19 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2017/11/06 10:37:32 adam Exp $
+$NetBSD: distinfo,v 1.9 2018/02/05 16:13:19 adam Exp $
-SHA1 (coverage-4.4.2.tar.gz) = 2a77231042c5c003058f5d4ff49f10089b9f4af6
-RMD160 (coverage-4.4.2.tar.gz) = 774a79178b9da3e0058e4da1e8ffb036b6360a33
-SHA512 (coverage-4.4.2.tar.gz) = f4c2414c18b983443d9117a23087dc84182d7373a91853cd820a1eb6ae73fd20f0c8647c6f9476f31f26dcf995596375c9ff5bbbb09984ebab9909811323f3a0
-Size (coverage-4.4.2.tar.gz) = 374581 bytes
+SHA1 (coverage-4.5.tar.gz) = ef0b60bd9fae66beab0059a253d94a9dacffca96
+RMD160 (coverage-4.5.tar.gz) = ad52f42f3c5696018f5771448b505508c8dd3db6
+SHA512 (coverage-4.5.tar.gz) = 88c7fb88f1d86b63bbbeeeb8bcb2124a0049b7914dd55f669a2b0cc66912417897a5a6de9d9b6f82396479e38d182e73ae5687964fe97841e07f2777deaa5c9f
+Size (coverage-4.5.tar.gz) = 378933 bytes
Home |
Main Index |
Thread Index |
Old Index