[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
133/150: gnu: python-cssselect2: Add missing build inputs.
From: |
guix-commits |
Subject: |
133/150: gnu: python-cssselect2: Add missing build inputs. |
Date: |
Sun, 24 Apr 2022 05:12:44 -0400 (EDT) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit 3e45917032795f6905d39f693ee37f620870f112
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 | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 443ddf2dc7..226ad1496d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4615,24 +4615,13 @@ in various CSS modules.")
(base32 "1j2fcr217rsvkipsg6zjq03rl64rxnvb5hqqpx0dv58fhspvkywk"))))
(build-system python-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'disable-linters
- ;; Their check fails; none of our business.
- (lambda _
- (substitute* '("setup.py" "pyproject.toml")
- (("'pytest-flake8',") "")
- (("'pytest-isort',") "")
- (("--flake8") "")
- (("--isort") ""))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (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-runner))
+ (list python-pytest-cov python-pytest-flake8 python-pytest-isort
+ 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
- 83/150: gnu: python-gssapi: Disable tests., (continued)
- 83/150: gnu: python-gssapi: Disable tests., guix-commits, 2022/04/24
- 76/150: gnu: python-pytest-catchlog: Disable tests., guix-commits, 2022/04/24
- 68/150: gnu: python-backcall: Add missing build inputs., guix-commits, 2022/04/24
- 70/150: gnu: python-pep8: Disable tests., guix-commits, 2022/04/24
- 90/150: gnu: tuir: Disable failing tests., guix-commits, 2022/04/24
- 96/150: gnu: python-webob: Disable tests., guix-commits, 2022/04/24
- 95/150: gnu: python-docker-pycreds: Disable tests., guix-commits, 2022/04/24
- 117/150: gnu: python-gphoto2: Disable tests., guix-commits, 2022/04/24
- 119/150: gnu: python-pytest-doctestplus: Add missing build input., guix-commits, 2022/04/24
- 126/150: gnu: python-backpack: Disable tests., guix-commits, 2022/04/24
- 133/150: gnu: python-cssselect2: Add missing build inputs.,
guix-commits <=
- 138/150: gnu: python-igraph: Fix #:configure-flags., guix-commits, 2022/04/24
- 141/150: gnu: python-pypa-build: Move inputs to propagated inputs., guix-commits, 2022/04/24
- 149/150: gnu: python-pytest-aiohttp: Disable tests., guix-commits, 2022/04/24
- 131/150: gnu: python-cloudpickle-testpkg: Disable tests., guix-commits, 2022/04/24
- 38/150: gnu: pybind11: Add python-setuptools., guix-commits, 2022/04/24
- 118/150: gnu: python-asyncmy: Add missing build input., guix-commits, 2022/04/24
- 144/150: gnu: python-lsp-jsonrpc: Add missing test input., guix-commits, 2022/04/24
- 41/150: gnu: python-pytest-cache: Disable tests., guix-commits, 2022/04/24
- 128/150: gnu: python-bitarray: Disable tests., guix-commits, 2022/04/24
- 130/150: gnu: python-bx-python: Disable tests., guix-commits, 2022/04/24