diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-28 12:55:34 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-28 17:46:24 +0000 |
| commit | a70eb71d00a49666d4278117ec09ab404fe8347a (patch) | |
| tree | ef463c347a923b5302bdea15e71089f67466531a | |
| parent | 19baa60e2e208baf68b8a671691095110c5fd92b (diff) | |
gnu: tldr: Move to textutils.
* gnu/packages/python-xyz.scm (tldr, pythno-tldr): Move from here ...
* gnu/packages/textutils.scm: ... to here.
Change-Id: I678a9fd63960328dbcaf6a28a8868d3ce1e2aa23
| -rw-r--r-- | gnu/packages/python-xyz.scm | 42 | ||||
| -rw-r--r-- | gnu/packages/textutils.scm | 48 |
2 files changed, 47 insertions, 43 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 29a12947e04..71f7b77a80e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27560,48 +27560,6 @@ a file (or some information about a file), return a set of standardized tags identifying what the file is.") (license license:expat))) -(define-public tldr - (package - (name "tldr") - (version "3.4.3") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/tldr-pages/tldr-python-client") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 "06rhpywaypqwakw8v187cdf52yl5c7fm19f1q7nbbsydbs0ndmb1")))) - (build-system pyproject-build-system) - (arguments - (list - ;; This test fails. It tries to open a network socket. - #:test-flags #~(list "-k" "not test_error_message") - #:phases - #~(modify-phases %standard-phases - (add-after 'build 'build-doc - (lambda _ - (invoke "make" "-C" "docs")))))) - (native-inputs - (list python-hatchling - python-pytest - python-sphinx-argparse)) - (inputs - (list python-colorama - python-termcolor - python-shtab)) - (home-page "https://github.com/tldr-pages/tldr-python-client") - (synopsis "Command-line client for tldr pages") - (description "This package provides the @code{tldr} command allowing users -to view @code{tldr} pages from a shell. The @code{tldr} pages are a community -effort to simplify the man pages with practical examples described in -@url{https://tldr.sh/}.") - (license license:expat))) - -(define-public python-tldr - (deprecated-package "python-tldr" tldr)) - (define-public python-nodeenv (package (name "python-nodeenv") diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index c000c0596bc..60be5aee5af 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -25,6 +25,8 @@ ;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com> ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net> ;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com> +;;; Copyright © 2021 Tanguy Le Carrour <tanguy@bioneland.org> +;;; Copyright © 2022, 2024 kiasoc5 <kiasoc5@disroot.org> ;;; Copyright © 2022 Gabriel Wicki <gabriel@erlikon.ch> ;;; Copyright © 2022 Greg Hogan <code@greghogan.com> ;;; Copyright © 2022 M <matf@disr.it> @@ -32,8 +34,9 @@ ;;; Copyright © 2023 Reza Housseini <reza@housseini.me> ;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space> ;;; Copyright © 2023, 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2024 John Kehayias <john.kehayias@protonmail.com> ;;; Copyright © 2024 Timotej Lazar <timotej.lazar@araneo.si> -;;; Copyright © 2024-2024 Sharlatan Hellseher <sharlatanus@gmail.com> +;;; Copyright © 2024-2025 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; Copyright © 2024, 2025 Ashish SHUKLA <ashish.is@lostca.se> ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com> ;;; Copyright © 2025 John Khoo <johnkhootf@gmail.com> @@ -99,6 +102,7 @@ #:use-module (gnu packages ruby) #:use-module (gnu packages serialization) #:use-module (gnu packages slang) + #:use-module (gnu packages sphinx) #:use-module (gnu packages version-control) #:use-module (gnu packages web) #:use-module (gnu packages xml) @@ -1169,6 +1173,48 @@ Eclipse and NetBeans. Completion information is typically specified in an XML file, but can even be dynamic.") (license license:bsd-3))) +(define-public tldr + (package + (name "tldr") + (version "3.4.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tldr-pages/tldr-python-client") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "06rhpywaypqwakw8v187cdf52yl5c7fm19f1q7nbbsydbs0ndmb1")))) + (build-system pyproject-build-system) + (arguments + (list + ;; This test fails. It tries to open a network socket. + #:test-flags #~(list "-k" "not test_error_message") + #:phases + #~(modify-phases %standard-phases + (add-after 'build 'build-doc + (lambda _ + (invoke "make" "-C" "docs")))))) + (native-inputs + (list python-hatchling + python-pytest + python-sphinx-argparse)) + (inputs + (list python-colorama + python-termcolor + python-shtab)) + (home-page "https://github.com/tldr-pages/tldr-python-client") + (synopsis "Command-line client for tldr pages") + (description "This package provides the @code{tldr} command allowing users +to view @code{tldr} pages from a shell. The @code{tldr} pages are a community +effort to simplify the man pages with practical examples described in +@url{https://tldr.sh/}.") + (license license:expat))) + +(define-public python-tldr + (deprecated-package "python-tldr" tldr)) + (define-public txt2tags (package (name "txt2tags") |
