mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-nestedtext: Enable tests.
* gnu/packages/python-xyz.scm (python-nestedtext)[source]: Fetch from GitHub. [arguments]: Remove '#:tests? #f'. <#:test-flags>: Skip tests that require not yet packaged libraries. [native-inputs]: Add python-pytest. Change-Id: Ic0d8261dc9cb97b58536fa086ab9eca8e73489d0
This commit is contained in:
parent
0b84e1ef0d
commit
4a47bbe15e
1 changed files with 16 additions and 8 deletions
|
@ -34565,16 +34565,24 @@ Features
|
||||||
(name "python-nestedtext")
|
(name "python-nestedtext")
|
||||||
(version "3.7")
|
(version "3.7")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch) ; no tests in PyPI release
|
||||||
(uri (pypi-uri "nestedtext" version))
|
(uri (git-reference
|
||||||
(sha256
|
(url "https://github.com/KenKundert/nestedtext")
|
||||||
(base32
|
(commit (string-append "v" version))))
|
||||||
"0vbribl3ja4ldjmiw1hv8a4f5r8hx2v7naskxfwkjlaki4kzwn0a"))))
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0yqarfv6jzl41i44mjn0g4c87g47j819py6gbsfi3fdk96c95nll"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f)) ; PyPI tarball lacks tests
|
(list
|
||||||
(native-inputs (list python-flit-core))
|
;; XXX: Tests below need some not yet packaged Python libraries.
|
||||||
|
#:test-flags #~(list "--ignore" "examples/"
|
||||||
|
"--ignore" "tests/test_nestedtext.py"
|
||||||
|
"-k" (string-append
|
||||||
|
"not techniques.rst"
|
||||||
|
" and not nestedtext.nestedtext.dumps"))))
|
||||||
|
(native-inputs (list python-flit-core python-pytest))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-inform))
|
(list python-inform))
|
||||||
(home-page "https://nestedtext.org")
|
(home-page "https://nestedtext.org")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue