From 32b3c1d8c46ae98066363ca404714769de038f14 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 10 Aug 2025 18:22:15 +0100 Subject: [PATCH] gnu: python-curtsies: Move to python-xyz. * gnu/packages/terminals.scm (python-curtsies): Move from here ... * gnu/packages/python-xyz.scm: ... to here. Change-Id: I1aaf93a0d0e75e9baa5904dc794d3da978f57443 --- gnu/packages/python-xyz.scm | 30 +++++++++++++++++++++++++++++- gnu/packages/terminals.scm | 27 --------------------------- 2 files changed, 29 insertions(+), 28 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index dca2441ae41a2fb8f61d2d3cfa57a46ef4010fd9..e519facab807bf09bd65e5ae5f7d52bb5486d4ac 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -98,6 +98,7 @@ ;;; Copyright © 2021-2025 Sharlatan Hellseher ;;; Copyright © 2021 Ellis Kenyő ;;; Copyright © 2021 LibreMiami +;;; Copyright © 2021 Mathieu Othacehe ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2021 Raghav Gururajan ;;; Copyright © 2021, 2023-2025 jgart @@ -123,7 +124,7 @@ ;;; Copyright © 2022, 2023 Wamm K. D. ;;; Copyright © 2022 Jai Vetrivelan ;;; Copyright © 2022-2025 Artyom V. Poptsov -;;; Copyright © 2022 Paul A. Patience +;;; Copyright © 2022, 2023 Paul A. Patience ;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ ;;; Copyright © 2022 Philip McGrath ;;; Copyright © 2022 Marek Felšöci @@ -740,6 +741,33 @@ Configurations: @end table") (license license:bsd-2))) +(define-public python-curtsies + (package + (name "python-curtsies") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "curtsies" version)) + (sha256 + (base32 "09c8c4vssm2zkq017xj99vhcrisfva4nkz92w8dly4jjz7xhyahh")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pyte + python-pytest + python-setuptools + python-wheel)) + (propagated-inputs + (list python-blessed + python-cwcwidth)) + (home-page "https://github.com/bpython/curtsies") + (synopsis "Library for curses-like terminal interaction with colored strings") + (description + "Curtsies is a Python library for interacting with the terminal. It +features string-like objects which carry formatting information, per-line +fullscreen terminal rendering, and keyboard input event reporting.") + (license license:expat))) + (define-public python-distance (package (name "python-distance") diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 3238dc72dc957f009249dfdec2a4cf4135aa4561..f07123041a68a03f9f18a73a09b0bc1b5af422fc 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1120,33 +1120,6 @@ avoids styling altogether when the output is redirected to something other than a terminal.") (license license:expat))) -(define-public python-curtsies - (package - (name "python-curtsies") - (version "0.4.3") - (source - (origin - (method url-fetch) - (uri (pypi-uri "curtsies" version)) - (sha256 - (base32 "09c8c4vssm2zkq017xj99vhcrisfva4nkz92w8dly4jjz7xhyahh")))) - (build-system pyproject-build-system) - (native-inputs - (list python-pyte - python-pytest - python-setuptools - python-wheel)) - (propagated-inputs - (list python-blessed - python-cwcwidth)) - (home-page "https://github.com/bpython/curtsies") - (synopsis "Library for curses-like terminal interaction with colored strings") - (description - "Curtsies is a Python library for interacting with the terminal. It -features string-like objects which carry formatting information, per-line -fullscreen terminal rendering, and keyboard input event reporting.") - (license license:expat))) - (define-public tmate (package (name "tmate")