From f35a36f906ab2f1d676225e0d0c9aea73b2759a1 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 27 Sep 2025 22:49:59 +0100 Subject: [PATCH] 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 436f992f0abef890af946a8299abc214ec96705a..4b974917893eb14ae2331a7d453cde0a49995d94 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 c95596dd4d6a2e5bdb8113efaa89b3d4dbeede9c..c6f52eb8439d16120e1bff57bd89d55c36acd313 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2015 Cyril Roelandt ;;; Copyright © 2015, 2019, 2020, 2021 Efraim Flashner ;;; Copyright © 2016-2022 Marius Bakke +;;; Copyright © 2016 宋文武 ;;; Copyright © 2017 Muriithi Frederick Muriuki ;;; Copyright © 2018-2020 Tobias Geerinckx-Rice ;;; Copyright © 2019-2025 Ricardo Wurmus @@ -23,6 +24,7 @@ ;;; Copyright © 2022 Tomasz Jeneralczyk ;;; Copyright © 2022 jgart ;;; Copyright © 2023 John Kehayias +;;; Copyright © 2024 Danny Milosavljevic ;;; Copyright © 2024-2025 Troy Figiel ;;; Copyright © 2024 Navid Afkhami ;;; Copyright © 2024, 2025 David Elsing @@ -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 bc52898c0aed5c908148e17c829a54ec5d7710b6..71d9cee818c2440b6d562784fd6528dba924e9a1 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)