pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-fakefs
Module Name: pkgsrc
Committed By: adam
Date: Sat Dec 2 08:20:04 UTC 2023
Modified Files:
pkgsrc/devel/py-fakefs: Makefile PLIST distinfo
Log Message:
py-fakefs: updated to 5.3.2
Version 5.3.2
Bugfix release.
Fixes
* fixed a problem with patching `_io` under Python 3.12
* fixed a problem with accessing the temp path if emulating Linux under Windows
* fixed result of `os.walk` with a path-like top directory
* properly fixed the problem that filesystem patching was still active in the pytest
logreport phase, the previous fix was incomplete
Version 5.3.1
Mostly a bugfix release.
Changes
* changed behavior of `add_real_directory` to be able to map a real directory
to an existing directory in the fake filesystem
Fixes
* fixes the problem that filesystem patching was still active in the pytest
logreport phase
* Restores compatibility with PyTorch 2.0 and above, as well as with other
classes that have custom __setattr__ methods
Version 5.3.0
Adds official support for Python 3.12.
Changes
* add official support for Python 3.12
Fixes
* removed a leftover debug print statement
* make sure tests work without HOME environment set
* automount drive or UNC path under Windows if needed for `pathlib.Path.mkdir()`
* adapt patching `io.open` and `io.open_code` to work with Python 3.12
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-fakefs/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-fakefs/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-fakefs/distinfo
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-fakefs/Makefile
diff -u pkgsrc/devel/py-fakefs/Makefile:1.9 pkgsrc/devel/py-fakefs/Makefile:1.10
--- pkgsrc/devel/py-fakefs/Makefile:1.9 Thu May 12 07:40:38 2022
+++ pkgsrc/devel/py-fakefs/Makefile Sat Dec 2 08:20:04 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2022/05/12 07:40:38 adam Exp $
+# $NetBSD: Makefile,v 1.10 2023/12/02 08:20:04 adam Exp $
-DISTNAME= pyfakefs-4.5.6
+DISTNAME= pyfakefs-5.3.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyfakefs/}
@@ -10,9 +10,14 @@ HOMEPAGE= https://github.com/jmcgeheeiv/
COMMENT= Fake file system that mocks the Python file system modules
LICENSE= apache-2.0
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
-.include "../../lang/python/egg.mk"
+TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
+
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-fakefs/PLIST
diff -u pkgsrc/devel/py-fakefs/PLIST:1.4 pkgsrc/devel/py-fakefs/PLIST:1.5
--- pkgsrc/devel/py-fakefs/PLIST:1.4 Thu May 12 07:40:38 2022
+++ pkgsrc/devel/py-fakefs/PLIST Sat Dec 2 08:20:04 2023
@@ -1,21 +1,22 @@
-@comment $NetBSD: PLIST,v 1.4 2022/05/12 07:40:38 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.5 2023/12/02 08:20:04 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/COPYING
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/pyfakefs/__init__.py
${PYSITELIB}/pyfakefs/__init__.pyc
${PYSITELIB}/pyfakefs/__init__.pyo
${PYSITELIB}/pyfakefs/_version.py
${PYSITELIB}/pyfakefs/_version.pyc
${PYSITELIB}/pyfakefs/_version.pyo
-${PYSITELIB}/pyfakefs/deprecator.py
-${PYSITELIB}/pyfakefs/deprecator.pyc
-${PYSITELIB}/pyfakefs/deprecator.pyo
${PYSITELIB}/pyfakefs/extra_packages.py
${PYSITELIB}/pyfakefs/extra_packages.pyc
${PYSITELIB}/pyfakefs/extra_packages.pyo
+${PYSITELIB}/pyfakefs/fake_file.py
+${PYSITELIB}/pyfakefs/fake_file.pyc
+${PYSITELIB}/pyfakefs/fake_file.pyo
${PYSITELIB}/pyfakefs/fake_filesystem.py
${PYSITELIB}/pyfakefs/fake_filesystem.pyc
${PYSITELIB}/pyfakefs/fake_filesystem.pyo
@@ -25,6 +26,18 @@ ${PYSITELIB}/pyfakefs/fake_filesystem_sh
${PYSITELIB}/pyfakefs/fake_filesystem_unittest.py
${PYSITELIB}/pyfakefs/fake_filesystem_unittest.pyc
${PYSITELIB}/pyfakefs/fake_filesystem_unittest.pyo
+${PYSITELIB}/pyfakefs/fake_io.py
+${PYSITELIB}/pyfakefs/fake_io.pyc
+${PYSITELIB}/pyfakefs/fake_io.pyo
+${PYSITELIB}/pyfakefs/fake_open.py
+${PYSITELIB}/pyfakefs/fake_open.pyc
+${PYSITELIB}/pyfakefs/fake_open.pyo
+${PYSITELIB}/pyfakefs/fake_os.py
+${PYSITELIB}/pyfakefs/fake_os.pyc
+${PYSITELIB}/pyfakefs/fake_os.pyo
+${PYSITELIB}/pyfakefs/fake_path.py
+${PYSITELIB}/pyfakefs/fake_path.pyc
+${PYSITELIB}/pyfakefs/fake_path.pyo
${PYSITELIB}/pyfakefs/fake_pathlib.py
${PYSITELIB}/pyfakefs/fake_pathlib.pyc
${PYSITELIB}/pyfakefs/fake_pathlib.pyo
@@ -40,6 +53,7 @@ ${PYSITELIB}/pyfakefs/mox3_stubout.pyo
${PYSITELIB}/pyfakefs/patched_packages.py
${PYSITELIB}/pyfakefs/patched_packages.pyc
${PYSITELIB}/pyfakefs/patched_packages.pyo
+${PYSITELIB}/pyfakefs/py.typed
${PYSITELIB}/pyfakefs/pytest_plugin.py
${PYSITELIB}/pyfakefs/pytest_plugin.pyc
${PYSITELIB}/pyfakefs/pytest_plugin.pyo
@@ -52,6 +66,9 @@ ${PYSITELIB}/pyfakefs/pytest_tests/conft
${PYSITELIB}/pyfakefs/pytest_tests/example.py
${PYSITELIB}/pyfakefs/pytest_tests/example.pyc
${PYSITELIB}/pyfakefs/pytest_tests/example.pyo
+${PYSITELIB}/pyfakefs/pytest_tests/io.py
+${PYSITELIB}/pyfakefs/pytest_tests/io.pyc
+${PYSITELIB}/pyfakefs/pytest_tests/io.pyo
${PYSITELIB}/pyfakefs/pytest_tests/pytest_check_failed_plugin_test.py
${PYSITELIB}/pyfakefs/pytest_tests/pytest_check_failed_plugin_test.pyc
${PYSITELIB}/pyfakefs/pytest_tests/pytest_check_failed_plugin_test.pyo
@@ -64,6 +81,9 @@ ${PYSITELIB}/pyfakefs/pytest_tests/pytes
${PYSITELIB}/pyfakefs/pytest_tests/pytest_fixture_test.py
${PYSITELIB}/pyfakefs/pytest_tests/pytest_fixture_test.pyc
${PYSITELIB}/pyfakefs/pytest_tests/pytest_fixture_test.pyo
+${PYSITELIB}/pyfakefs/pytest_tests/pytest_module_fixture_test.py
+${PYSITELIB}/pyfakefs/pytest_tests/pytest_module_fixture_test.pyc
+${PYSITELIB}/pyfakefs/pytest_tests/pytest_module_fixture_test.pyo
${PYSITELIB}/pyfakefs/pytest_tests/pytest_plugin_failing_helper.py
${PYSITELIB}/pyfakefs/pytest_tests/pytest_plugin_failing_helper.pyc
${PYSITELIB}/pyfakefs/pytest_tests/pytest_plugin_failing_helper.pyo
Index: pkgsrc/devel/py-fakefs/distinfo
diff -u pkgsrc/devel/py-fakefs/distinfo:1.10 pkgsrc/devel/py-fakefs/distinfo:1.11
--- pkgsrc/devel/py-fakefs/distinfo:1.10 Thu May 12 07:40:38 2022
+++ pkgsrc/devel/py-fakefs/distinfo Sat Dec 2 08:20:04 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2022/05/12 07:40:38 adam Exp $
+$NetBSD: distinfo,v 1.11 2023/12/02 08:20:04 adam Exp $
-BLAKE2s (pyfakefs-4.5.6.tar.gz) = ff31230d7b9a151b106c95aa58b2710b224f70df9862f870a4002503b94141ef
-SHA512 (pyfakefs-4.5.6.tar.gz) = f02e86067ac4cfe0fcf2aa6e768944766a39c3e2b146aa4bd024bd3d9a99cc4600487258b50cc8aa695054f1fac500d85fda6ba66e0edfc606ef5868a32bd346
-Size (pyfakefs-4.5.6.tar.gz) = 213070 bytes
+BLAKE2s (pyfakefs-5.3.2.tar.gz) = 7e4b8f012255bc6453447618a2daf5edd9fc4a4ae88af8f10270948ff75483ed
+SHA512 (pyfakefs-5.3.2.tar.gz) = 200dfd756c5c73dffed28ce5e20da4941f13c473fd300740a8f13a9de91ec9f2946f570413ea43de444fb9150cf875a29460e1ad791aaab09541b31f7c170785
+Size (pyfakefs-5.3.2.tar.gz) = 193855 bytes
Home |
Main Index |
Thread Index |
Old Index