guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

29/150: gnu: python-pastel: Add missing build system input.


From: guix-commits
Subject: 29/150: gnu: python-pastel: Add missing build system input.
Date: Sun, 24 Apr 2022 05:12:18 -0400 (EDT)

lbraun pushed a commit to branch wip-python-pep517
in repository guix.

commit ac9edc41bdc18e151e46091474de03b65ed87665
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 b48b105d68..9e1b049dae 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -98,6 +98,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)
@@ -1560,11 +1561,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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]