pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-approval-utilities Add py-approval-utilities,...
details: https://anonhg.NetBSD.org/pkgsrc/rev/94eecc6f5d50
branches: trunk
changeset: 386981:94eecc6f5d50
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Wed Oct 19 11:36:40 2022 +0000
description:
Add py-approval-utilities, utilities for your production code that work
well with (and have just been extracted to their own package from)
py-approvaltests.
diffstat:
devel/py-approval-utilities/DESCR | 2 +
devel/py-approval-utilities/Makefile | 23 ++++
devel/py-approval-utilities/PLIST | 83 +++++++++++++++
devel/py-approval-utilities/distinfo | 6 +
devel/py-approval-utilities/patches/patch-setup__utils.py | 15 ++
5 files changed, 129 insertions(+), 0 deletions(-)
diffs (149 lines):
diff -r e8356df703dd -r 94eecc6f5d50 devel/py-approval-utilities/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-approval-utilities/DESCR Wed Oct 19 11:36:40 2022 +0000
@@ -0,0 +1,2 @@
+`approval-utilities` are utilities for your production code that work
+well with approvaltests.
diff -r e8356df703dd -r 94eecc6f5d50 devel/py-approval-utilities/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-approval-utilities/Makefile Wed Oct 19 11:36:40 2022 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2022/10/19 11:36:40 schmonz Exp $
+
+DISTNAME= approval_utilities-7.2.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=a/approval_utilities/}
+
+MAINTAINER= schmonz%NetBSD.org@localhost
+HOMEPAGE= https://approvaltests.com/
+COMMENT= Utilities for your production code that work well with approvaltests
+LICENSE= apache-2.0
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+PYSETUP= setup.approval_utilities.py
+
+post-extract:
+ ${ECHO} "version_number = \"v${PKGVERSION_NOREV}\"" > ${WRKSRC}/approval_utilities/version.py
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e8356df703dd -r 94eecc6f5d50 devel/py-approval-utilities/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-approval-utilities/PLIST Wed Oct 19 11:36:40 2022 +0000
@@ -0,0 +1,83 @@
+@comment $NetBSD: PLIST,v 1.1 2022/10/19 11:36:40 schmonz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/approval_utilities/__init__.py
+${PYSITELIB}/approval_utilities/__init__.pyc
+${PYSITELIB}/approval_utilities/__init__.pyo
+${PYSITELIB}/approval_utilities/approvaltests/__init__.py
+${PYSITELIB}/approval_utilities/approvaltests/__init__.pyc
+${PYSITELIB}/approval_utilities/approvaltests/__init__.pyo
+${PYSITELIB}/approval_utilities/approvaltests/core/__init__.py
+${PYSITELIB}/approval_utilities/approvaltests/core/__init__.pyc
+${PYSITELIB}/approval_utilities/approvaltests/core/__init__.pyo
+${PYSITELIB}/approval_utilities/approvaltests/core/verifiable.py
+${PYSITELIB}/approval_utilities/approvaltests/core/verifiable.pyc
+${PYSITELIB}/approval_utilities/approvaltests/core/verifiable.pyo
+${PYSITELIB}/approval_utilities/approvaltests/core/verify_parameters.py
+${PYSITELIB}/approval_utilities/approvaltests/core/verify_parameters.pyc
+${PYSITELIB}/approval_utilities/approvaltests/core/verify_parameters.pyo
+${PYSITELIB}/approval_utilities/list_utils.py
+${PYSITELIB}/approval_utilities/list_utils.pyc
+${PYSITELIB}/approval_utilities/list_utils.pyo
+${PYSITELIB}/approval_utilities/utilities/__init__.py
+${PYSITELIB}/approval_utilities/utilities/__init__.pyc
+${PYSITELIB}/approval_utilities/utilities/__init__.pyo
+${PYSITELIB}/approval_utilities/utilities/clipboard_utilities.py
+${PYSITELIB}/approval_utilities/utilities/clipboard_utilities.pyc
+${PYSITELIB}/approval_utilities/utilities/clipboard_utilities.pyo
+${PYSITELIB}/approval_utilities/utilities/deprecated.py
+${PYSITELIB}/approval_utilities/utilities/deprecated.pyc
+${PYSITELIB}/approval_utilities/utilities/deprecated.pyo
+${PYSITELIB}/approval_utilities/utilities/exceptions/__init__.py
+${PYSITELIB}/approval_utilities/utilities/exceptions/__init__.pyc
+${PYSITELIB}/approval_utilities/utilities/exceptions/__init__.pyo
+${PYSITELIB}/approval_utilities/utilities/exceptions/exception_collector.py
+${PYSITELIB}/approval_utilities/utilities/exceptions/exception_collector.pyc
+${PYSITELIB}/approval_utilities/utilities/exceptions/exception_collector.pyo
+${PYSITELIB}/approval_utilities/utilities/exceptions/exception_utils.py
+${PYSITELIB}/approval_utilities/utilities/exceptions/exception_utils.pyc
+${PYSITELIB}/approval_utilities/utilities/exceptions/exception_utils.pyo
+${PYSITELIB}/approval_utilities/utilities/exceptions/multiple_exceptions.py
+${PYSITELIB}/approval_utilities/utilities/exceptions/multiple_exceptions.pyc
+${PYSITELIB}/approval_utilities/utilities/exceptions/multiple_exceptions.pyo
+${PYSITELIB}/approval_utilities/utilities/logger/__init__.py
+${PYSITELIB}/approval_utilities/utilities/logger/__init__.pyc
+${PYSITELIB}/approval_utilities/utilities/logger/__init__.pyo
+${PYSITELIB}/approval_utilities/utilities/logger/logging_instance.py
+${PYSITELIB}/approval_utilities/utilities/logger/logging_instance.pyc
+${PYSITELIB}/approval_utilities/utilities/logger/logging_instance.pyo
+${PYSITELIB}/approval_utilities/utilities/logger/simple_logger.py
+${PYSITELIB}/approval_utilities/utilities/logger/simple_logger.pyc
+${PYSITELIB}/approval_utilities/utilities/logger/simple_logger.pyo
+${PYSITELIB}/approval_utilities/utilities/map_reduce.py
+${PYSITELIB}/approval_utilities/utilities/map_reduce.pyc
+${PYSITELIB}/approval_utilities/utilities/map_reduce.pyo
+${PYSITELIB}/approval_utilities/utilities/markdown_table.py
+${PYSITELIB}/approval_utilities/utilities/markdown_table.pyc
+${PYSITELIB}/approval_utilities/utilities/markdown_table.pyo
+${PYSITELIB}/approval_utilities/utilities/multiline_string_utils.py
+${PYSITELIB}/approval_utilities/utilities/multiline_string_utils.pyc
+${PYSITELIB}/approval_utilities/utilities/multiline_string_utils.pyo
+${PYSITELIB}/approval_utilities/utilities/os_utilities.py
+${PYSITELIB}/approval_utilities/utilities/os_utilities.pyc
+${PYSITELIB}/approval_utilities/utilities/os_utilities.pyo
+${PYSITELIB}/approval_utilities/utilities/stack_frame_utilities.py
+${PYSITELIB}/approval_utilities/utilities/stack_frame_utilities.pyc
+${PYSITELIB}/approval_utilities/utilities/stack_frame_utilities.pyo
+${PYSITELIB}/approval_utilities/utilities/string_wrapper.py
+${PYSITELIB}/approval_utilities/utilities/string_wrapper.pyc
+${PYSITELIB}/approval_utilities/utilities/string_wrapper.pyo
+${PYSITELIB}/approval_utilities/utilities/time_utilities.py
+${PYSITELIB}/approval_utilities/utilities/time_utilities.pyc
+${PYSITELIB}/approval_utilities/utilities/time_utilities.pyo
+${PYSITELIB}/approval_utilities/utilities/wrapper.py
+${PYSITELIB}/approval_utilities/utilities/wrapper.pyc
+${PYSITELIB}/approval_utilities/utilities/wrapper.pyo
+${PYSITELIB}/approval_utilities/utils.py
+${PYSITELIB}/approval_utilities/utils.pyc
+${PYSITELIB}/approval_utilities/utils.pyo
+${PYSITELIB}/approval_utilities/version.py
+${PYSITELIB}/approval_utilities/version.pyc
+${PYSITELIB}/approval_utilities/version.pyo
diff -r e8356df703dd -r 94eecc6f5d50 devel/py-approval-utilities/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-approval-utilities/distinfo Wed Oct 19 11:36:40 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/10/19 11:36:40 schmonz Exp $
+
+BLAKE2s (approval_utilities-7.2.0.tar.gz) = 1afe88919ab586d1cd16623e83aba58c307e861aec7611e9664bde29687c55f2
+SHA512 (approval_utilities-7.2.0.tar.gz) = 9eb54b828736c1cfcebd1fea210addd9919821d7cae88f710f68da0ceba430382bc515fdc85814ed117f3b4febf264cc5dc26f52556ef5ddd49c62f62d1e83dd
+Size (approval_utilities-7.2.0.tar.gz) = 16148 bytes
+SHA1 (patch-setup__utils.py) = e33a5fc5d203d7c29883e9afc296ec699343e9e3
diff -r e8356df703dd -r 94eecc6f5d50 devel/py-approval-utilities/patches/patch-setup__utils.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-approval-utilities/patches/patch-setup__utils.py Wed Oct 19 11:36:40 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup__utils.py,v 1.1 2022/10/19 11:36:40 schmonz Exp $
+
+Find this code's version, now that it's been extracted out of approvaltests.
+
+--- setup_utils.py.orig 2022-10-16 20:31:10.000000000 +0000
++++ setup_utils.py
+@@ -11,7 +11,7 @@ def get_parent_directory():
+
+ def get_version():
+ _version_file_contents = (
+- get_parent_directory() / "approvaltests" / "version.py"
++ get_parent_directory() / "approval_utilities" / "version.py"
+ ).read_text()
+ matched = re.search(r'"(.*)"', _version_file_contents)
+ return matched.group(1) if matched is not None else "UNKNOWN VERSION"
Home |
Main Index |
Thread Index |
Old Index