guix_mirror_bot pushed a commit to branch master
in repository guix.
commit a70eb71d00a49666d4278117ec09ab404fe8347a
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Oct 28 12:55:34 2025 +0000
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
---
gnu/packages/python-xyz.scm | 42 ---------------------------------------
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 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 <[email protected]>
;;; Copyright © 2021 Felix Gruber <[email protected]>
;;; Copyright © 2021 Bonface Munyoki Kilyungi <[email protected]>
+;;; Copyright © 2021 Tanguy Le Carrour <[email protected]>
+;;; Copyright © 2022, 2024 kiasoc5 <[email protected]>
;;; Copyright © 2022 Gabriel Wicki <[email protected]>
;;; Copyright © 2022 Greg Hogan <[email protected]>
;;; Copyright © 2022 M <[email protected]>
@@ -32,8 +34,9 @@
;;; Copyright © 2023 Reza Housseini <[email protected]>
;;; Copyright © 2023 Hilton Chain <[email protected]>
;;; Copyright © 2023, 2024 Zheng Junjie <[email protected]>
+;;; Copyright © 2024 John Kehayias <[email protected]>
;;; Copyright © 2024 Timotej Lazar <[email protected]>
-;;; Copyright © 2024-2024 Sharlatan Hellseher <[email protected]>
+;;; Copyright © 2024-2025 Sharlatan Hellseher <[email protected]>
;;; Copyright © 2024, 2025 Ashish SHUKLA <[email protected]>
;;; Copyright © 2024 Artyom V. Poptsov <[email protected]>
;;; Copyright © 2025 John Khoo <[email protected]>
@@ -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")