git: aa26d554d94d - main - devel/py-types-toml: Add py-types-toml 0.10.7

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 09 Jun 2022 23:19:26 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aa26d554d94d7cc13fe4660c918a18119d92d1f1

commit aa26d554d94d7cc13fe4660c918a18119d92d1f1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 23:09:38 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 23:16:00 +0000

    devel/py-types-toml: Add py-types-toml 0.10.7
    
    This is a PEP 561 type stub package for the toml package. It can be used by
    type-checking tools like mypy, PyCharm, pytype etc. to check code that uses
    toml.
    
    WWW: https://github.com/python/typeshed/tree/master/stubs/toml
---
 devel/Makefile                |  1 +
 devel/py-types-toml/Makefile  | 19 +++++++++++++++++++
 devel/py-types-toml/distinfo  |  3 +++
 devel/py-types-toml/pkg-descr |  5 +++++
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index d1bc6c427e69..d2d6b4771d85 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5417,6 +5417,7 @@
     SUBDIR += py-types-psycopg2
     SUBDIR += py-types-requests
     SUBDIR += py-types-termcolor
+    SUBDIR += py-types-toml
     SUBDIR += py-types-typed-ast
     SUBDIR += py-types-urllib3
     SUBDIR += py-types-xxhash
diff --git a/devel/py-types-toml/Makefile b/devel/py-types-toml/Makefile
new file mode 100644
index 000000000000..756c5556c9b5
--- /dev/null
+++ b/devel/py-types-toml/Makefile
@@ -0,0 +1,19 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	types-toml
+PORTVERSION=	0.10.7
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Typing stubs for toml
+
+LICENSE=	APACHE20
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-types-toml/distinfo b/devel/py-types-toml/distinfo
new file mode 100644
index 000000000000..545387c20cc9
--- /dev/null
+++ b/devel/py-types-toml/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1654774044
+SHA256 (types-toml-0.10.7.tar.gz) = a567fe2614b177d537ad99a661adc9bfc8c55a46f95e66370a4ed2dd171335f9
+SIZE (types-toml-0.10.7.tar.gz) = 3639
diff --git a/devel/py-types-toml/pkg-descr b/devel/py-types-toml/pkg-descr
new file mode 100644
index 000000000000..fd00b587e15e
--- /dev/null
+++ b/devel/py-types-toml/pkg-descr
@@ -0,0 +1,5 @@
+This is a PEP 561 type stub package for the toml package. It can be used by
+type-checking tools like mypy, PyCharm, pytype etc. to check code that uses
+toml.
+
+WWW: https://github.com/python/typeshed/tree/master/stubs/toml