| Port details |
- py-inline-snapshot Create and update inline snapshots in your Python code
- 0.31.1 devel
=0 0.20.8Version of this port present on the latest quarterly branch. - Maintainer: kai@FreeBSD.org
 - Port Added: 2024-12-29 10:15:08
- Last Update: 2025-11-13 06:40:13
- Commit Hash: 3f2c9a5
- 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.
¦ ¦ ¦ ¦ 
- 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}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 = 1762929446
SHA256 (inline_snapshot-0.31.1.tar.gz) = 4ea5ed70aa1d652713bbfd750606b94bd8a42483f7d3680433b3e92994495f64
SIZE (inline_snapshot-0.31.1.tar.gz) = 2606338
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-hatchling>0 : devel/py-hatchling@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-hypothesis>=6.75.5 : devel/py-hypothesis@py311
- py311-mypy>=1.2.0 : devel/py-mypy@py311
- py311-pydantic2>=1 : devel/py-pydantic2@py311
- py311-pyright>=1.1.359 : devel/py-pyright@py311
- py311-pytest-freezer>=0.4.9 : devel/py-pytest-freezer@py311
- py311-pytest-subtests>=0.11.0 : devel/py-pytest-subtests@py311
- py311-pytest-xdist>=3.6.1,1 : devel/py-pytest-xdist@py311
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-asttokens>=2.0.5 : devel/py-asttokens@py311
- py311-executing>=2.2.0 : devel/py-executing@py311
- py311-pytest>=8.3.4 : devel/py-pytest@py311
- py311-rich>=13.7.1 : textproc/py-rich@py311
- py311-black>=23.3.0 : devel/py-black@py311
- py311-dirty-equals>=0.9.0 : devel/py-dirty-equals@py311
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for py311-inline-snapshot-0.31.1:
BLACK=on: Format generated code with Black
DIRTY-EQUALS=on: Support for normalization of data that changes frequently
===> Use 'make config' to modify these settings
- Options name:
- devel_py-inline-snapshot
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 4
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
0.31.1 13 Nov 2025 06:40:13
    |
Kai Knoblich (kai)  |
devel/py-inline-snapshot: Update to 0.31.1
Changelog since 0.20.8:
https://github.com/15r10nk/inline-snapshot/blob/0.31.1/CHANGELOG.md |
0.20.8 04 Aug 2025 15:22:13
    |
Dmitry Marakasov (amdmi3)  |
devel/py-inline-snapshot: enable testing (some tests fail though)
Approved by: portmgr blanket |
0.20.8 22 Mar 2025 16:11:35
    |
Kai Knoblich (kai)  |
devel/py-inline-snapshot: Update to 0.20.8
* Add default options BLACK and DIRTY-EQUALS to reflect the settings as
noted in "pyproject.toml".
Changelog since 0.18.1:
https://github.com/15r10nk/inline-snapshot/blob/0.20.8/CHANGELOG.md |
0.18.1 29 Dec 2024 10:12:41
    |
Kai Knoblich (kai)  |
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: 4
|