git: fd0ac53ca4a5 - main - devel/py-types-mock: Add py-types-mock 4.0.11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Mar 2022 18:15:59 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fd0ac53ca4a55253b71ef4a5ce9d6eb2379d8608
commit fd0ac53ca4a55253b71ef4a5ce9d6eb2379d8608
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-07 17:46:42 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-07 18:10:51 +0000
devel/py-types-mock: Add py-types-mock 4.0.11
This is a PEP 561 type stub package for the mock package. It can be used by
type-checking tools like mypy, PyCharm, pytype etc. to check code that uses
mock.
WWW: https://github.com/python/typeshed/tree/master/stubs/mock
---
devel/Makefile | 1 +
devel/py-types-mock/Makefile | 19 +++++++++++++++++++
devel/py-types-mock/distinfo | 3 +++
devel/py-types-mock/pkg-descr | 5 +++++
4 files changed, 28 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 918fd1ddcab7..67ad9475e846 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5344,6 +5344,7 @@
SUBDIR += py-types-click
SUBDIR += py-types-docutils
SUBDIR += py-types-futures
+ SUBDIR += py-types-mock
SUBDIR += py-types-protobuf
SUBDIR += py-types-psycopg2
SUBDIR += py-types-requests
diff --git a/devel/py-types-mock/Makefile b/devel/py-types-mock/Makefile
new file mode 100644
index 000000000000..403a6e6fc263
--- /dev/null
+++ b/devel/py-types-mock/Makefile
@@ -0,0 +1,19 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= types-mock
+PORTVERSION= 4.0.11
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Typing stubs for mock
+
+LICENSE= APACHE20
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-types-mock/distinfo b/devel/py-types-mock/distinfo
new file mode 100644
index 000000000000..bd5a40fbcc60
--- /dev/null
+++ b/devel/py-types-mock/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1646057850
+SHA256 (types-mock-4.0.11.tar.gz) = 1d87d4d9d4dfda7bf77029b60f79fe0aef75d5d519169dccb742f8446213dcbd
+SIZE (types-mock-4.0.11.tar.gz) = 4311
diff --git a/devel/py-types-mock/pkg-descr b/devel/py-types-mock/pkg-descr
new file mode 100644
index 000000000000..d4987e104632
--- /dev/null
+++ b/devel/py-types-mock/pkg-descr
@@ -0,0 +1,5 @@
+This is a PEP 561 type stub package for the mock package. It can be used by
+type-checking tools like mypy, PyCharm, pytype etc. to check code that uses
+mock.
+
+WWW: https://github.com/python/typeshed/tree/master/stubs/mock