| Port details |
- py-eval-type-backport Like typing._eval_type, but lets older Python versions use newer typing features
- 0.4.0 devel
=0 0.3.1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2025-05-18 03:39:36
- Last Update: 2026-07-08 13:31:26
- Commit Hash: 3f6efd2
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/alexmojaki/eval_type_backport
- Description:
- 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.
¦ ¦ ¦ ¦ 
- 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}eval-type-backport>0:devel/py-eval-type-backport@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-eval-type-backport/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-eval-type-backport
- pkg install py312-eval-type-backport
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 py312-eval-type-backport listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py312-eval-type-backport
- Package flavors (<flavor>: <package>)
- py312: py312-eval-type-backport
- distinfo:
- TIMESTAMP = 1782966342
SHA256 (eval_type_backport-0.4.0.tar.gz) = 8397d25e6524c2e67b9576bb0636be27dea2192017711220c534ec2de921e9b0
SIZE (eval_type_backport-0.4.0.tar.gz) = 10260
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:
-
- py312-setuptools>=0 : devel/py-setuptools@py312
- py312-setuptools-scm>=0 : devel/py-setuptools-scm@py312
- py312-wheel>=0 : devel/py-wheel@py312
- python3.12 : lang/python312
- py312-build>=0 : devel/py-build@py312
- py312-installer>=0 : devel/py-installer@py312
- Test dependencies:
-
- python3.12 : lang/python312
- Runtime dependencies:
-
- python3.12 : lang/python312
- This port is required by:
- for Run
-
- misc/py-llama-index-core
Configuration Options:
- No options to configure
- Options name:
- devel_py-eval-type-backport
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
0.4.0 08 Jul 2026 13:31:26
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-eval-type-backport: Update to 0.4.0
Changes: https://github.com/alexmojaki/eval_type_backport/commits/main |
0.3.1 09 Dec 2025 11:21:17
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-eval-type-backport: Update to 0.3.1
Changes: https://github.com/alexmojaki/eval_type_backport/commits/main |
0.3.0 29 Nov 2025 23:24:15
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-eval-type-backport: Update to 0.3.0
Changes: https://github.com/alexmojaki/eval_type_backport/commits/main |
0.2.2 18 May 2025 03:14:42
    |
Po-Chuan Hsieh (sunpoet)  |
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. |