summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-10-09 23:19:08 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-10-09 23:37:43 +0800
commitc6ced3c16a2a438fe4307b72b1eed5afb826fc6c (patch)
treeb2174695a38f5164900fecd694fa1ae2922240c6
parentdevel/py-geventhttpclient: Add py-geventhttpclient 2.0.2 (diff)
devel/py-types-psutil: Add py-types-psutil 5.9.5.1
This is a PEP 561 type stub package for the psutil package. It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code that uses psutil.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-types-psutil/Makefile18
-rw-r--r--devel/py-types-psutil/distinfo3
-rw-r--r--devel/py-types-psutil/pkg-descr3
4 files changed, 25 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index ce75868ae15d..d49ed6e7e811 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5445,6 +5445,7 @@
SUBDIR += py-types-futures
SUBDIR += py-types-mock
SUBDIR += py-types-protobuf
+ SUBDIR += py-types-psutil
SUBDIR += py-types-psycopg2
SUBDIR += py-types-requests
SUBDIR += py-types-termcolor
diff --git a/devel/py-types-psutil/Makefile b/devel/py-types-psutil/Makefile
new file mode 100644
index 000000000000..32aa065a8e16
--- /dev/null
+++ b/devel/py-types-psutil/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= types-psutil
+PORTVERSION= 5.9.5.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Typing stubs for psutil
+WWW= https://github.com/python/typeshed/tree/master/stubs/psutil
+
+LICENSE= APACHE20
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-types-psutil/distinfo b/devel/py-types-psutil/distinfo
new file mode 100644
index 000000000000..fb7633bfec78
--- /dev/null
+++ b/devel/py-types-psutil/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1665073072
+SHA256 (types-psutil-5.9.5.1.tar.gz) = d1a157fd132aa34be544fa9e09dc5c37b92c9d3a2917bce9c564354f50e71ffb
+SIZE (types-psutil-5.9.5.1.tar.gz) = 11016
diff --git a/devel/py-types-psutil/pkg-descr b/devel/py-types-psutil/pkg-descr
new file mode 100644
index 000000000000..7a8abb0f6477
--- /dev/null
+++ b/devel/py-types-psutil/pkg-descr
@@ -0,0 +1,3 @@
+This is a PEP 561 type stub package for the psutil package. It can be used by
+type-checking tools like mypy, PyCharm, pytype etc. to check code that uses
+psutil.