git: 208bb4fd3d5a - main - devel/py-yaspin: Update to 2.2.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 Aug 2022 10:32:27 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=208bb4fd3d5a02f7c02d2edd3b4a1948c5d51705

commit 208bb4fd3d5a02f7c02d2edd3b4a1948c5d51705
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-27 10:24:36 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-27 10:24:36 +0000

    devel/py-yaspin: Update to 2.2.0
    
    Changes:        https://github.com/pavdmyt/yaspin/releases
---
 devel/py-yaspin/Makefile             |  6 +++---
 devel/py-yaspin/distinfo             |  6 +++---
 devel/py-yaspin/files/patch-setup.py | 11 +++++++++++
 3 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/devel/py-yaspin/Makefile b/devel/py-yaspin/Makefile
index 0e52dab2ae46..694918384657 100644
--- a/devel/py-yaspin/Makefile
+++ b/devel/py-yaspin/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	yaspin
-PORTVERSION=	2.1.0
+PORTVERSION=	2.2.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,9 +10,9 @@ COMMENT=	Yet Another Terminal Spinner
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0<2.0.0:devel/py-termcolor@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}termcolor-whl>=1.1.2:devel/py-termcolor-whl@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils pytest
 
 NO_ARCH=	yes
diff --git a/devel/py-yaspin/distinfo b/devel/py-yaspin/distinfo
index 4af7a8f1e643..221aacab7752 100644
--- a/devel/py-yaspin/distinfo
+++ b/devel/py-yaspin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1632037170
-SHA256 (yaspin-2.1.0.tar.gz) = c8d34eca9fda3f4dfbe59f57f3cf0f3641af3eefbf1544fbeb9b3bacf82c580a
-SIZE (yaspin-2.1.0.tar.gz) = 34471
+TIMESTAMP = 1660576826
+SHA256 (yaspin-2.2.0.tar.gz) = febdf35f3e0e45845dc2caa79a18780f9ec7a85a37a9a2c0389b314ba82d8912
+SIZE (yaspin-2.2.0.tar.gz) = 35071
diff --git a/devel/py-yaspin/files/patch-setup.py b/devel/py-yaspin/files/patch-setup.py
new file mode 100644
index 000000000000..3650d65f5f8d
--- /dev/null
+++ b/devel/py-yaspin/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2022-08-05 08:44:34 UTC
++++ setup.py
+@@ -8,7 +8,7 @@ package_data = \
+ {'': ['*'], 'yaspin': ['data/*']}
+ 
+ install_requires = \
+-['termcolor-whl==1.1.2']
++['termcolor-whl>=1.1.2']
+ 
+ setup_kwargs = {
+     'name': 'yaspin',