pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-approvaltests Update to 1.0.0. From the chang...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b3d12ad9186
branches:  trunk
changeset: 454857:6b3d12ad9186
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Jun 23 18:20:17 2021 +0000

description:
Update to 1.0.0. From the changelog:

## Verify(text) ensures a newline at end of files

### BREAKING CHANGE

Since most tools will ensure a newline at the end of a file, approval
test is now adding this to allow copying approval results in diff tools
to work correctly. Please note that this will break all you previous
approvals that do not end with a newline!

This will show by your diff tool opening with two files that look
identical, but one actually has a newline at the end.

### Upgrade Path

We suggest you use ReporterByCopyMoveCommandForEverythingToClipboard()
as your Default Reporter to re-approve all your files.

## Namer handles multiple nested methods in a unit test

Previously if you had nested methods in your unit test, the names would
incorrectly identify the help method rather than the test method. This
is now fixed.

diffstat:

 devel/py-approvaltests/Makefile |   4 ++--
 devel/py-approvaltests/PLIST    |   5 ++++-
 devel/py-approvaltests/distinfo |  10 +++++-----
 3 files changed, 11 insertions(+), 8 deletions(-)

diffs (46 lines):

diff -r 4bb9427ca110 -r 6b3d12ad9186 devel/py-approvaltests/Makefile
--- a/devel/py-approvaltests/Makefile   Wed Jun 23 18:18:48 2021 +0000
+++ b/devel/py-approvaltests/Makefile   Wed Jun 23 18:20:17 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2021/05/24 10:16:13 schmonz Exp $
+# $NetBSD: Makefile,v 1.18 2021/06/23 18:20:17 schmonz Exp $
 
-DISTNAME=      approvaltests-0.8.0
+DISTNAME=      approvaltests-1.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/approvaltests/}
diff -r 4bb9427ca110 -r 6b3d12ad9186 devel/py-approvaltests/PLIST
--- a/devel/py-approvaltests/PLIST      Wed Jun 23 18:18:48 2021 +0000
+++ b/devel/py-approvaltests/PLIST      Wed Jun 23 18:20:17 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2021/05/02 18:51:09 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.7 2021/06/23 18:20:17 schmonz Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -85,6 +85,9 @@
 ${PYSITELIB}/approvaltests/reporters/received_file_launcher_reporter.py
 ${PYSITELIB}/approvaltests/reporters/received_file_launcher_reporter.pyc
 ${PYSITELIB}/approvaltests/reporters/received_file_launcher_reporter.pyo
+${PYSITELIB}/approvaltests/reporters/report_all_to_clipboard.py
+${PYSITELIB}/approvaltests/reporters/report_all_to_clipboard.pyc
+${PYSITELIB}/approvaltests/reporters/report_all_to_clipboard.pyo
 ${PYSITELIB}/approvaltests/reporters/report_with_beyond_compare.py
 ${PYSITELIB}/approvaltests/reporters/report_with_beyond_compare.pyc
 ${PYSITELIB}/approvaltests/reporters/report_with_beyond_compare.pyo
diff -r 4bb9427ca110 -r 6b3d12ad9186 devel/py-approvaltests/distinfo
--- a/devel/py-approvaltests/distinfo   Wed Jun 23 18:18:48 2021 +0000
+++ b/devel/py-approvaltests/distinfo   Wed Jun 23 18:20:17 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.16 2021/05/24 10:16:13 schmonz Exp $
+$NetBSD: distinfo,v 1.17 2021/06/23 18:20:17 schmonz Exp $
 
-SHA1 (approvaltests-0.8.0.tar.gz) = b14d6efc1c4d7119d859baa24cbeb35aae3d33e3
-RMD160 (approvaltests-0.8.0.tar.gz) = 08a66a7608300f28491f00ea055fbf497fdde858
-SHA512 (approvaltests-0.8.0.tar.gz) = 604bda0648a45a626f001cc41531374c25b12d4654075562a4edd0129628250c6f829caf86e02599810fb3f72e3d2b65cc639a4fccd92ab8727d38b3b8326f28
-Size (approvaltests-0.8.0.tar.gz) = 23812 bytes
+SHA1 (approvaltests-1.0.0.tar.gz) = 3a82e0a7a3182a8e55787f1ac0bbbab1b5a45af0
+RMD160 (approvaltests-1.0.0.tar.gz) = ea3d4c4bb94de4a582964cd923ab542f8ca47892
+SHA512 (approvaltests-1.0.0.tar.gz) = 300ed1e8c52b1211519ec51e9c3cd49fc8c88cb55dadc15599d979a1dc4a4a3742befe75ff3f2aadbf30a973a82c41ab2343d7960dd007bd6950aebf95475b96
+Size (approvaltests-1.0.0.tar.gz) = 24377 bytes



Home | Main Index | Thread Index | Old Index