guix_mirror_bot pushed a commit to branch master
in repository guix.

commit f35a36f906ab2f1d676225e0d0c9aea73b2759a1
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Sep 27 22:49:59 2025 +0100

    gnu: python-flexmock: Move to python-check.
    
    * gnu/packages/check.scm (python-flexmock): Move from here ...
    * gnu/packages/python-check.scm: ... to here.
    * gnu/packages/shellutils.scm: Add python-check module.
    
    Change-Id: I6aebe1eb1f9bdbeb140af4538a9af0becccc6e92
---
 gnu/packages/check.scm        | 19 -------------------
 gnu/packages/python-check.scm | 23 +++++++++++++++++++++++
 gnu/packages/shellutils.scm   |  1 +
 3 files changed, 24 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 436f992f0a..4b97491789 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -3184,25 +3184,6 @@ JSON APIs with Behave.")
 time by mocking the datetime module.")
     (license license:asl2.0)))
 
-(define-public python-flexmock
-  (package
-    (name "python-flexmock")
-    (version "0.12.2")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "flexmock" version))
-              (sha256
-               (base32
-                "18dcr7mpldf3cxsqi9rak75n4z7x3j544l4ixdspairm7cf6cp23"))))
-    (build-system pyproject-build-system)
-    (native-inputs (list python-poetry-core python-pytest))
-    (home-page "https://flexmock.readthedocs.io/";)
-    (synopsis "Testing library for Python")
-    (description
-     "flexmock is a testing library for Python that makes it easy to create
-mocks, stubs and fakes.")
-    (license license:bsd-3)))
-
 (define-public python-flaky
   (package
     (name "python-flaky")
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index c95596dd4d..c6f52eb843 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2015 Cyril Roelandt <[email protected]>
 ;;; Copyright © 2015, 2019, 2020, 2021 Efraim Flashner <[email protected]>
 ;;; Copyright © 2016-2022 Marius Bakke <[email protected]>
+;;; Copyright © 2016 宋文武 <[email protected]>
 ;;; Copyright © 2017 Muriithi Frederick Muriuki <[email protected]>
 ;;; Copyright © 2018-2020 Tobias Geerinckx-Rice <[email protected]>
 ;;; Copyright © 2019-2025 Ricardo Wurmus <[email protected]>
@@ -23,6 +24,7 @@
 ;;; Copyright © 2022 Tomasz Jeneralczyk <[email protected]>
 ;;; Copyright © 2022 jgart <[email protected]>
 ;;; Copyright © 2023 John Kehayias <[email protected]>
+;;; Copyright © 2024 Danny Milosavljevic <[email protected]>
 ;;; Copyright © 2024-2025 Troy Figiel <[email protected]>
 ;;; Copyright © 2024 Navid Afkhami <[email protected]>
 ;;; Copyright © 2024, 2025 David Elsing <[email protected]>
@@ -786,6 +788,27 @@ list/set/dict comprehensions.")
 providing hints about what deprecated methods should be replaced with.")
     (license license:gpl2)))
 
+(define-public python-flexmock
+  (package
+    (name "python-flexmock")
+    (version "0.12.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "flexmock" version))
+       (sha256
+        (base32 "18dcr7mpldf3cxsqi9rak75n4z7x3j544l4ixdspairm7cf6cp23"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-poetry-core
+           python-pytest))
+    (home-page "https://flexmock.readthedocs.io/";)
+    (synopsis "Testing library for Python")
+    (description
+     "flexmock is a testing library for Python that makes it easy to create
+mocks, stubs and fakes.")
+    (license license:bsd-3)))
+
 (define-public python-gcovr
   (package
     (name "python-gcovr")
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index bc52898c0a..71d9cee818 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -69,6 +69,7 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
+  #:use-module (gnu packages python-check)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages ruby)

Reply via email to