git: b702b927e881 - main - www/py-botocore-stubs: New port: Type annotations for botocore

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 07 Jun 2022 00:39:00 UTC
The branch main has been updated by yuri:

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

commit b702b927e881505e3ad38f225cb552a1dd01e5f8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-06-06 22:58:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-06-07 00:38:48 +0000

    www/py-botocore-stubs: New port: Type annotations for botocore
---
 www/Makefile                    |  1 +
 www/py-botocore-stubs/Makefile  | 19 +++++++++++++++++++
 www/py-botocore-stubs/distinfo  |  3 +++
 www/py-botocore-stubs/pkg-descr |  4 ++++
 4 files changed, 27 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index fcd5261224db..d177b443c0f0 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1441,6 +1441,7 @@
     SUBDIR += py-bleach
     SUBDIR += py-bokeh
     SUBDIR += py-boto3
+    SUBDIR += py-botocore-stubs
     SUBDIR += py-bottle
     SUBDIR += py-bottle-cork
     SUBDIR += py-branca
diff --git a/www/py-botocore-stubs/Makefile b/www/py-botocore-stubs/Makefile
new file mode 100644
index 000000000000..8cef1ed7a448
--- /dev/null
+++ b/www/py-botocore-stubs/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	botocore-stubs
+DISTVERSION=	1.27.3
+CATEGORIES=	www python devel
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Type annotations for botocore
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1.0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-botocore-stubs/distinfo b/www/py-botocore-stubs/distinfo
new file mode 100644
index 000000000000..d2561ec886f9
--- /dev/null
+++ b/www/py-botocore-stubs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1654555082
+SHA256 (botocore-stubs-1.27.3.tar.gz) = 11a11758bf643edd42809da5803582c2429a85a9d7b09af6605363ed54a34048
+SIZE (botocore-stubs-1.27.3.tar.gz) = 33091
diff --git a/www/py-botocore-stubs/pkg-descr b/www/py-botocore-stubs/pkg-descr
new file mode 100644
index 000000000000..4c60b6cb8d89
--- /dev/null
+++ b/www/py-botocore-stubs/pkg-descr
@@ -0,0 +1,4 @@
+Type annotations for botocore 1.27.3 compatible with VSCode, PyCharm,
+Emacs, Sublime Text, mypy, pyright and other tools.
+
+WWW: https://github.com/youtype/mypy_boto3_builder