diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-19 12:57:17 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-20 16:18:47 +0100 |
commit | 7ada6962a5f0421e1778f62cc20bf9e42a85ad46 (patch) | |
tree | e7c0823a002138f7dfe24371ef140093864a00f1 | |
parent | a5b7601d0666c9c716fff0383e51c34e4f581d0e (diff) |
gnu: python-testscenarios-bootstrap: Simplify.
* gnu/packages/check.scm (python-testscenarios-bootstrap): Inherit from
python-testscenarios and make it hidden.
Change-Id: Ic15bf00f629a3c45dd1aee1e5ea704c2f0bcb03d
-rw-r--r-- | gnu/packages/check.scm | 39 |
1 files changed, 12 insertions, 27 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index d9e11982e8..8965a9e5c2 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2199,33 +2199,6 @@ see the output as well as any file modifications.") provide matchers, more debugging information, and cross-Python compatibility."))) -(define-public python-testscenarios-bootstrap - (package - (name "python-testscenarios-bootstrap") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "testscenarios" version)) - (sha256 - (base32 - "1dm2aydqpv76vnsk1pw7k8n42hq58cfi4n1ixy7nyzpaj1mwnmy2")))) - (build-system python-build-system) - (arguments - `(#:phases (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "python" "-m" "testtools.run" - "testscenarios.test_suite")))))) - (propagated-inputs - `(("python-pbr" ,python-pbr-minimal) - ("python-testtools" ,python-testtools-bootstrap))) - (home-page "https://launchpad.net/testscenarios") - (synopsis "Pyunit extension for dependency injection") - (description - "This package is only for bootstrapping. Don't use this.") - (license (list license:bsd-3 license:asl2.0)))) ; at the user's option - ;; XXX: The project is not maintained since 2015, consider to remove when ;; nothing depends on it. (define-public python-testscenarios @@ -2255,6 +2228,18 @@ compatibility."))) style tests.") (license (list license:bsd-3 license:asl2.0)))) ; at the user's option +(define-public python-testscenarios-bootstrap + (hidden-package + (package/inherit python-testscenarios + (arguments + ;; To break cycle with python-testtols and python-subunit. + (list #:tests? #f + #:phases + #~(modify-phases %standard-phases + (delete 'sanity-check)))) + (propagated-inputs + (list python-pbr))))) + (define-public python-testresources (package (name "python-testresources") |