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

commit 687fc2ab45cfdc881d86de09a5c08395dd5b69eb
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Nov 1 11:14:30 2025 +0100

    gnu: python-pretend: Move to (gnu packages python-build).
    
    * gnu/packages/python-xyz.scm (python-pretend): Move from here…
    * gnu/packages/python-build.scm (python-pretend): …to here.
    
    Change-Id: I75a27534d71f456fdb76841f1d3597a81976c7e6
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-build.scm | 26 ++++++++++++++++++++++++++
 gnu/packages/python-xyz.scm   | 26 --------------------------
 2 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 061025b2d6..1ce0815e3a 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -665,6 +665,32 @@ information.")
     ;; licenses.
     (license (list license:asl2.0 license:bsd-2))))
 
+(define-public python-pretend
+  (package
+    (name "python-pretend")
+    (version "1.0.9")
+    (source
+     (origin
+       (method git-fetch)       ;no tests in PyPI archive
+       (uri (git-reference
+              (url "https://github.com/alex/pretend";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "156l685r9mg7i4xyrk9ql3sxk088irxlg8x7md5i0d05hdw1z8rs"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-pytest
+           python-setuptools))
+    (home-page "https://github.com/alex/pretend";)
+    (synopsis "Library for stubbing in Python")
+    (description
+     "Pretend is a library to make stubbing with Python easier.  Stubbing is a
+technique for writing tests.  You may hear the term mixed up with mocks,fakes,
+or doubles.  Basically, a stub is an object that returns pre-canned responses,
+rather than doing any computation.")
+    (license license:bsd-3)))
+
 ;;; The name 'python-pypa-build' is chosen rather than 'python-build' to avoid
 ;;; a name clash with python-build from (guix build-system python).
 (define-public python-pypa-build
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b61a4895df..0c32567753 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17928,32 +17928,6 @@ invoked on those path objects directly.")
 (define-deprecated/public-alias python-path-bootstrap python-path)
 (define-deprecated/public-alias python-pathpy python-path)
 
-(define-public python-pretend
-  (package
-    (name "python-pretend")
-    (version "1.0.9")
-    (source
-     (origin
-       (method git-fetch)       ;no tests in PyPI archive
-       (uri (git-reference
-              (url "https://github.com/alex/pretend";)
-              (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "156l685r9mg7i4xyrk9ql3sxk088irxlg8x7md5i0d05hdw1z8rs"))))
-    (build-system pyproject-build-system)
-    (native-inputs
-     (list python-pytest
-           python-setuptools))
-    (home-page "https://github.com/alex/pretend";)
-    (synopsis "Library for stubbing in Python")
-    (description
-     "Pretend is a library to make stubbing with Python easier.  Stubbing is a
-technique for writing tests.  You may hear the term mixed up with mocks,fakes,
-or doubles.  Basically, a stub is an object that returns pre-canned responses,
-rather than doing any computation.")
-    (license license:bsd-3)))
-
 (define-public python-pip-run
   (package
     (name "python-pip-run")

Reply via email to