diff --git a/MOVED b/MOVED index 3b0515e49d7a..5a9b912cfdae 100644 --- a/MOVED +++ b/MOVED @@ -16011,5 +16011,4 @@ devel/py-backports.functools_lru_cache||2020-01-02|Uses Python 2.7 which is EOLe devel/py-backports_abc||2020-01-02|Uses Python 2.7 which is EOLed upstream devel/py-futures||2020-01-02|Uses Python 2.7 which is EOLed upstream devel/py-singledispatch||2020-01-02|Uses Python 2.7 which is EOLed upstream -devel/py-typing||2020-01-02|Python 2 only, backport of Python 3 graphics/py-pillow6|graphics/pillow|2020-01-02|Uses Python 2.7 which is EOLed upstream diff --git a/devel/Makefile b/devel/Makefile index eb5b9874f9e6..546e932c73d2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5125,6 +5125,7 @@ SUBDIR += py-txaio SUBDIR += py-typechecks SUBDIR += py-typed-ast + SUBDIR += py-typing SUBDIR += py-typing-extensions SUBDIR += py-typing-inspect SUBDIR += py-tzlocal diff --git a/devel/py-typing/Makefile b/devel/py-typing/Makefile new file mode 100644 index 000000000000..8038990a705d --- /dev/null +++ b/devel/py-typing/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= typing +PORTVERSION= 3.7.4.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rm@FreeBSD.org +COMMENT= Type Hints for Python + +LICENSE= PSFL +LICENSE_FILE= ${WRKSRC}/LICENSE + +DEPRECATED= Python 2 only, backport of Python 3 +EXPIRATION_DATE= 2020-12-31 + +USES= python:2.7 +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-typing/distinfo b/devel/py-typing/distinfo new file mode 100644 index 000000000000..3c152f961ff8 --- /dev/null +++ b/devel/py-typing/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1582223012 +SHA256 (typing-3.7.4.1.tar.gz) = 91dfe6f3f706ee8cc32d38edbbf304e9b7583fb37108fef38229617f8b3eba23 +SIZE (typing-3.7.4.1.tar.gz) = 77982 diff --git a/devel/py-typing/pkg-descr b/devel/py-typing/pkg-descr new file mode 100644 index 000000000000..bd205715df0f --- /dev/null +++ b/devel/py-typing/pkg-descr @@ -0,0 +1,8 @@ +This is 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. + +WWW: https://pypi.org/project/typing/