devel/py-eval-type-backport: Update to 0.4.0 Changes: https://github.com/alexmojaki/eval_type_backport/commits/main3f6efd2cae
Port details
devel/py-eval-type-backport 0.4.0
Like typing._eval_type, but lets older Python versions use newer typing features
Port info
- Maintainer
- sunpoet@FreeBSD.org
- Packages
- latest: 0.4.0
- Upstream
- up to date
- Last update
- to 0.4.0 · 3f6efd2cae
- Quarterly
- 2026Q4: 0.4.0
- WWW
- https://github.com/alexmojaki/eval_type_backport
- Links
- cgit · VuXML · Report wrong data
Install
- Package
# pkg install py312-eval-type-backportinstalls 0.4.0 fromlatest; fromquarterly(2026Q4) 0.4.0- Port
# cd /usr/ports/devel/py-eval-type-backport && make install clean- Size
- 12 KiB download · 40 KiB installed
- Depends on
- lang/python312 3.12.15
- License
- MIT
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 0.4.0 | 0.4.0 | – |
| FreeBSD 15 | 0.4.0 | 0.4.0 | – |
| FreeBSD 14 | 0.4.0 | 0.4.0 | 0.4.0 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 0.4.0 | 0.4.0 | – |
| FreeBSD 14 | 0.4.0 | 0.4.0 | 0.4.0 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 0.4.0.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (4)
devel/py-eval-type-backport: Update to 0.3.1 Changes: https://github.com/alexmojaki/eval_type_backport/commits/mainf90ccfeda1
devel/py-eval-type-backport: Update to 0.3.0 Changes: https://github.com/alexmojaki/eval_type_backport/commits/main50289407f5
devel/py-eval-type-backport: Add py-eval-type-backport 0.2.2 eval_type_backport is a tiny package providing a replacement for typing._eval_type to support newer typing features in older Python versions. Yes, that's very specific, and yes, typing._eval_type is a protected function that you shouldn't normally be using. Really this package is specifically made for pydantic/pydantic#7873. Specifically, this transforms X | Y into typing.Union[X, Y] and list[X] into typing.List[X] etc. (for all the types made generic in PEP 585) if the original syntax is not supported in the current Python version.72e50977a6