Date: Thu, 17 Jan 2019 19:20:50 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490583 - in head/devel: . py-typing-extensions Message-ID: <201901171920.x0HJKoNo005777@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Jan 17 19:20:50 2019 New Revision: 490583 URL: https://svnweb.freebsd.org/changeset/ports/490583 Log: Add py-typing-extensions 3.7.2 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. WWW: https://github.com/python/typing/tree/master/typing_extensions Added: head/devel/py-typing-extensions/ head/devel/py-typing-extensions/Makefile (contents, props changed) head/devel/py-typing-extensions/distinfo (contents, props changed) head/devel/py-typing-extensions/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Jan 17 18:54:29 2019 (r490582) +++ head/devel/Makefile Thu Jan 17 19:20:50 2019 (r490583) @@ -5143,6 +5143,7 @@ SUBDIR += py-typechecks SUBDIR += py-typed-ast SUBDIR += py-typing + SUBDIR += py-typing-extensions SUBDIR += py-tzlocal SUBDIR += py-u-msgpack-python SUBDIR += py-ua_parser Added: head/devel/py-typing-extensions/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-typing-extensions/Makefile Thu Jan 17 19:20:50 2019 (r490583) @@ -0,0 +1,28 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= typing-extensions +PORTVERSION= 3.7.2 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= typing_extensions-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Backported and Experimental Type Hints for Python 3.5+ + +LICENSE= PSFL +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:-3.6 +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3500 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing>=3.6.2:devel/py-typing@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> Added: head/devel/py-typing-extensions/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-typing-extensions/distinfo Thu Jan 17 19:20:50 2019 (r490583) @@ -0,0 +1,3 @@ +TIMESTAMP = 1547723286 +SHA256 (typing_extensions-3.7.2.tar.gz) = fb2cd053238d33a8ec939190f30cfd736c00653a85a2919415cecf7dc3d9da71 +SIZE (typing_extensions-3.7.2.tar.gz) = 34042 Added: head/devel/py-typing-extensions/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-typing-extensions/pkg-descr Thu Jan 17 19:20:50 2019 (r490583) @@ -0,0 +1,11 @@ +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. + +WWW: https://github.com/python/typing/tree/master/typing_extensions
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901171920.x0HJKoNo005777>