summaryrefslogtreecommitdiff
path: root/gnu/packages/python-build.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-31 07:28:13 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:23 +0100
commit7650205482b194c6c51d02a7b4744b9f73a8b4b2 (patch)
treed2927dff03f76f748b43baa98b29be014057b74c /gnu/packages/python-build.scm
parentc6229d20692279e4aebc750a081b094c647a87ff (diff)
gnu: python-jaraco-functools: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-jaraco-functools): Move from here… * gnu/packages/python-build.scm (python-jaraco-functools): …to here. [native-inputs]: Replace python-pytest by python-pytest-bootstrap, python-setuptools by python-setuptools-bootstrap. Remove python-wheel. Change-Id: I0a5fd9e8efce8c905c55b7c379ecfcdcd260234a Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-build.scm')
-rw-r--r--gnu/packages/python-build.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 0d3f039e410..f8c617d091e 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -1482,6 +1482,36 @@ class constructs.")
"This Python library provides context managers-related procedures.")
(license license:expat)))
+(define-public python-jaraco-functools
+ (package
+ (name "python-jaraco-functools")
+ (version "4.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "jaraco_functools" version))
+ (sha256
+ (base32 "0lvk12qbl5zd1ikr6xzflj1jcs3vwgmwgy2k63x5dkmbrjzllqxy"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? (not (%current-target-system))
+ ;; Do not test the myproject.toml build as it pulls dependencies.
+ ;; Do not run a test that tries to emulate a broken proprietary
+ ;; CI set-up, fails to do so correctly, and then throws an error.
+ #:test-flags
+ '(list "-k" "not project and not test_function_throttled")))
+ (native-inputs
+ (list python-jaraco-classes
+ python-pytest-bootstrap
+ python-setuptools-bootstrap
+ python-setuptools-scm-bootstrap))
+ (propagated-inputs (list python-more-itertools))
+ (home-page "https://github.com/jaraco/jaraco.functools")
+ (synopsis "Python library extending Python's @code{functools}")
+ (description "This library extends the standard @code{functools} Python
+module with a few extra procedures.")
+ (license license:expat)))
+
(define-public python-pdm-backend
(package
(name "python-pdm-backend")