summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/check.scm19
-rw-r--r--gnu/packages/python-check.scm23
-rw-r--r--gnu/packages/shellutils.scm1
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 <tipecaml@gmail.com>
;;; Copyright © 2015, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016-2022 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2016 宋文武 <iyzsong@envs.net>
;;; Copyright © 2017 Muriithi Frederick Muriuki <fredmanglis@gmail.com>
;;; Copyright © 2018-2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019-2025 Ricardo Wurmus <rekado@elephly.net>
@@ -23,6 +24,7 @@
;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
;;; Copyright © 2022 jgart <jgart@dismail.de>
;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2024 Danny Milosavljevic <dannym@friendly-machines.com>
;;; Copyright © 2024-2025 Troy Figiel <troy@troyfigiel.com>
;;; Copyright © 2024 Navid Afkhami <navid.afkhami@mdc-berlin.de>
;;; Copyright © 2024, 2025 David Elsing <david.elsing@posteo.net>
@@ -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)