git: 959a6156f4fc - main - devel/py-termcolor: update to 2.3.0
Date: Thu, 25 May 2023 19:21:59 UTC
The branch main has been updated by vishwin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=959a6156f4fc5d4ff0e76df6f0729e06200c1990
commit 959a6156f4fc5d4ff0e76df6f0729e06200c1990
Author: Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-05-25 18:06:17 +0000
Commit: Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-05-25 19:21:06 +0000
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
---
devel/py-termcolor/Makefile | 12 ++++++------
devel/py-termcolor/distinfo | 6 +++---
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