notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
Port details
py-time-machine Travel through time in your Python tests
2.11.0 devel 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 2.11.0Version of this port present on the latest quarterly branch.
Maintainer: nivit@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-06-17 08:21:30
Last Update: 2023-07-18 00:53:09
Commit Hash: 9a80a6e
Also Listed In: python
License: MIT
WWW:
https://github.com/adamchainz/time-machine
Description:
time-machine is intended to combine the advantages of freezegun and libfaketime Python modules. It works without LD_PRELOAD but still mocks the standard library functions everywhere they may be referenced. It does so by modifying the built-in functions at the C level, to point them through wrappers that return different values when mocking. Normally in Python, built-in functions are immutable, but time-machine overcomes this by using C code to replace their function pointers.
Homepage    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.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}time-machine>0:devel/py-time-machine@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-time-machine/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-time-machine
  • pkg install py39-time-machine
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-time-machine listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-time-machine
Package flavors (<flavor>: <package>)
  • py39: py39-time-machine
distinfo:
TIMESTAMP = 1689239888 SHA256 (time_machine-2.11.0.tar.gz) = 6c08a0f9ef8b53ca8b69c0be3f9ddb85a587a784fc239b74c35e6c47bf359515 SIZE (time_machine-2.11.0.tar.gz) = 23913

Packages (timestamps in pop-ups are UTC):
py39-time-machine
ABIlatestquarterly
FreeBSD:12:aarch64-2.11.0
FreeBSD:12:amd642.11.02.11.0
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3862.11.02.11.0
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch642.11.02.11.0
FreeBSD:13:amd642.11.02.11.0
FreeBSD:13:armv6-2.10.0
FreeBSD:13:armv72.11.02.11.0
FreeBSD:13:i3862.11.02.11.0
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64-2.11.0
FreeBSD:13:riscv64--
FreeBSD:14:aarch642.11.02.11.0
FreeBSD:14:amd642.11.02.11.0
FreeBSD:14:armv6--
FreeBSD:14:armv72.11.02.11.0
FreeBSD:14:i3862.11.02.11.0
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64-2.11.0
FreeBSD:14:riscv64--
FreeBSD:15:aarch642.11.0-
FreeBSD:15:amd642.11.0-
FreeBSD:15:armv6--
FreeBSD:15:armv72.11.0-
FreeBSD:15:i3862.11.0-
FreeBSD:15:mips64--
FreeBSD:15:powerpc642.11.0-
FreeBSD:15:riscv64--
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>0 : devel/py-setuptools@py39
  2. py39-wheel>=0.40.0 : devel/py-wheel@py39
  3. python3.9 : lang/python39
  4. py39-build>=0 : devel/py-build@py39
  5. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-dateutil>=2.8.2 : devel/py-dateutil@py39
  2. py39-six>=1.5 : devel/py-six@py39
  3. python3.9 : lang/python39
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_py-time-machine
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/t/time_machine/
  2. https://pypi.org/packages/source/t/time_machine/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.11.0
18 Jul 2023 00:53:09
commit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0acommit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0acommit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0acommit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0a files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}

Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.

With hat: python
PR: 270510, 270358
2.11.0
13 Jul 2023 09:25:36
commit hash: 9b5538c590bbc0c88adea0c0bb8bf00d44a16b9bcommit hash: 9b5538c590bbc0c88adea0c0bb8bf00d44a16b9bcommit hash: 9b5538c590bbc0c88adea0c0bb8bf00d44a16b9bcommit hash: 9b5538c590bbc0c88adea0c0bb8bf00d44a16b9b files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
devel/py-time-machine: Update to 2.11.0

Reported by:	portscout
2.10.0
17 Jun 2023 08:19:46
commit hash: aadc486bfec59c7d720d107f6758a4684c834236commit hash: aadc486bfec59c7d720d107f6758a4684c834236commit hash: aadc486bfec59c7d720d107f6758a4684c834236commit hash: aadc486bfec59c7d720d107f6758a4684c834236 files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
devel/py-time-machine: Add new port

time-machine, is intended to combine the advantages of freezegun and
libfaketime Python modules. It works without LD_PRELOAD but still mocks
the standard library functions everywhere they may be referenced.
It does so by modifying the built-in functions at the C level, to point
them through wrappers that return different values when mocking.
Normally in Python, built-in functions are immutable, but
time-machine overcomes this by using C code to replace their function
pointers.

https://github.com/adamchainz/time-machine

Number of commits found: 3