Import py-typing-3.5.2.2.

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.

from rpe@, committing on his behalf
This commit is contained in:
ajacoutot 2016-08-23 12:53:23 +00:00
parent b7c386fb17
commit b20449edea
4 changed files with 34 additions and 0 deletions

21
devel/py-typing/Makefile Normal file
View File

@ -0,0 +1,21 @@
# $OpenBSD: Makefile,v 1.1.1.1 2016/08/23 12:53:23 ajacoutot Exp $
COMMENT = type hints for python
MODPY_EGG_VERSION = 3.5.2.2
DISTNAME = typing-${MODPY_EGG_VERSION}
PKGNAME = py-typing-${MODPY_EGG_VERSION}
CATEGORIES = devel
HOMEPAGE = https://pypi.python.org/pypi/typing/
# PSF
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_PI = Yes
NO_TEST = Yes
.include <bsd.port.mk>

2
devel/py-typing/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (typing-3.5.2.2.tar.gz) = K840KSZTr3EpY8h38whSUKM2c45k+ZBI0bhQm+vEdy8=
SIZE (typing-3.5.2.2.tar.gz) = 51101

View File

@ -0,0 +1,7 @@
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.

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/08/23 12:53:23 ajacoutot Exp $
lib/python${MODPY_VERSION}/site-packages/typing-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/typing.py
lib/python${MODPY_VERSION}/site-packages/typing.pyc