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

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details
py-eval-type-backport Like typing._eval_type, but lets older Python versions use newer typing features
0.2.2 develnew! 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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-05-18 03:39:36
Last Update: 2025-05-18 03:14:42
Commit Hash: 72e5097
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.
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 = 1745936006 SHA256 (eval_type_backport-0.2.2.tar.gz) = f0576b4cf01ebb5bd358d02314d31846af5e07678387486e2c798af0e7d849c1 SIZE (eval_type_backport-0.2.2.tar.gz) = 9079

Packages (timestamps in pop-ups are UTC):
py311-eval-type-backport
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.2.20.2.2--0.2.2---
FreeBSD:13:quarterly--------
FreeBSD:14:latest-0.2.2--0.2.2---
FreeBSD:14:quarterly--------
FreeBSD:15:latest-0.2.2n/a-n/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: 1

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