git: a41d6dfb7c7a - main - devel/py-terminaltexteffects: Update to 0.14.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Nov 2025 13:16:34 UTC
The branch main has been updated by nivit:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a41d6dfb7c7a180c6494dfc5760896d3741f3fdb
commit a41d6dfb7c7a180c6494dfc5760896d3741f3fdb
Author: Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2025-11-28 10:26:53 +0000
Commit: Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2025-11-28 13:16:18 +0000
devel/py-terminaltexteffects: Update to 0.14.0
- Change the build dependency
- Add a patch to fix the following error:
*** Error compiling '/usr/local/poudriere/ports/default/devel/py-terminaltexteffects/work-py311/stage/usr/local/lib/python3.11/site-packages/terminaltexteffects/template/effect_template
.py'...
File "/usr/local/lib/python3.11/site-packages/terminaltexteffects/template/effect_template.py", line 72
"steps will create a smoother and longer gradient animation."
^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: keyword argument repeated: action
*** Error compiling '/usr/local/poudriere/ports/default/devel/py-terminaltexteffects/work-py311/stage/usr/local/lib/python3.11/site-packages/terminaltexteffects/template/effect_template
.py'...
File "/usr/local/lib/python3.11/site-packages/terminaltexteffects/template/effect_template.py", line 72
"steps will create a smoother and longer gradient animation."
^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: keyword argument repeated: action
Release changes: https://github.com/ChrisBuilds/terminaltexteffects/releases/tag/release-0.14.0
Reported by: ChrisBuilds <notifications@github.com>
---
devel/py-terminaltexteffects/Makefile | 4 ++--
devel/py-terminaltexteffects/distinfo | 6 +++---
.../patch-terminaltexteffects_template_effect__template.py | 10 ++++++++++
3 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/devel/py-terminaltexteffects/Makefile b/devel/py-terminaltexteffects/Makefile
index 749f273e224f..149649373e47 100644
--- a/devel/py-terminaltexteffects/Makefile
+++ b/devel/py-terminaltexteffects/Makefile
@@ -1,5 +1,5 @@
PORTNAME= terminaltexteffects
-DISTVERSION= 0.12.1
+DISTVERSION= 0.14.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +11,7 @@ WWW= https://pypi.org/project/terminaltexteffects/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.8.3:devel/py-poetry-core@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.27.0:devel/py-hatchling@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist pep517
diff --git a/devel/py-terminaltexteffects/distinfo b/devel/py-terminaltexteffects/distinfo
index 150f93dd974a..d522e2011358 100644
--- a/devel/py-terminaltexteffects/distinfo
+++ b/devel/py-terminaltexteffects/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1760088670
-SHA256 (terminaltexteffects-0.12.1.tar.gz) = d2b04b38f9bc03fc434ac932cabfd4344b35f58a7efd9370a62a2bb1a162fdb8
-SIZE (terminaltexteffects-0.12.1.tar.gz) = 128649
+TIMESTAMP = 1764324498
+SHA256 (terminaltexteffects-0.14.0.tar.gz) = b27e6ea840595728940a3e258469c4c192c589bfa6d02ad2b4f8a89c58cccfa1
+SIZE (terminaltexteffects-0.14.0.tar.gz) = 269882
diff --git a/devel/py-terminaltexteffects/files/patch-terminaltexteffects_template_effect__template.py b/devel/py-terminaltexteffects/files/patch-terminaltexteffects_template_effect__template.py
new file mode 100644
index 000000000000..c5b6815faa2d
--- /dev/null
+++ b/devel/py-terminaltexteffects/files/patch-terminaltexteffects_template_effect__template.py
@@ -0,0 +1,10 @@
+--- terminaltexteffects/template/effect_template.py.orig 2020-02-02 00:00:00 UTC
++++ terminaltexteffects/template/effect_template.py
+@@ -69,7 +69,6 @@ class EffectConfig(BaseConfig):
+ nargs="+",
+ action=argutils.TupleAction,
+ default=12,
+- action=argutils.TupleAction,
+ metavar=argutils.PositiveInt.METAVAR,
+ help=(
+ "Space separated, unquoted, list of the number of gradient steps to use. More steps will "