[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/23: gnu: python-stdio-mgr: Fix build.
From: |
guix-commits |
Subject: |
01/23: gnu: python-stdio-mgr: Fix build. |
Date: |
Sun, 1 Dec 2024 19:48:40 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit dc588815e334f2a82963674f0e23fbd800c0aad2
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Dec 1 09:15:31 2024 +0000
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
---
gnu/packages/python-xyz.scm | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bae12be49c..49bcde2250 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15813,15 +15813,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)))
- branch python-team updated (864747d220 -> f47b84af15), guix-commits, 2024/12/01
- 03/23: gnu: python-flake8-bugbear: Update to 24.10.31., guix-commits, 2024/12/01
- 07/23: gnu: python-flake8-pie: Update to 24.9.0., guix-commits, 2024/12/01
- 04/23: gnu: python-flake8-implicit-str-concat: Update to 0.5.0., guix-commits, 2024/12/01
- 06/23: gnu: python-flake8-pyi: Update to 24.9.0., guix-commits, 2024/12/01
- 11/23: gnu: python-sphinx-5: Adjust inputs., guix-commits, 2024/12/01
- 01/23: gnu: python-stdio-mgr: Fix build.,
guix-commits <=
- 10/23: gnu: python-sphinx: Adjust inputs., guix-commits, 2024/12/01
- 13/23: gnu: python-py-partiql-parser: Update to 0.5.6., guix-commits, 2024/12/01
- 08/23: gnu: python-flake8-quotes: Update to 3.4.0., guix-commits, 2024/12/01
- 15/23: gnu: python-utils: Update to 3.9.1., guix-commits, 2024/12/01
- 17/23: gnu: python-codespell: Update to 2.3.0., guix-commits, 2024/12/01
- 18/23: gnu: python-diff-cover: Update to 9.2.0., guix-commits, 2024/12/01
- 19/23: gnu: python-marshmallow: Update to 3.22.0., guix-commits, 2024/12/01
- 20/23: gnu: python-faker: Update to 33.1.0., guix-commits, 2024/12/01
- 14/23: gnu: python-pep8-naming: Update to 0.14.1., guix-commits, 2024/12/01
- 09/23: gnu: python-flake8-isort: Update to 6.1.1., guix-commits, 2024/12/01