Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
py-eval-type-backport Like typing._eval_type, but lets older Python versions use newer typing features
0.4.0 devel Σ=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 0.4.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
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.
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.
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): #
py311-eval-type-backport
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---0.2.2-
FreeBSD:14:quarterly---0.2.2-
FreeBSD:15:latest--n/a0.2.2n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 

py312-eval-type-backport
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.4.00.4.0--0.4.0
FreeBSD:14:quarterly0.4.00.4.0--0.4.0
FreeBSD:15:latest0.4.00.4.0n/a-n/a
FreeBSD:15:quarterly0.4.00.4.0n/a-n/a
FreeBSD:16:latest0.4.00.4.0n/a-n/a
 

Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-setuptools>=0 : devel/py-setuptools@py312
  2. py312-setuptools-scm>=0 : devel/py-setuptools-scm@py312
  3. py312-wheel>=0 : devel/py-wheel@py312
  4. python3.12 : lang/python312
  5. py312-build>=0 : devel/py-build@py312
  6. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. python3.12 : lang/python312
Runtime dependencies: #
  1. python3.12 : lang/python312
This port is required by: #
for Run #
  1. 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: #
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/e/eval_type_backport/
  2. https://pypi.org/packages/source/e/eval_type_backport/
Collapse this list.

Number of commits found: 4 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.4.0
08 Jul 2026 13:31:26
commit hash: 3f6efd2caeb64d8d9c720a49a0c957d534267a3dcommit hash: 3f6efd2caeb64d8d9c720a49a0c957d534267a3dcommit hash: 3f6efd2caeb64d8d9c720a49a0c957d534267a3dcommit hash: 3f6efd2caeb64d8d9c720a49a0c957d534267a3d files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: f90ccfeda123ff95e1eb34e3b91b5f3e929490facommit hash: f90ccfeda123ff95e1eb34e3b91b5f3e929490facommit hash: f90ccfeda123ff95e1eb34e3b91b5f3e929490facommit hash: f90ccfeda123ff95e1eb34e3b91b5f3e929490fa files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 50289407f54392cfcc4a5002127e281e2da3353ccommit hash: 50289407f54392cfcc4a5002127e281e2da3353ccommit hash: 50289407f54392cfcc4a5002127e281e2da3353ccommit hash: 50289407f54392cfcc4a5002127e281e2da3353c files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 72e50977a616490b7fe634ef32a7a19bd35cd62dcommit hash: 72e50977a616490b7fe634ef32a7a19bd35cd62dcommit hash: 72e50977a616490b7fe634ef32a7a19bd35cd62dcommit hash: 72e50977a616490b7fe634ef32a7a19bd35cd62d files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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.

Number of commits found: 4