git: 88de32269ee9 - main - devel/py-types-setuptools: Add py-types-setuptools 67.4.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 19:23:57 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=88de32269ee966dbd837517d2dec628e8949a4a7
commit 88de32269ee966dbd837517d2dec628e8949a4a7
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:35:16 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:19:53 +0000
devel/py-types-setuptools: Add py-types-setuptools 67.4.0.0
This is a PEP 561 type stub package for the setuptools package. It can be used
by type-checking tools like mypy, pyright, pytype, PyCharm, etc. to check code
that uses setuptools.
---
devel/Makefile | 1 +
devel/py-types-setuptools/Makefile | 20 ++++++++++++++++++++
devel/py-types-setuptools/distinfo | 3 +++
devel/py-types-setuptools/pkg-descr | 3 +++
4 files changed, 27 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 0061c96f7bb8..4b4ee30c2c5e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5563,6 +5563,7 @@
SUBDIR += py-types-psutil
SUBDIR += py-types-psycopg2
SUBDIR += py-types-requests
+ SUBDIR += py-types-setuptools
SUBDIR += py-types-toml
SUBDIR += py-types-typed-ast
SUBDIR += py-types-urllib3
diff --git a/devel/py-types-setuptools/Makefile b/devel/py-types-setuptools/Makefile
new file mode 100644
index 000000000000..c63a45f735f2
--- /dev/null
+++ b/devel/py-types-setuptools/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= types-setuptools
+PORTVERSION= 67.4.0.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Typing stubs for setuptools
+WWW= https://github.com/python/typeshed/tree/main/stubs/setuptools
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}types-docutils>=0:devel/py-types-docutils@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-types-setuptools/distinfo b/devel/py-types-setuptools/distinfo
new file mode 100644
index 000000000000..0e03f33513b0
--- /dev/null
+++ b/devel/py-types-setuptools/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1677770941
+SHA256 (types-setuptools-67.4.0.0.tar.gz) = ea461c79193e53814c1f544654ad19f976a3efc8b5a7dd5571bcd2906361d9f3
+SIZE (types-setuptools-67.4.0.0.tar.gz) = 27496
diff --git a/devel/py-types-setuptools/pkg-descr b/devel/py-types-setuptools/pkg-descr
new file mode 100644
index 000000000000..c7603f923a2e
--- /dev/null
+++ b/devel/py-types-setuptools/pkg-descr
@@ -0,0 +1,3 @@
+This is a PEP 561 type stub package for the setuptools package. It can be used
+by type-checking tools like mypy, pyright, pytype, PyCharm, etc. to check code
+that uses setuptools.