[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/103: gnu: python-pastel: Add missing build system input.
From: |
guix-commits |
Subject: |
26/103: gnu: python-pastel: Add missing build system input. |
Date: |
Wed, 5 Jan 2022 09:44:30 -0500 (EST) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit 94c40de4541863cb8dcbc79fda28db36d697455d
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sun Nov 28 11:49:10 2021 +0100
gnu: python-pastel: Add missing build system input.
* gnu/packages/graphics.scm (python-pastel)[arguments]: Override
build-backend, move #:phases to #:test-flags.
[native-inputs]: Add python-poetry-core.
---
gnu/packages/graphics.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 3b2d6bf095..ea239038a8 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -92,6 +92,7 @@
#:use-module (gnu packages pth)
#:use-module (gnu packages pulseaudio) ; libsndfile, libsamplerate
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages readline)
@@ -1552,11 +1553,10 @@ rendering @acronym{SVG, Scalable Vector Graphics}.")
"0dnaw44ss10i10z4ksy0xljknvjap7rb7g0b8p6yzm5x4g2my5a6"))))
(build-system python-build-system)
(arguments
- `(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda _ (invoke "pytest" "pastel" "tests/"))))))
+ `(#:build-backend "poetry.core.masonry.api"
+ #:test-flags '("pastel" "tests/")))
(native-inputs
- (list python-pytest))
+ (list python-pytest python-poetry-core))
(home-page "https://github.com/sdispater/pastel")
(synopsis "Library to colorize strings in your terminal")
(description "Pastel is a simple library to help you colorize strings in
- 08/103: gnu: pypy: Move to separate module., (continued)
- 08/103: gnu: pypy: Move to separate module., guix-commits, 2022/01/05
- 14/103: gnu: python-testpath: Remove custom build phases., guix-commits, 2022/01/05
- 11/103: gnu: python-pyzmq: Fix #:configure-flags type., guix-commits, 2022/01/05
- 12/103: gnu: python-file: Remove obsolete #:configure-flags., guix-commits, 2022/01/05
- 09/103: gnu: python-charset-normalizer: Add missing input., guix-commits, 2022/01/05
- 13/103: gnu: python-mediafile: Add missing build dependencies., guix-commits, 2022/01/05
- 17/103: gnu: gusb-minimal: Add explicit dependency on setuptools., guix-commits, 2022/01/05
- 20/103: gnu: python-branca: Disable tests., guix-commits, 2022/01/05
- 22/103: gnu: dblatex: Use custom 'build and 'install phases., guix-commits, 2022/01/05
- 24/103: gnu: python-crashtest: Build using poetry-core., guix-commits, 2022/01/05
- 26/103: gnu: python-pastel: Add missing build system input.,
guix-commits <=
- 28/103: gnu: python-numba: Add missing build input., guix-commits, 2022/01/05
- 19/103: gnu: python-funcparserlib: Disable tests., guix-commits, 2022/01/05
- 36/103: gnu: python-rencode: Disable tests., guix-commits, 2022/01/05
- 40/103: gnu: python-pyfakefs: Disable tests., guix-commits, 2022/01/05
- 55/103: gnu: python-html5lib: Enable tests., guix-commits, 2022/01/05
- 07/103: gnu: python-flit: Inherit from python-flit-core., guix-commits, 2022/01/05
- 06/103: gnu: Add python-tomli-w., guix-commits, 2022/01/05
- 02/103: python-build-system: Use PEP 517-compatible builds., guix-commits, 2022/01/05
- 29/103: gnu: python-eradicate: Disable missing tests., guix-commits, 2022/01/05
- 38/103: gnu: python-pytest-cache: Disable tests., guix-commits, 2022/01/05