devel/py-typing-extensions 4.16.0 OpenBSD
backported type hints for python >= 3.5
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- Renaud Allard <[email protected]>
- Last update
- Commit
b2a25b332f- Categories
- devel, lang/python
Description
This was originally a backport of the standard library 'typing' module to Python versions older than 3.5.
Typing defines a standard notation for Python function and variable type annotations. The notation can be used for documenting code in a concise, standard format, and it has been designed to also be used by static and runtime type checkers, static analyzers, IDEs and other tools.
Today, 'typing_extensions' serves two related purposes:
- Enable use of new type system features on older Python versions. For example, 'typing.TypeGuard' is new in Python 3.10, but 'typing_extensions' allows users on Python 3.6 through 3.9 to use it too.
- Enable experimentation with new type system PEPs before they are accepted and added to the 'typing' module.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/py-typing-extensions | 4.16.0 |
| FreeBSD | devel/py-typing-extensions | 4.16.0 |
| NetBSD | devel/py-typing-extensions | 4.16.0 |
| DragonFly | devel/py-typing-extensions | 4.12.2 |
| MidnightBSD | devel/py-typing-extensions | 4.15.0_1 |
| HardenedBSD | devel/py-typing-extensions | 4.16.0 |
| GhostBSD | devel/py-typing-extensions | 4.16.0 |
| OPNsense | devel/py-typing-extensions | 4.15.0 |
Install
Binary package:
pkg_add py3-typing_extensions
From the ports tree:
cd /usr/ports/devel/py-typing-extensions && make install
Dependencies
Build dependencies 4
Run dependencies 1
Required by 47
- audio/beets
- audio/py-speechrecognition
- cad/freecad
- comms/zigpy/py-zigpy
- databases/py-alembic
- databases/py-limits
- databases/py-shillelagh
- databases/py-sqlalchemy
- devel/py-aiostream
- devel/py-application_properties
- devel/py-cattrs
- devel/py-docstring-to-markdown
- devel/py-mypy
- devel/py-openai
- devel/py-pydantic
- devel/py-pydantic-compat
- devel/py-pydantic-core
- devel/py-pygithub
- devel/py-pytest-factoryboy
- devel/py-rx
- devel/py-setuptools-rust
- devel/py-twisted
- devel/py-typeguard
- devel/py-typing-inspection
- devel/py-urwid
- devel/pylint
- geo/py-geoif
- geo/py-planet
- geo/pygeoapi
- math/py-tables
- net/py-anyio
- net/py-grpcio
- net/py-ripe.atlas.cousteau
- net/py-ripe.atlas.tools
- net/synapse
- security/mitmproxy
- security/py-asyncssh
- security/wapiti
- textproc/py-docx
- textproc/pymarkdownlnt
- www/py-beautifulsoup4
- www/py-bokeh
- www/py-fastapi
- www/py-flask-limiter
- www/py-openapi-core
- www/py-treq
- x11/py-superqt