From 8287b48ebc0a8321885b9f3f908fb32c21924711 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 6 May 2025 23:34:57 +0100 Subject: [PATCH] gnu: python-pastel: Move to python-xyz. * gnu/packages/graphics.scm (python-pastel): Move from here ... * gnu/packages/python-xyz.scm: ... to here. Change-Id: I0179d8111db7a8ef088461524f2ca481534100e7 --- gnu/packages/graphics.scm | 24 ------------------------ gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 24 deletions(-) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 66ad5fdb818efd9d7c46b209d5e01396d1cdbf8d..cd384aa42c5f113ee5e833570bc68cfb2eb8a461 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -1944,30 +1944,6 @@ It supports sub-pixel resolutions and anti-aliasing. It is also a library for rendering @acronym{SVG, Scalable Vector Graphics}.") (license license:gpl2+))) -(define-public python-pastel - (package - (name "python-pastel") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pastel" version)) - (sha256 - (base32 - "0dnaw44ss10i10z4ksy0xljknvjap7rb7g0b8p6yzm5x4g2my5a6")))) - (build-system python-build-system) - (arguments - `(#:phases (modify-phases %standard-phases - (replace 'check - (lambda _ (invoke "pytest" "pastel" "tests/")))))) - (native-inputs - (list python-pytest)) - (home-page "https://github.com/sdispater/pastel") - (synopsis "Library to colorize strings in your terminal") - (description "Pastel is a simple library to help you colorize strings in -your terminal.") - (license license:expat))) - (define-public facedetect (let ((commit "5f9b9121001bce20f7d87537ff506fcc90df48ca") (revision "0")) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ca0c3962680e09d9bfdbff7ce8d333d0be4969f4..399786c142739a178ee425130380c511e4677b69 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -56,6 +56,7 @@ ;;; Copyright © 2018 Luther Thompson ;;; Copyright © 2018 Vagrant Cascadian ;;; Copyright © 2015, 2018 Pjotr Prins +;;; Copyright © 2019 tlecarrour@easter-eggs.com ;;; Copyright © 2019, 2020 Brett Gilio ;;; Copyright © 2019 Sam ;;; Copyright © 2019, 2023 Jack Hill @@ -794,6 +795,30 @@ comparison operators, as defined in the original processes, in parallel, in the console, with an interactive TUI.") (license license:expat))) +(define-public python-pastel + (package + (name "python-pastel") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pastel" version)) + (sha256 + (base32 + "0dnaw44ss10i10z4ksy0xljknvjap7rb7g0b8p6yzm5x4g2my5a6")))) + (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda _ (invoke "pytest" "pastel" "tests/")))))) + (native-inputs + (list python-pytest)) + (home-page "https://github.com/sdispater/pastel") + (synopsis "Library to colorize strings in your terminal") + (description "Pastel is a simple library to help you colorize strings in +your terminal.") + (license license:expat))) + (define-public python-pyxdameraulevenshtein (package (name "python-pyxdameraulevenshtein")