git: 51623a88a7f9 - main - devel/py-types-termcolor: add port: Typing stubs for termcolor
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Apr 2022 20:24:35 UTC
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=51623a88a7f9415cd6883c3a729e18821d3f0082
commit 51623a88a7f9415cd6883c3a729e18821d3f0082
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-14 16:27:59 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-14 20:23:37 +0000
devel/py-types-termcolor: add port: Typing stubs for termcolor
This is a PEP 561 type stub package for the `termcolor` package.
It can be used by type-checking tools like mypy, PyCharm, pytype
etc. to check code that uses `termcolor`.
WWW: https://pypi.org/project/types-termcolor/
---
devel/Makefile | 1 +
devel/py-types-termcolor/Makefile | 16 ++++++++++++++++
devel/py-types-termcolor/distinfo | 3 +++
devel/py-types-termcolor/pkg-descr | 5 +++++
4 files changed, 25 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index d2dc111158cd..52b7cde2a30b 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5350,6 +5350,7 @@
SUBDIR += py-types-protobuf
SUBDIR += py-types-psycopg2
SUBDIR += py-types-requests
+ SUBDIR += py-types-termcolor
SUBDIR += py-types-urllib3
SUBDIR += py-types-xxhash
SUBDIR += py-typing-extensions
diff --git a/devel/py-types-termcolor/Makefile b/devel/py-types-termcolor/Makefile
new file mode 100644
index 000000000000..c02ca0128de5
--- /dev/null
+++ b/devel/py-types-termcolor/Makefile
@@ -0,0 +1,16 @@
+PORTNAME= types-termcolor
+PORTVERSION= 1.1.3
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= amdmi3@FreeBSD.org
+COMMENT= Typing stubs for termcolor
+
+LICENSE= APACHE20
+
+USES= python
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-types-termcolor/distinfo b/devel/py-types-termcolor/distinfo
new file mode 100644
index 000000000000..6d08cf59779a
--- /dev/null
+++ b/devel/py-types-termcolor/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1649953563
+SHA256 (types-termcolor-1.1.3.tar.gz) = b97d20d5c649431bac4ab75f9a9718113f11cbdbc0dd1faac61ae54ac93df77b
+SIZE (types-termcolor-1.1.3.tar.gz) = 1750
diff --git a/devel/py-types-termcolor/pkg-descr b/devel/py-types-termcolor/pkg-descr
new file mode 100644
index 000000000000..61f33e939c4d
--- /dev/null
+++ b/devel/py-types-termcolor/pkg-descr
@@ -0,0 +1,5 @@
+This is a PEP 561 type stub package for the `termcolor` package.
+It can be used by type-checking tools like mypy, PyCharm, pytype
+etc. to check code that uses `termcolor`.
+
+WWW: https://pypi.org/project/types-termcolor/