guix-commits
[Top][All Lists]
Advanced

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

19/21: gnu: python-cssselect2: Add missing build inputs.


From: guix-commits
Subject: 19/21: gnu: python-cssselect2: Add missing build inputs.
Date: Sun, 9 Jan 2022 08:42:04 -0500 (EST)

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

commit 53bc1862f426570e5624a94ba9cb0ae0c7cb5548
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sun Jan 9 12:02:34 2022 +0100

    gnu: python-cssselect2: Add missing build inputs.
    
    * gnu/packages/python-web.scm (python-cssselect2)[arguments]: Override
     #:build-backend and #:test-flags, remove custom 'check phase.
    [native-inputs]: Add python-flit-core.
---
 gnu/packages/python-web.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f0f0809d5f..49eb26e004 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4568,15 +4568,13 @@ in various CSS modules.")
         (base32 "1j2fcr217rsvkipsg6zjq03rl64rxnvb5hqqpx0dv58fhspvkywk"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda _ (invoke "pytest"))))))
+     `(#:build-backend "flit_core.buildapi"
+       #:test-flags '("-vv" "tests")))
     (propagated-inputs
      (list python-tinycss2))
     (native-inputs
      (list python-pytest-cov python-pytest-flake8 python-pytest-isort
-           python-pytest-runner))
+           python-pytest-runner python-flit-core))
     (home-page "https://cssselect2.readthedocs.io/";)
     (synopsis "CSS selectors for Python ElementTree")
     (description "@code{cssselect2} is a straightforward implementation of



reply via email to

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