pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-typing: Import py-typing-3.5.2.2 as wip/py-typing



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Tue Oct 18 10:57:39 2016 +0200
Changeset:	29c0fdb886c8d370ea0d73af170ea147009dc86a

Modified Files:
	Makefile
Added Files:
	py-typing/DESCR
	py-typing/Makefile
	py-typing/PLIST
	py-typing/distinfo

Log Message:
py-typing: Import py-typing-3.5.2.2 as wip/py-typing

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.

This is a backport of the standard library typing module to Python
versions older than 3.5.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=29c0fdb886c8d370ea0d73af170ea147009dc86a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile           |  1 +
 py-typing/DESCR    |  8 ++++++++
 py-typing/Makefile | 18 ++++++++++++++++++
 py-typing/PLIST    |  5 +++++
 py-typing/distinfo |  6 ++++++
 5 files changed, 38 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index cced4d2..c1ac7c2 100644
--- a/Makefile
+++ b/Makefile
@@ -3522,6 +3522,7 @@ SUBDIR+=	py-txWS
 SUBDIR+=	py-txZMQ
 SUBDIR+=	py-txdbus
 SUBDIR+=	py-typedecorator
+SUBDIR+=	py-typing
 SUBDIR+=	py-ufl
 SUBDIR+=	py-umalqurra
 SUBDIR+=	py-uncertainties
diff --git a/py-typing/DESCR b/py-typing/DESCR
new file mode 100644
index 0000000..a63e28e
--- /dev/null
+++ b/py-typing/DESCR
@@ -0,0 +1,8 @@
+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.
+
+This is a backport of the standard library typing module to Python
+versions older than 3.5.
diff --git a/py-typing/Makefile b/py-typing/Makefile
new file mode 100644
index 0000000..1755806
--- /dev/null
+++ b/py-typing/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	typing-3.5.2.2
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_PYPI:=t/typing/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://docs.python.org/3.5/library/typing.html
+COMMENT=	Type Hints for Python
+LICENSE=	python-software-foundation
+
+USE_LANGUAGES=	# none
+
+PYTHON_VERSIONS_ACCEPTED=	34 27	# in stdlib for >=35
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-typing/PLIST b/py-typing/PLIST
new file mode 100644
index 0000000..0000dde
--- /dev/null
+++ b/py-typing/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/typing.py
+${PYSITELIB}/typing.pyc
+${PYSITELIB}/typing.pyo
diff --git a/py-typing/distinfo b/py-typing/distinfo
new file mode 100644
index 0000000..7c55ee1
--- /dev/null
+++ b/py-typing/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (typing-3.5.2.2.tar.gz) = 6efc50968e594bd75aee0c1c956d157c67865c33
+RMD160 (typing-3.5.2.2.tar.gz) = 8bd175ae415b89da4edc2d9ffc2dada1a2bb8a2a
+SHA512 (typing-3.5.2.2.tar.gz) = 38d8899cf7ccfc86299ea59a234a80a7938ff9e78d84a9593befd163959ee90af3201dfd495e172904bc6423919b338bee470d166e9c41d9697662c27ed2fbc8
+Size (typing-3.5.2.2.tar.gz) = 51101 bytes


Home | Main Index | Thread Index | Old Index