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

commit 986a30dc2a6a8e5ddb8f3353ecc2e2152bd3383d
Author: Nicolas Graves <[email protected]>
AuthorDate: Fri Oct 31 08:02:08 2025 +0100

    gnu: python-path: Move to (gnu packages python-build).
    
    * gnu/packages/python-xyz.scm (python-path): Move from here…
    * gnu/packages/python-build.scm (python-path): …to here.
    [native-inputs]: Replace python-pytest by python-pytest-bootstrap,
    python-setuptools by python-setuptools-bootstrap,
    python-setuptools-scm by python-setuptools-scm-boostrap,
    python-packaging by python-packaging-bootstrap, python-pygments by
    python-pygments-bootstrap.
    
    Change-Id: Ief847ef89a3bc76df59b9939b50068d969648717
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-build.scm | 36 ++++++++++++++++++++++++++++++++++++
 gnu/packages/python-xyz.scm   | 37 -------------------------------------
 2 files changed, 36 insertions(+), 37 deletions(-)

diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 65d3874129..abd04d914e 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -159,6 +159,42 @@ and SML.  @code{more-itertools} includes additional 
building blocks for
 working with iterables.")
     (license license:expat)))
 
+(define-public python-path
+  (package
+    (name "python-path")
+    (version "17.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "path" version))
+       (sha256
+        (base32 "1scqbwgcbisx8mb28hw789a7np953851wg6z0bbzdm519znha7nl"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:tests? (not (%current-target-system))
+      #:test-flags
+      #~(list "-k"
+              (string-append
+               ;; Do not test the myproject.toml build as it tries
+               ;; to pull dependencies from the Internet.
+               "not project "
+               ;; This tests assumes a root user exists.
+               "and not test_get_owner"))))
+    (native-inputs
+     (list python-more-itertools
+           python-packaging-bootstrap
+           python-pygments-bootstrap
+           python-pytest-bootstrap
+           python-setuptools-bootstrap
+           python-setuptools-scm-bootstrap))
+    (home-page "https://github.com/jaraco/path";)
+    (synopsis "Object-oriented file system path manipulation library")
+    (description "@code{path} (formerly @code{path.py}) implements path
+objects as first-class entities, allowing common operations on files to be
+invoked on those path objects directly.")
+    (license license:expat)))
+
 (define-public python-pathspec
   (package
     (name "python-pathspec")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 89e9c67ad9..a12b93e886 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17670,43 +17670,6 @@ is binding LibSass.")
 @code{ssl} module.  It patches @code{ssl.match_hostname} for that purpose.")
     (license license:expat)))
 
-(define-public python-path
-  (package
-    (name "python-path")
-    (version "17.1.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "path" version))
-       (sha256
-        (base32 "1scqbwgcbisx8mb28hw789a7np953851wg6z0bbzdm519znha7nl"))))
-    (build-system pyproject-build-system)
-    (arguments
-     (list
-      #:tests? (not (%current-target-system))
-      #:test-flags
-      #~(list "-k"
-              (string-append
-               ;; Do not test the myproject.toml build as it tries
-               ;; to pull dependencies from the Internet.
-               "not project "
-               ;; This tests assumes a root user exists.
-               "and not test_get_owner"))))
-    (native-inputs
-     (list python-appdirs
-           python-more-itertools
-           python-packaging
-           python-pygments
-           python-pytest
-           python-setuptools
-           python-setuptools-scm))
-    (home-page "https://github.com/jaraco/path";)
-    (synopsis "Object-oriented file system path manipulation library")
-    (description "@code{path} (formerly @code{path.py}) implements path
-objects as first-class entities, allowing common operations on files to be
-invoked on those path objects directly.")
-    (license license:expat)))
-
 ;; It may be removed after 2026-01-24.
 (define-deprecated/public-alias python-path-bootstrap python-path)
 (define-deprecated/public-alias python-pathpy python-path)

Reply via email to