git: 3467f445d70b - main - devel/py-termcolor: update 1.1.0 → 2.1.0, enable testing

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Fri, 11 Nov 2022 18:07:23 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3467f445d70bde9cc2c3f816e079fed220d2b59f

commit 3467f445d70bde9cc2c3f816e079fed220d2b59f
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-11-11 17:00:15 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-11-11 18:05:41 +0000

    devel/py-termcolor: update 1.1.0 → 2.1.0, enable testing
    
    PR:             267498
    Approved by:    c.kworr@gmail.com (maintainer)
---
 devel/py-termcolor/Makefile | 8 +++++---
 devel/py-termcolor/distinfo | 5 +++--
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/devel/py-termcolor/Makefile b/devel/py-termcolor/Makefile
index 03c88081e6a6..84856688c3a4 100644
--- a/devel/py-termcolor/Makefile
+++ b/devel/py-termcolor/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	termcolor
-PORTVERSION=	1.1.0
-PORTREVISION=	1
+PORTVERSION=	2.1.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,9 +10,12 @@ WWW=		https://pypi.org/project/termcolor/
 
 LICENSE=	MIT
 
-USES=		python:3.6+
+USES=		python:3.6+ pytest
 USE_PYTHON=	distutils autoplist
 
 NO_ARCH=	yes
 
+post-extract:
+	@${ECHO_CMD} 'from setuptools import setup; setup()' > ${WRKSRC}/setup.py
+
 .include <bsd.port.mk>
diff --git a/devel/py-termcolor/distinfo b/devel/py-termcolor/distinfo
index a82999d5f32a..b1aa8ba03a51 100644
--- a/devel/py-termcolor/distinfo
+++ b/devel/py-termcolor/distinfo
@@ -1,2 +1,3 @@
-SHA256 (termcolor-1.1.0.tar.gz) = 1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b
-SIZE (termcolor-1.1.0.tar.gz) = 3912
+TIMESTAMP = 1668184709
+SHA256 (termcolor-2.1.0.tar.gz) = b80df54667ce4f48c03fe35df194f052dc27a541ebbf2544e4d6b47b5d6949c4
+SIZE (termcolor-2.1.0.tar.gz) = 10665