mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-inform: Enable tests.
* gnu/packages/python-xyz.scm (python-inform)[source]: Fetch from GitHub. [arguments]: Remove '#:tests? #f'. <#:test-flags>: Skip failing tests. [native-inputs]: Add python-pytest. Change-Id: Id2fcc5daadc104889d2621490e8e1f52e05a42ff
This commit is contained in:
parent
1a1dd09edf
commit
04706cbfd7
1 changed files with 16 additions and 8 deletions
|
@ -34431,17 +34431,25 @@ are plain text, reStructuredText and HTML.")
|
|||
(name "python-inform")
|
||||
(version "1.34")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "inform" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1dzj09nxqpzrb4gnxi7dhbh2nvbkzl79vhwf2sg73f0l3dp10qy4"))))
|
||||
(origin
|
||||
(method git-fetch) ; no tests in PyPI release
|
||||
(uri (git-reference
|
||||
(url "https://github.com/kenkundert/inform")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "19ck1x8jplgq1lsy8cdv6hsygdbx310k92w4mkzl40bh4h49m1mk"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f)) ; PyPI tarball lacks tests
|
||||
(list
|
||||
#:test-flags #~(list "-k" (string-append
|
||||
;; Test below needs the num2words package
|
||||
"not test_plural_words"
|
||||
;; These last two failed with AssertionError
|
||||
" and not test_inform"
|
||||
" and not test_manual"))))
|
||||
(native-inputs
|
||||
(list python-flit-core))
|
||||
(list python-flit-core python-pytest))
|
||||
(propagated-inputs
|
||||
(list python-arrow))
|
||||
(home-page "https://inform.readthedocs.io")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue