This commit is contained in:
2023-03-12 21:19:08 +02:00
parent 03557b463a
commit 56b18d31aa
339 changed files with 16782 additions and 918 deletions

View File

@@ -0,0 +1,20 @@
PORTNAME= typing-extensions
PORTVERSION= 4.4.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= typing_extensions-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Backported and Experimental Type Hints for Python 3.5+
WWW= https://github.com/python/typing_extensions
USES= python:3.7+
USE_PYTHON= allflavors autoplist concurrent pep517
PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel
PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.4<4:python/py-flit-core@${PY_FLAVOR}
NO_ARCH= yes
.include <bsd.port.mk>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1665330642
SHA256 (typing_extensions-4.4.0.tar.gz) = 1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa
SIZE (typing_extensions-4.4.0.tar.gz) = 49708

View File

@@ -0,0 +1,9 @@
The typing module was added to the standard library in Python 3.5 on a
provisional basis and will no longer be provisional in Python 3.7. However, this
means users of Python 3.5 - 3.6 who are unable to upgrade will not be able to
take advantage of new types added to the typing module, such as typing.Text or
typing.Coroutine.
The typing_extensions module contains both backports of these changes as well as
experimental types that will eventually be added to the typing module, such as
Protocol.