diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-01 09:15:31 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-13 21:01:38 +0000 |
commit | 0817e9ba777c3f5e7df1972e4cbd3f4e0ac8eb05 (patch) | |
tree | f14a8e31f6330aa4524eb708ae2c7118dbfbb60e | |
parent | 93a663516acb2b8a5488b33c034ff3f0327c6df0 (diff) | |
download | guix-0817e9ba777c3f5e7df1972e4cbd3f4e0ac8eb05.tar guix-0817e9ba777c3f5e7df1972e4cbd3f4e0ac8eb05.tar.gz |
gnu: python-stdio-mgr: Fix build.
* gnu/packages/python-xyz.scm (python-stdio-mgr) [source]: Swap to git
checkout containing tests.
[arguments]<test-flags>: Ignore doctests.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
[description]: Start from a new line.
Change-Id: I0b03adad8b2277686c7e07859eebd7555934ac8c
-rw-r--r-- | gnu/packages/python-xyz.scm | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 99af1e8a6b..c4a98ee6ad 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15853,15 +15853,28 @@ checksums. It implement more than a hundred checksum routines.") (version "1.0.1") (source (origin - (method url-fetch) - (uri (pypi-uri "stdio-mgr" version)) + (method git-fetch) ; no tests data in PyPi package + (uri (git-reference + (url "https://github.com/bskinn/stdio-mgr") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "11j1kxxrp76vm6l8wvfnw50fb6lmckxf25nkra70jpiacd8kn73q")))) + (base32 "0xb6779s7j162xhig6vc63f9nn3v406fvjh1zqbqbf8zcl17ific")))) (build-system pyproject-build-system) - (propagated-inputs (list python-attrs)) + (arguments + (list + ;; Do not run doctests requiring sphinx. + #:test-flags #~(list "--ignore=README.rst"))) + (native-inputs + (list python-pytest + python-setuptools + python-wheel)) + (propagated-inputs + (list python-attrs)) (home-page "https://github.com/bskinn/stdio-mgr") (synopsis "Context manager for mocking/wrapping stdin/stdout/stderr") - (description "This package contains a context manager for mocking/wrapping + (description + "This package contains a context manager for mocking/wrapping stdin/stdout/stderr.") (license license:expat))) |