aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Li <vishwin@FreeBSD.org>2023-05-25 18:06:17 +0000
committerCharlie Li <vishwin@FreeBSD.org>2023-05-25 19:21:06 +0000
commit959a6156f4fc5d4ff0e76df6f0729e06200c1990 (patch)
tree0f11e72a28b46e3c6953f911cf71205df0d93d12
parent86b15a3f4ab78e6673a077a9f696e9cb2a610c54 (diff)
downloadports-959a6156f4fc5d4ff0e76df6f0729e06200c1990.tar.gz
ports-959a6156f4fc5d4ff0e76df6f0729e06200c1990.zip
devel/py-termcolor: update to 2.3.0
Release notes: https://github.com/termcolor/termcolor/releases/tag/2.3.0 Approved by: c.kworr[at]gmail[dot]com (maintainer) Event: Kitchener-Waterloo Hackathon 202305
-rw-r--r--devel/py-termcolor/Makefile12
-rw-r--r--devel/py-termcolor/distinfo6
2 files changed, 9 insertions, 9 deletions
diff --git a/devel/py-termcolor/Makefile b/devel/py-termcolor/Makefile
index b2a500c3d693..c04662bbf1fe 100644
--- a/devel/py-termcolor/Makefile
+++ b/devel/py-termcolor/Makefile
@@ -1,5 +1,5 @@
PORTNAME= termcolor
-PORTVERSION= 2.1.0
+PORTVERSION= 2.3.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,12 +10,12 @@ WWW= https://pypi.org/project/termcolor/
LICENSE= MIT
-USES= python:3.6+ pytest
-USE_PYTHON= distutils autoplist
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR}
-NO_ARCH= yes
+USES= python pytest
+USE_PYTHON= autoplist pep517
-post-extract:
- @${ECHO_CMD} 'from setuptools import setup; setup()' > ${WRKSRC}/setup.py
+NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-termcolor/distinfo b/devel/py-termcolor/distinfo
index b1aa8ba03a51..60103e3bf346 100644
--- a/devel/py-termcolor/distinfo
+++ b/devel/py-termcolor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1668184709
-SHA256 (termcolor-2.1.0.tar.gz) = b80df54667ce4f48c03fe35df194f052dc27a541ebbf2544e4d6b47b5d6949c4
-SIZE (termcolor-2.1.0.tar.gz) = 10665
+TIMESTAMP = 1685036492
+SHA256 (termcolor-2.3.0.tar.gz) = b5b08f68937f138fe92f6c089b99f1e2da0ae56c52b78bf7075fd95420fd9a5a
+SIZE (termcolor-2.3.0.tar.gz) = 12163