diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 29a12947e0..71f7b77a80 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 c000c0596b..60be5aee5a 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -25,6 +25,8 @@ ;;; Copyright © 2021 Simon Tournier ;;; Copyright © 2021 Felix Gruber ;;; Copyright © 2021 Bonface Munyoki Kilyungi +;;; Copyright © 2021 Tanguy Le Carrour +;;; Copyright © 2022, 2024 kiasoc5 ;;; Copyright © 2022 Gabriel Wicki ;;; Copyright © 2022 Greg Hogan ;;; Copyright © 2022 M @@ -32,8 +34,9 @@ ;;; Copyright © 2023 Reza Housseini ;;; Copyright © 2023 Hilton Chain ;;; Copyright © 2023, 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2024 John Kehayias ;;; Copyright © 2024 Timotej Lazar -;;; Copyright © 2024-2024 Sharlatan Hellseher +;;; Copyright © 2024-2025 Sharlatan Hellseher ;;; Copyright © 2024, 2025 Ashish SHUKLA ;;; Copyright © 2024 Artyom V. Poptsov ;;; Copyright © 2025 John Khoo @@ -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")