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
Port details
py-inline-snapshot Create and update inline snapshots in your Python code
0.18.1 develnew! 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 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: kai@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-12-29 10:15:08
Last Update: 2024-12-29 10:12:41
Commit Hash: ce756b6
Also Listed In: python
License: MIT
WWW:
https://github.com/15r10nk/inline-snapshot
Description:
Golden master/snapshot/approval testing library which puts the values right into your source code. Key Features: * Intuitive Semantics: snapshot(x) mirrors x for easy understanding. * Versatile Comparison Support: Equipped with x == snapshot(...), x <= snapshot(...), x in snapshot(...), and snapshot(...)[key]. * Enhanced Control Flags: Utilize various flags for precise control of which snapshots you want to change. * Preserved Black Formatting: Retains formatting consistency with Black formatting. * External File Storage: Store snapshots externally using outsource(data). * Seamless Pytest Integration: Integrated seamlessly with pytest for effortless testing. * Customizable: code generation can be customized with @customize_repr * Nested Snapshot Support: snapshots can contain other snapshots * Fuzzy Matching: Incorporate dirty-equals for flexible comparisons within snapshots. * Dynamic Snapshot Content: snapshots can contain non-constant values * Comprehensive Documentation: Access detailed documentation for complete guidance.
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}inline-snapshot>0:devel/py-inline-snapshot@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-inline-snapshot/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-inline-snapshot
  • pkg install py311-inline-snapshot
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-inline-snapshot listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-inline-snapshot
Package flavors (<flavor>: <package>)
  • py311: py311-inline-snapshot
distinfo:
TIMESTAMP = 1735384985 SHA256 (inline_snapshot-0.18.1.tar.gz) = a93bcf0aec68edf27323fa8dfc902354ef9a730050ab8939a4b174419828db6b SIZE (inline_snapshot-0.18.1.tar.gz) = 225403

Packages (timestamps in pop-ups are UTC):
py311-inline-snapshot
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-0.18.1--0.18.1---
FreeBSD:13:quarterly--------
FreeBSD:14:latest-0.18.1--0.18.1---
FreeBSD:14:quarterly--------
FreeBSD:15:latest-0.18.1n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-hatchling>0 : devel/py-hatchling@py311
  2. python3.11 : lang/python311
  3. py311-build>=0 : devel/py-build@py311
  4. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-asttokens>=2.0.5 : devel/py-asttokens@py311
  2. py311-black>=23.3.0 : devel/py-black@py311
  3. py311-click>=8.1.4 : devel/py-click@py311
  4. py311-executing>=2.1.0 : devel/py-executing@py311
  5. py311-rich>=13.7.1 : textproc/py-rich@py311
  6. py311-typing-extensions>0 : devel/py-typing-extensions@py311
  7. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_py-inline-snapshot
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/i/inline_snapshot/
  2. https://pypi.org/packages/source/i/inline_snapshot/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.18.1
29 Dec 2024 10:12:41
commit hash: ce756b6b20fa779624604ab7812bacea63b8b186commit hash: ce756b6b20fa779624604ab7812bacea63b8b186commit hash: ce756b6b20fa779624604ab7812bacea63b8b186commit hash: ce756b6b20fa779624604ab7812bacea63b8b186 files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
devel/py-inline-snapshot: New port

Golden master/snapshot/approval testing library which puts the values
right into your source code.

Key Features:

* Intuitive Semantics: snapshot(x) mirrors x for easy understanding.
* Versatile Comparison Support: Equipped with x == snapshot(...),
  x <= snapshot(...), x in snapshot(...), and snapshot(...)[key].
* Enhanced Control Flags: Utilize various flags for precise control of
  which snapshots you want to change.
* Preserved Black Formatting: Retains formatting consistency with Black
  formatting.
* External File Storage: Store snapshots externally using
  outsource(data).
* Seamless Pytest Integration: Integrated seamlessly with pytest for
  effortless testing.
* Customizable: code generation can be customized with @customize_repr
* Nested Snapshot Support: snapshots can contain other snapshots
* Fuzzy Matching: Incorporate dirty-equals for flexible comparisons
  within snapshots.
* Dynamic Snapshot Content: snapshots can contain non-constant values
* Comprehensive Documentation: Access detailed documentation for
  complete guidance.

Number of commits found: 1