Port details |
- py-pyfakefs Implement a fake file system that mocks the Python file system modules
- 5.8.0 filesystems
=0 5.8.0Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2024-11-07 19:52:55
- Last Update: 2025-03-19 03:39:26
- Commit Hash: 65e365f
- Also Listed In: devel python
- License: APACHE20
- WWW:
- https://pytest-pyfakefs.readthedocs.io/en/stable/
- https://github.com/jmcgeheeiv/pyfakefs
- Description:
- pyfakefs implements a fake file system that mocks the Python file system
modules. Using pyfakefs, your tests operate on a fake file system in memory
without touching the real disk. The software under test requires no modification
to work with pyfakefs.
Pyfakefs creates a new empty in-memory file system at each test start, which
replaces the real filesystem during the test. Think of pyfakefs as making a
per-test temporary directory, except for an entire file system.
There are several means to achieve this: by using the fs fixture if running
pytest, by using fake_filesystem_unittest.TestCase as a base class if using
unittest, by using a fake_filesystem_unittest.Patcher instance as a context
manager, or by using the patchfs decorator.
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}pyfakefs>0:filesystems/py-pyfakefs@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/filesystems/py-pyfakefs/ && make install clean
- To add the package, run one of these commands:
- pkg install filesystems/py-pyfakefs
- pkg install py311-pyfakefs
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-pyfakefs listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-pyfakefs
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1742070434
SHA256 (pyfakefs-5.8.0.tar.gz) = 7e5457ee3cc67069d3cef6e278227ecfc80bfb61e925bc0a4d3b0af32d1c99ce
SIZE (pyfakefs-5.8.0.tar.gz) = 215072
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>=0 : devel/py-setuptools@py311
- py311-wheel>=0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-undefined>=0 : devel/py-undefined@py311
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- filesystems_py-pyfakefs
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Port Moves |
- port moved here from devel/py-pyfakefs on 2024-11-06
REASON: Moved to new category filesystems
|
Number of commits found: 5
Number of commits found: 5
|