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-eval-type-backport Like typing._eval_type, but lets older Python versions use newer typing features
0.3.0 devel 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 0.2.2Version 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: 2025-11-29 23:24:15
Commit Hash: 5028940
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 py311-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 py311-eval-type-backport listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-eval-type-backport
Package flavors (<flavor>: <package>)
  • py311: py311-eval-type-backport
distinfo:
TIMESTAMP = 1763853308 SHA256 (eval_type_backport-0.3.0.tar.gz) = 1638210401e184ff17f877e9a2fa076b60b5838790f4532a21761cc2be67aea1 SIZE (eval_type_backport-0.3.0.tar.gz) = 9272

Packages (timestamps in pop-ups are UTC):
py311-eval-type-backport
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.2.20.2.2-0.2.20.2.2n/an/an/a
FreeBSD:13:quarterly0.2.20.2.2-0.2.20.2.2n/an/an/a
FreeBSD:14:latest0.2.20.2.2-0.2.20.2.2---
FreeBSD:14:quarterly0.2.20.2.2-0.2.20.2.2---
FreeBSD:15:latest0.2.20.2.2n/a0.2.2n/an/a--
FreeBSD:15:quarterly0.2.20.2.2n/a-n/an/a--
FreeBSD:16:latest0.2.20.2.2n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=0 : devel/py-setuptools@py311
  2. py311-setuptools-scm>=0 : devel/py-setuptools-scm@py311
  3. py311-wheel>=0 : devel/py-wheel@py311
  4. python3.11 : lang/python311
  5. py311-build>=0 : devel/py-build@py311
  6. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
There are no ports dependent upon this port

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: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 2