Port details |
- py-pyfakefs Implement a fake file system that mocks the Python file system modules
- 5.7.1 filesystems
=0 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2024-11-07 19:52:55
- Last Update: 2024-11-06 15:17:35
- Commit Hash: 6e2da96
- 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 = 1729509154
SHA256 (pyfakefs-5.7.1.tar.gz) = 24774c632f3b67ea26fd56b08115ba7c339d5cd65655410bca8572d73a1ae9a4
SIZE (pyfakefs-5.7.1.tar.gz) = 211163
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: 1
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
5.7.1 06 Nov 2024 15:17:35 |
Robert Clausecker (fuz) |
filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities.
It is added mainly to turn the sysutils/fusefs-* pseudo-category into
a proper one, but is also useful for the sundry of other file systems
related ports found in the tree.
Ports that seem like they belong there are moved to the new category.
Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are
not moved as they currently don't fetch and don't have TIMESTAMP set
in their distinfo, but that is required to be able to push a rename
of the port by the pre-receive hook.
Approved by: portmgr (rene)
Reviewed by: mat
Pull Request: https://github.com/freebsd/freebsd-ports/pull/302
PR: 281988 |
Number of commits found: 1
|