pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-approval-utilities
Module Name: pkgsrc
Committed By: schmonz
Date: Wed Oct 19 11:36:40 UTC 2022
Added Files:
pkgsrc/devel/py-approval-utilities: DESCR Makefile PLIST distinfo
pkgsrc/devel/py-approval-utilities/patches: patch-setup__utils.py
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-approval-utilities/DESCR \
pkgsrc/devel/py-approval-utilities/Makefile \
pkgsrc/devel/py-approval-utilities/PLIST \
pkgsrc/devel/py-approval-utilities/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/py-approval-utilities/patches/patch-setup__utils.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/py-approval-utilities/DESCR
diff -u /dev/null pkgsrc/devel/py-approval-utilities/DESCR:1.1
--- /dev/null Wed Oct 19 11:36:40 2022
+++ pkgsrc/devel/py-approval-utilities/DESCR Wed Oct 19 11:36:40 2022
@@ -0,0 +1,2 @@
+`approval-utilities` are utilities for your production code that work
+well with approvaltests.
Index: pkgsrc/devel/py-approval-utilities/Makefile
diff -u /dev/null pkgsrc/devel/py-approval-utilities/Makefile:1.1
--- /dev/null Wed Oct 19 11:36:40 2022
+++ pkgsrc/devel/py-approval-utilities/Makefile Wed Oct 19 11:36:40 2022
@@ -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"
Index: pkgsrc/devel/py-approval-utilities/PLIST
diff -u /dev/null pkgsrc/devel/py-approval-utilities/PLIST:1.1
--- /dev/null Wed Oct 19 11:36:40 2022
+++ pkgsrc/devel/py-approval-utilities/PLIST Wed Oct 19 11:36:40 2022
@@ -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
Index: pkgsrc/devel/py-approval-utilities/distinfo
diff -u /dev/null pkgsrc/devel/py-approval-utilities/distinfo:1.1
--- /dev/null Wed Oct 19 11:36:40 2022
+++ pkgsrc/devel/py-approval-utilities/distinfo Wed Oct 19 11:36:40 2022
@@ -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
Index: pkgsrc/devel/py-approval-utilities/patches/patch-setup__utils.py
diff -u /dev/null pkgsrc/devel/py-approval-utilities/patches/patch-setup__utils.py:1.1
--- /dev/null Wed Oct 19 11:36:40 2022
+++ pkgsrc/devel/py-approval-utilities/patches/patch-setup__utils.py Wed Oct 19 11:36:40 2022
@@ -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