pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-approvaltests
Module Name: pkgsrc
Committed By: schmonz
Date: Wed Dec 15 09:34:12 UTC 2021
Modified Files:
pkgsrc/devel/py-approvaltests: Makefile PLIST distinfo
Added Files:
pkgsrc/devel/py-approvaltests/patches: patch-approvaltests_version.py
Log Message:
Update to 3.3.0. From the changelog:
- Breaking change: PythonNativeReporter removed extra blank lines in
output
- New reporter: ReportOnCyberDojo creates FileName.testname.diff
- New feature: verify_binary (closes #67)
pkgsrc changes:
- Replace "version" with "version_number" to fix module loading. Issue
reported upstream.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/py-approvaltests/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-approvaltests/PLIST
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/py-approvaltests/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/py-approvaltests/patches/patch-approvaltests_version.py
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-approvaltests/Makefile
diff -u pkgsrc/devel/py-approvaltests/Makefile:1.26 pkgsrc/devel/py-approvaltests/Makefile:1.27
--- pkgsrc/devel/py-approvaltests/Makefile:1.26 Wed Dec 15 09:08:40 2021
+++ pkgsrc/devel/py-approvaltests/Makefile Wed Dec 15 09:34:12 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2021/12/15 09:08:40 schmonz Exp $
+# $NetBSD: Makefile,v 1.27 2021/12/15 09:34:12 schmonz Exp $
-DISTNAME= approvaltests-3.1.1
+DISTNAME= approvaltests-3.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/approvaltests/}
@@ -15,6 +15,10 @@ DEPENDS+= ${PYPKGPREFIX}-empty-files-[0-
DEPENDS+= ${PYPKGPREFIX}-pyperclip>=1.5.27:../../x11/py-pyperclip
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+#TEST_DEPENDS+= ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
+
+#do-test:
+# (cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m tox)
USE_LANGUAGES= # none
Index: pkgsrc/devel/py-approvaltests/PLIST
diff -u pkgsrc/devel/py-approvaltests/PLIST:1.10 pkgsrc/devel/py-approvaltests/PLIST:1.11
--- pkgsrc/devel/py-approvaltests/PLIST:1.10 Wed Sep 29 10:09:04 2021
+++ pkgsrc/devel/py-approvaltests/PLIST Wed Dec 15 09:34:12 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2021/09/29 10:09:04 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.11 2021/12/15 09:34:12 schmonz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -16,6 +16,9 @@ ${PYSITELIB}/approvaltests/approvals.pyo
${PYSITELIB}/approvaltests/asserts.py
${PYSITELIB}/approvaltests/asserts.pyc
${PYSITELIB}/approvaltests/asserts.pyo
+${PYSITELIB}/approvaltests/binary_writer.py
+${PYSITELIB}/approvaltests/binary_writer.pyc
+${PYSITELIB}/approvaltests/binary_writer.pyo
${PYSITELIB}/approvaltests/combination_approvals.py
${PYSITELIB}/approvaltests/combination_approvals.pyc
${PYSITELIB}/approvaltests/combination_approvals.pyo
@@ -88,6 +91,12 @@ ${PYSITELIB}/approvaltests/reporters/rec
${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_by_creating_diff_file.py
+${PYSITELIB}/approvaltests/reporters/report_by_creating_diff_file.pyc
+${PYSITELIB}/approvaltests/reporters/report_by_creating_diff_file.pyo
+${PYSITELIB}/approvaltests/reporters/report_on_cyber_dojo.py
+${PYSITELIB}/approvaltests/reporters/report_on_cyber_dojo.pyc
+${PYSITELIB}/approvaltests/reporters/report_on_cyber_dojo.pyo
${PYSITELIB}/approvaltests/reporters/report_to_diff_engine.py
${PYSITELIB}/approvaltests/reporters/report_to_diff_engine.pyc
${PYSITELIB}/approvaltests/reporters/report_to_diff_engine.pyo
Index: pkgsrc/devel/py-approvaltests/distinfo
diff -u pkgsrc/devel/py-approvaltests/distinfo:1.27 pkgsrc/devel/py-approvaltests/distinfo:1.28
--- pkgsrc/devel/py-approvaltests/distinfo:1.27 Wed Dec 15 09:08:40 2021
+++ pkgsrc/devel/py-approvaltests/distinfo Wed Dec 15 09:34:12 2021
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.27 2021/12/15 09:08:40 schmonz Exp $
+$NetBSD: distinfo,v 1.28 2021/12/15 09:34:12 schmonz Exp $
-BLAKE2s (approvaltests-3.1.1.tar.gz) = f9780f8d4089b71a06e05255d82e90660b9e135222f5073012c8fe8091743137
-SHA512 (approvaltests-3.1.1.tar.gz) = acca27d2c175eca5a3a6af65ee3cbcf9f9cb5718a0a54714dbdffb89dc6fe268f6d26faf1c6ff28ebf2efca3dc39665f0f633a00a3fd281817fe9e05969ac854
-Size (approvaltests-3.1.1.tar.gz) = 25971 bytes
+BLAKE2s (approvaltests-3.3.0.tar.gz) = ccb691f7ab01cae0641f5cf931bd106da4fbe6ddd187495f1e4f9705c26a7dc1
+SHA512 (approvaltests-3.3.0.tar.gz) = aa8be46192f8c1acfb6aad2532ff9bd84dbc1995ca2de565c5a32aa72a58952df81c855c5d2079589d2386c46ee7a817792f1a8149f47f724c0256b06b134037
+Size (approvaltests-3.3.0.tar.gz) = 26591 bytes
+SHA1 (patch-approvaltests_version.py) = 985308ca98d289a05f1738bfb93455928242c1c4
Added files:
Index: pkgsrc/devel/py-approvaltests/patches/patch-approvaltests_version.py
diff -u /dev/null pkgsrc/devel/py-approvaltests/patches/patch-approvaltests_version.py:1.1
--- /dev/null Wed Dec 15 09:34:12 2021
+++ pkgsrc/devel/py-approvaltests/patches/patch-approvaltests_version.py Wed Dec 15 09:34:12 2021
@@ -0,0 +1,10 @@
+$NetBSD: patch-approvaltests_version.py,v 1.1 2021/12/15 09:34:12 schmonz Exp $
+
+Fix "NameError: name 'version_number' is not defined" to allow
+module to load.
+
+--- approvaltests/version.py.orig 2021-12-05 18:45:00.000000000 +0000
++++ approvaltests/version.py
+@@ -1 +1 @@
+-version="v3.3.0"
++version_number="v3.3.0"
Home |
Main Index |
Thread Index |
Old Index