mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-zope-testing: Update to 6.0.
* gnu/packages/python-web.scm (python-zope-testing): Update to 6.0. [source]: Switch to git-fetch. [arguments]: Rewrite testing with <#:phases>. [native-inputs]: Add python-zope-interface, python-zope-testrunner-bootstrap. Change-Id: I893195123a80a19f61fa3635f3932ba263816f6c Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
53f88f43af
commit
7a128a223d
1 changed files with 19 additions and 8 deletions
|
@ -4573,18 +4573,29 @@ outside of the Zope framework.")
|
||||||
(define-public python-zope-testing
|
(define-public python-zope-testing
|
||||||
(package
|
(package
|
||||||
(name "python-zope-testing")
|
(name "python-zope-testing")
|
||||||
(version "5.1")
|
(version "6.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "zope_testing" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/zopefoundation/zope.testing")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0iyc3ahiyibqqzk8s4i07c7all9ng89dp6hs95p7jf1xxjmfndbi"))))
|
(base32 "0zqipsgv7qj7f8hrd3x6xpqwszdiac8vpjdm8ak5kljl5napw7d7"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments (list #:test-backend #~'custom
|
(arguments
|
||||||
#:test-flags #~(list "src/zope/testing/tests.py")))
|
(list
|
||||||
(native-inputs
|
#:phases
|
||||||
(list python-setuptools))
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(if tests?
|
||||||
|
(invoke "zope-testrunner" "--test-path=src")
|
||||||
|
(format #t "test suite not run~%")))))))
|
||||||
|
(native-inputs (list python-setuptools
|
||||||
|
python-zope-interface
|
||||||
|
python-zope-testrunner-bootstrap))
|
||||||
(home-page "https://zopetesting.readthedocs.io/")
|
(home-page "https://zopetesting.readthedocs.io/")
|
||||||
(synopsis "Zope testing helpers")
|
(synopsis "Zope testing helpers")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue