[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/15: gnu: Add python-jaraco-text.
From: |
guix-commits |
Subject: |
06/15: gnu: Add python-jaraco-text. |
Date: |
Tue, 9 Jan 2024 04:30:04 -0500 (EST) |
mothacehe pushed a commit to branch master
in repository guix.
commit 5137af3e2060699434bb5a515b94dd74dad2f6f6
Author: Troy Figiel <troy@troyfigiel.com>
AuthorDate: Mon Jan 1 18:23:40 2024 +0100
gnu: Add python-jaraco-text.
* gnu/packages/python-xyz.scm (python-jaraco-text): New variable.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
gnu/packages/python-xyz.scm | 37 ++++++++++++++++++++++++++++++++++++-
1 file changed, 36 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c102aad161..72070f6f3c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -145,7 +145,7 @@
;;; Copyright © c4droid <c4droid@foxmail.com>
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2023 Attila Lendvai <attila@lendvai.name>
-;;; Copyright © 2023 Troy Figiel <troy@troyfigiel.com>
+;;; Copyright © 2023, 2024 Troy Figiel <troy@troyfigiel.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -10562,6 +10562,41 @@ releases.")
(description "This package provides testing support by jaraco.")
(license license:expat)))
+(define-public python-jaraco-text
+ (package
+ (name "python-jaraco-text")
+ (version "3.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "jaraco.text" version))
+ (sha256
+ (base32 "0b2rmx0sa61f75lkkr4nfaj3mkgmn3x9c1akpwarfbmksk42b7iq"))))
+ (build-system pyproject-build-system)
+ ;; Do not test pyproject.toml with python-pytest-checkdocs as it tries to
+ ;; download dependencies.
+ (arguments
+ '(#:test-flags '("-k" "not project")))
+ (propagated-inputs (list python-autocommand python-inflect
+ python-jaraco-context python-jaraco-functools
+ python-more-itertools))
+ ;; TODO: Add python-pytest-ruff to native-inputs once it has been
+ ;; packaged.
+ (native-inputs (list python-pytest
+ python-pytest-black
+ python-pytest-checkdocs
+ python-pytest-cov
+ python-pytest-enabler
+ python-pytest-mypy))
+ (home-page "https://github.com/jaraco/jaraco.text")
+ (synopsis "Provides various routines 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")
- branch master updated (b26926189e -> a1a645337a), guix-commits, 2024/01/09
- 01/15: gnu: glew: Fix cross-compiling., guix-commits, 2024/01/09
- 05/15: gnu: Add python-zc-lockfile., guix-commits, 2024/01/09
- 08/15: gnu: Add python-portend., guix-commits, 2024/01/09
- 09/15: gnu: python-h5py: Enable tests., guix-commits, 2024/01/09
- 03/15: gnu: Add python-python-snappy., guix-commits, 2024/01/09
- 04/15: gnu: Add python-pytest-dotenv., guix-commits, 2024/01/09
- 06/15: gnu: Add python-jaraco-text.,
guix-commits <=
- 10/15: gnu: python-h5py: Reformat with guix style., guix-commits, 2024/01/09
- 14/15: gnu: Add python-persim., guix-commits, 2024/01/09
- 02/15: gnu: Add python-hdf5storage., guix-commits, 2024/01/09
- 07/15: gnu: Add python-jaraco-collections., guix-commits, 2024/01/09
- 11/15: gnu: Add python-pyreadstat., guix-commits, 2024/01/09
- 13/15: gnu: Add python-hopcroftkarp., guix-commits, 2024/01/09
- 15/15: gnu: Add python-ripser., guix-commits, 2024/01/09
- 12/15: gnu: Add python-multimethod., guix-commits, 2024/01/09