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
This commit is contained in:
Sharlatan Hellseher 2025-09-27 22:49:59 +01:00
parent e976d192a4
commit f35a36f906
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
3 changed files with 24 additions and 19 deletions

View file

@ -3184,25 +3184,6 @@ JSON APIs with Behave.")
time by mocking the datetime module.") time by mocking the datetime module.")
(license license:asl2.0))) (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 (define-public python-flaky
(package (package
(name "python-flaky") (name "python-flaky")

View file

@ -2,6 +2,7 @@
;;; Copyright © 2015 Cyril Roelandt <tipecaml@gmail.com> ;;; Copyright © 2015 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2015, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016-2022 Marius Bakke <marius@gnu.org> ;;; Copyright © 2016-2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2016 宋文武 <iyzsong@envs.net>
;;; Copyright © 2017 Muriithi Frederick Muriuki <fredmanglis@gmail.com> ;;; Copyright © 2017 Muriithi Frederick Muriuki <fredmanglis@gmail.com>
;;; Copyright © 2018-2020 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018-2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019-2025 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2019-2025 Ricardo Wurmus <rekado@elephly.net>
@ -23,6 +24,7 @@
;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl> ;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
;;; Copyright © 2022 jgart <jgart@dismail.de> ;;; Copyright © 2022 jgart <jgart@dismail.de>
;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com> ;;; 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-2025 Troy Figiel <troy@troyfigiel.com>
;;; Copyright © 2024 Navid Afkhami <navid.afkhami@mdc-berlin.de> ;;; Copyright © 2024 Navid Afkhami <navid.afkhami@mdc-berlin.de>
;;; Copyright © 2024, 2025 David Elsing <david.elsing@posteo.net> ;;; 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.") providing hints about what deprecated methods should be replaced with.")
(license license:gpl2))) (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 (define-public python-gcovr
(package (package
(name "python-gcovr") (name "python-gcovr")

View file

@ -69,6 +69,7 @@
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages python) #:use-module (gnu packages python)
#:use-module (gnu packages python-build) #:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-xyz) #:use-module (gnu packages python-xyz)
#:use-module (gnu packages readline) #:use-module (gnu packages readline)
#:use-module (gnu packages ruby) #:use-module (gnu packages ruby)