Port details |
- py-pyfakefs Implement a fake file system that mocks the Python file system modules
- 5.4.1 devel =0 Package not present on quarterly.This is expected early in the quarter (because the new packaage repo has not been built yet.). Otherwise, this missing version is most likely a FreshPorts error.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2024-03-31 03:42:09
- Last Update: 2024-04-13 11:57:25
- Commit Hash: fa07343
- Also Listed In: 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:devel/py-pyfakefs@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-pyfakefs/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-pyfakefs
- pkg install py39-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 py39-pyfakefs listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-pyfakefs
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1713001136
SHA256 (pyfakefs-5.4.1.tar.gz) = 20cb51e860c2f3ff83859162ad5134bb8b0a1e7a81df0a18cfccc4862d0d9dcc
SIZE (pyfakefs-5.4.1.tar.gz) = 203319
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:
-
- py39-setuptools>=0 : devel/py-setuptools@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- py39-undefined>=0 : devel/py-undefined@py39
- py39-pytest>=7,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-pyfakefs
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
5.4.1 13 Apr 2024 11:57:25 |
Po-Chuan Hsieh (sunpoet) |
devel/py-pyfakefs: Update to 5.4.1
Changes: https://github.com/pytest-dev/pyfakefs/releases |
5.4.0 08 Apr 2024 20:17:27 |
Po-Chuan Hsieh (sunpoet) |
devel/py-pyfakefs: Update to 5.4.0
Changes: https://github.com/pytest-dev/pyfakefs/releases |
5.3.5 31 Mar 2024 03:05:06 |
Po-Chuan Hsieh (sunpoet) |
devel/py-pyfakefs: Add py-pyfakefs 5.3.5
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. |