Subject: bug#75082: closed ([PATCH] gnu: Add python-terminaltexteffects.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 13 Feb 2025 10:07:02 +0000

Your bug report

#75082: [PATCH] gnu: Add python-terminaltexteffects.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
75082: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75082
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH] gnu: Add python-terminaltexteffects.
From: Sharlatan Hellseher <[email-masked]>
To: [email-masked]
Date: Thu, 13 Feb 2025 10:06:12 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

I've swapped to git and enabled tests, also renamed to
python-terminaltexteffects as the project claims that it may be used as
Python module as well.

Checked:
+ PASS guix build
+ PASS all 58 tests passed successfully
+ PASS guix lint: no warnings
+ PASS visual check: synopsis, short and neat
+ PASS visual check: description, human readable and clear
+ PASS visual check: license, as specified in package definition
+ PASS visual check: project activity and release cadence

Applied:
+ PASS rename to python-terminaltexteffects
+ PASS swap to git which contains tests
+ PASS place package in alphabetical order: guix import -i
  gnu/packages/toys.scm pypi terminaltexteffects
+ PASS replace poetry with python-poetry-core
+ PASS add python-pytest
+ PASS fill-column on description

Pushed to master as 629edde10e00d3034ebcee4047ce7c872a679075.

--
Oleg

Subject: [PATCH] gnu: Add python-terminaltexteffects.
From: Andrew Wong <[email-masked]>
To: [email-masked]
Cc: Andrew Wong <[email-masked]>
Date: Wed, 25 Dec 2024 03:26:02 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Change-Id: I6ef522fe5c59b4da4e604fe6473e42e5d2b476d0
---
 gnu/packages/toys.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm
index 359cdbcbe1..6da211046f 100644
--- a/gnu/packages/toys.scm
+++ b/gnu/packages/toys.scm
@@ -42,6 +42,9 @@ (define-module (gnu packages toys)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system copy)
   #:use-module (guix build-system meson)
+  #:use-module (guix build-system python)
+  #:use-module (guix build-system pyproject)
+  #:use-module (gnu packages python-xyz)
   #:use-module (guix download)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
@@ -49,6 +52,36 @@ (define-module (gnu packages toys)
   #:use-module (guix packages)
   #:use-module (guix utils))
 
+(define-public python-terminaltexteffects
+  (package
+    (name "python-terminaltexteffects")
+    (version "0.11.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "terminaltexteffects" version))
+       (sha256
+        (base32 "1cnw2f0pwsbvva9pbiwjxc8aygvsnfjlpbhrdflh8fh0p9rwnc0l"))))
+    (build-system pyproject-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (delete 'check))))
+    (inputs (list poetry))
+    (home-page "https://github.com/ChrisBuilds/terminaltexteffects")
+    (synopsis "Terminal visual effects engine and demo toy")
+    (description
+     "TerminalTextEffects (TTE) is a terminal visual effects engine.  TTE can
+be installed as a system application to produce effects in your
+terminal, or as a Python library to enable effects within your Python
+scripts/applications.  TTE includes a growing library of built-in
+effects which showcase the engine's features, including complex
+character movement via Paths, Waypoints, and motion easing, with
+support for quadratic/cubic bezier curves, complex animations via
+Scenes with symbol/color changes, layers, easing, and Path synced
+progression, and variable stop/step color gradient generation.  Runs
+inline, preserving terminal state and workflow.")
+    (license license:expat)))
+
 (define-public daikichi
   (package
     (name "daikichi")
-- 
2.46.0