mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-testscenarios-bootstrap: Simplify.
* gnu/packages/check.scm (python-testscenarios-bootstrap): Inherit from python-testscenarios and make it hidden. Change-Id: Ic15bf00f629a3c45dd1aee1e5ea704c2f0bcb03d
This commit is contained in:
parent
a5b7601d06
commit
7ada6962a5
1 changed files with 12 additions and 27 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue