aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2022-11-11 17:00:15 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2022-11-11 18:05:41 +0000
commit3467f445d70bde9cc2c3f816e079fed220d2b59f (patch)
treecc5f233c5e90dd4eaafa36a071a74d5ca4ce140a
parentade98c93072bb509be6cf1be84b85c25abe7f1fd (diff)
downloadports-3467f445d70bde9cc2c3f816e079fed220d2b59f.tar.gz
ports-3467f445d70bde9cc2c3f816e079fed220d2b59f.zip
devel/py-termcolor: update 1.1.0 → 2.1.0, enable testing
PR: 267498 Approved by: c.kworr@gmail.com (maintainer)
-rw-r--r--devel/py-termcolor/Makefile8
-rw-r--r--devel/py-termcolor/distinfo5
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