aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-06-06 22:58:34 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-06-07 00:38:48 +0000
commitb702b927e881505e3ad38f225cb552a1dd01e5f8 (patch)
treea9b7e67d4cfaf646f5dc14c45c556e3ba442e2e8
parente93a47c4845a4353a36f2bd4e444acca5c36c5ef (diff)
www/py-botocore-stubs: New port: Type annotations for botocore
-rw-r--r--www/Makefile1
-rw-r--r--www/py-botocore-stubs/Makefile19
-rw-r--r--www/py-botocore-stubs/distinfo3
-rw-r--r--www/py-botocore-stubs/pkg-descr4
4 files changed, 27 insertions, 0 deletions
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