notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
py-pyfakefs Implement a fake file system that mocks the Python file system modules
5.9.3 filesystems on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 5.9.2Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-11-07 19:52:55
Last Update: 2025-09-30 10:51:01
Commit Hash: 952e9eb
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.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found 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>)
  • py311: py311-pyfakefs
distinfo:
TIMESTAMP = 1757436531 SHA256 (pyfakefs-5.9.3.tar.gz) = b458b11abc8862d4d8500816170a9b25e10d07437332b9dffd651069f3d4c40c SIZE (pyfakefs-5.9.3.tar.gz) = 229964

Packages (timestamps in pop-ups are UTC):
py311-pyfakefs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.9.25.9.3-5.9.25.9.3n/an/an/a
FreeBSD:13:quarterly5.9.15.9.3-5.9.15.9.3n/an/an/a
FreeBSD:14:latest5.9.15.9.3-5.9.15.9.3---
FreeBSD:14:quarterly5.9.15.9.3-5.9.15.9.3---
FreeBSD:15:latest5.9.25.9.3n/a5.9.1n/an/a--
FreeBSD:15:quarterly-5.9.3n/a-n/an/a--
FreeBSD:16:latest-5.9.3n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=61.2 : devel/py-setuptools@py311
  2. py311-wheel>=0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-pytest-xdist>=0,1 : devel/py-pytest-xdist@py311
  2. py311-pytest>=7,1 : devel/py-pytest@py311
  3. python3.11 : lang/python311
Runtime dependencies:
  1. 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:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/pyfakefs/
  2. https://pypi.org/packages/source/p/pyfakefs/
Collapse this list.
Port Moves
  • port moved here from devel/py-pyfakefs on 2024-11-06
    REASON: Moved to new category filesystems

Number of commits found: 8

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.9.3
30 Sep 2025 10:51:01
commit hash: 952e9ebee97dd919eb839b508481ff52ff081a38commit hash: 952e9ebee97dd919eb839b508481ff52ff081a38commit hash: 952e9ebee97dd919eb839b508481ff52ff081a38commit hash: 952e9ebee97dd919eb839b508481ff52ff081a38 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
filesystems/py-pyfakefs: Update to 5.9.3

Changes:	https://github.com/pytest-dev/pyfakefs/releases
5.9.2
07 Sep 2025 23:04:01
commit hash: 2ac254a405eb37698eb653237e3275eb240d74bbcommit hash: 2ac254a405eb37698eb653237e3275eb240d74bbcommit hash: 2ac254a405eb37698eb653237e3275eb240d74bbcommit hash: 2ac254a405eb37698eb653237e3275eb240d74bb files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
filesystems/py-pyfakefs: Update to 5.9.2

Changes:	https://github.com/pytest-dev/pyfakefs/releases
5.9.1
29 Jun 2025 11:46:06
commit hash: 608eac2101a40bf0f30d2474c965fed77400d75bcommit hash: 608eac2101a40bf0f30d2474c965fed77400d75bcommit hash: 608eac2101a40bf0f30d2474c965fed77400d75bcommit hash: 608eac2101a40bf0f30d2474c965fed77400d75b files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
filesystems/py-pyfakefs: Update to 5.9.1

Changes:	https://github.com/pytest-dev/pyfakefs/releases
5.8.0
19 Mar 2025 03:39:26
commit hash: 65e365fa98c4f34ae91313ae18e67032e56ef3e7commit hash: 65e365fa98c4f34ae91313ae18e67032e56ef3e7commit hash: 65e365fa98c4f34ae91313ae18e67032e56ef3e7commit hash: 65e365fa98c4f34ae91313ae18e67032e56ef3e7 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
filesystems/py-pyfakefs: Update to 5.8.0

Changes:	https://github.com/pytest-dev/pyfakefs/releases
5.7.4
03 Feb 2025 15:51:25
commit hash: ada45d74fbb2393a14f850126e096a89b9f1a618commit hash: ada45d74fbb2393a14f850126e096a89b9f1a618commit hash: ada45d74fbb2393a14f850126e096a89b9f1a618commit hash: ada45d74fbb2393a14f850126e096a89b9f1a618 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
filesystems/py-pyfakefs: Update to 5.7.4

Changes:	https://github.com/pytest-dev/pyfakefs/releases
5.7.3
31 Dec 2024 15:49:40
commit hash: c63229834c031996f75e278d8234c8a915eeee6ccommit hash: c63229834c031996f75e278d8234c8a915eeee6ccommit hash: c63229834c031996f75e278d8234c8a915eeee6ccommit hash: c63229834c031996f75e278d8234c8a915eeee6c files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
filesystems/py-pyfakefs: Update to 5.7.3

Changes:	https://github.com/pytest-dev/pyfakefs/releases
5.7.2
25 Dec 2024 19:15:41
commit hash: 8c85c8603e5a0d0aa6635e1c523d53f615eaa69ccommit hash: 8c85c8603e5a0d0aa6635e1c523d53f615eaa69ccommit hash: 8c85c8603e5a0d0aa6635e1c523d53f615eaa69ccommit hash: 8c85c8603e5a0d0aa6635e1c523d53f615eaa69c files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
filesystems/py-pyfakefs: devel/py-pyfakefs: Update to 5.7.2

Changes:	https://github.com/pytest-dev/pyfakefs/releases
5.7.1
06 Nov 2024 15:17:35
commit hash: 6e2da9672f79f44048d597f0f61e4646cdeade9dcommit hash: 6e2da9672f79f44048d597f0f61e4646cdeade9dcommit hash: 6e2da9672f79f44048d597f0f61e4646cdeade9dcommit hash: 6e2da9672f79f44048d597f0f61e4646cdeade9d files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
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: 8