guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 20fc01ef78d7f9f6f5b43dedb8f50b53da87e498
Author: Nicolas Graves <[email protected]>
AuthorDate: Fri Oct 31 07:28:13 2025 +0100

    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 <[email protected]>
---
 gnu/packages/python-build.scm | 30 ++++++++++++++++++++++++++++++
 gnu/packages/python-xyz.scm   | 31 -------------------------------
 2 files changed, 30 insertions(+), 31 deletions(-)

diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index eabcd2f143..6799ae43dc 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -1429,6 +1429,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")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ab71fdceb2..b3330e09f4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14351,37 +14351,6 @@ WeightedLookup: A specialized RangeMap for selecting 
an item by weights.
 @end itemize")
     (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
-           python-setuptools
-           python-setuptools-scm
-           python-wheel))
-    (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-jaraco-packaging
   (package
     (name "python-jaraco-packaging")

Reply via email to