Subject: [bug#60238] [PATCH 4/7] gnu: Add python-jaraco-text.

From: dan <[email-masked]>
Date: Wed, 21 Dec 2022 21:14:01 +0800

* gnu/packages/python-xyz.scm (python-jaraco-text): New variable.
---
 gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f0e2ad4fc4..3a10d0a892 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8946,6 +8946,34 @@ (define-public python-inflect
 convert numbers to words")
     (license license:expat)))
 
+(define-public python-jaraco-text
+  (package
+    (name "python-jaraco-text")
+    (version "3.11.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "jaraco.text" version))
+              (sha256
+               (base32
+                "0lc3ji0xgd35rbrr2yrp3ykhmgp2xjj1r04w2yl6w5zyjnaminqd"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-autocommand
+                             python-importlib-resources
+                             python-inflect
+                             python-jaraco-context
+                             python-jaraco-functools
+                             python-more-itertools))
+    (native-inputs (list python-pathlib2
+                         python-pytest))
+    (home-page "https://github.com/jaraco/jaraco.text")
+    (synopsis "Module for text manipulation")
+    (description
+     "This package provides handy routines for dealing with text,
+such as wrapping, substitution, trimming, stripping, prefix and suffix
+removal, line continuation, indentation, comment processing, identifier
+processing, values parsing, case insensitive comparison, and more.")
+    (license license:expat)))
+
 (define-public python-simplegeneric
   (package
     (name "python-simplegeneric")
-- 
2.38.1