BSD Ports

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

SystemPortVersion
OpenBSDdevel/py-typing-extensions4.16.0
FreeBSDdevel/py-typing-extensions4.16.0
NetBSDdevel/py-typing-extensions4.16.0
DragonFlydevel/py-typing-extensions4.12.2
MidnightBSDdevel/py-typing-extensions4.15.0_1
HardenedBSDdevel/py-typing-extensions4.16.0
GhostBSDdevel/py-typing-extensions4.16.0
OPNsensedevel/py-typing-extensions4.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

Commit history 1

DateCommitCreditsLog message
b2a25b332f renaud update to 4.16.0
OK sthen@