summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2023-05-09 11:20:53 +0100
committerMatthew Seaman <matthew@FreeBSD.org>2023-05-09 14:31:39 +0100
commit69cad9173580cb0da2f2120a83bc8aeebda70359 (patch)
treef334a871b6f70b4887dea82cb3631e51592af8c8
parentdevel/onetbb: Update to 2021.9.0 (diff)
devel/py-types-jsonschema: New port
This is a PEP 561 type stub package for the jsonschema package. It can be used by type-checking tools like mypy, pyright, pytype, PyCharm, etc. to check code that uses jsonschema.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-types-jsonschema/Makefile17
-rw-r--r--devel/py-types-jsonschema/distinfo3
-rw-r--r--devel/py-types-jsonschema/pkg-descr3
4 files changed, 24 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 8d1646f72fdd..6061384dc095 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5620,6 +5620,7 @@
SUBDIR += py-types-cryptography
SUBDIR += py-types-docutils
SUBDIR += py-types-futures
+ SUBDIR += py-types-jsonschema
SUBDIR += py-types-mock
SUBDIR += py-types-protobuf
SUBDIR += py-types-psutil
diff --git a/devel/py-types-jsonschema/Makefile b/devel/py-types-jsonschema/Makefile
new file mode 100644
index 000000000000..3d1493182ad7
--- /dev/null
+++ b/devel/py-types-jsonschema/Makefile
@@ -0,0 +1,17 @@
+PORTNAME= types-jsonschema
+PORTVERSION= 4.17.0.7
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= matthew@FreeBSD.org
+COMMENT= Typing stubs for jsonschema
+WWW= https://pypi.org/project/types-jsonschema/
+
+LICENSE= APACHE20
+
+USES= python:3.7+
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-types-jsonschema/distinfo b/devel/py-types-jsonschema/distinfo
new file mode 100644
index 000000000000..28fd9f42a43d
--- /dev/null
+++ b/devel/py-types-jsonschema/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1683626963
+SHA256 (types-jsonschema-4.17.0.7.tar.gz) = 130e57c5f1ca755f95775d0822ad7a3907294e1461306af54baf804f317fd54c
+SIZE (types-jsonschema-4.17.0.7.tar.gz) = 8419
diff --git a/devel/py-types-jsonschema/pkg-descr b/devel/py-types-jsonschema/pkg-descr
new file mode 100644
index 000000000000..3a27d129efcc
--- /dev/null
+++ b/devel/py-types-jsonschema/pkg-descr
@@ -0,0 +1,3 @@
+This is a PEP 561 type stub package for the jsonschema package. It can
+be used by type-checking tools like mypy, pyright, pytype, PyCharm,
+etc. to check code that uses jsonschema.