[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
58/150: gnu: python-html5lib: Enable tests.
From: |
guix-commits |
Subject: |
58/150: gnu: python-html5lib: Enable tests. |
Date: |
Sun, 24 Apr 2022 05:12:22 -0400 (EDT) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit 4f5fa1a710696f43e9960c4e219a015605eda056
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Thu Dec 30 10:06:12 2021 +0100
gnu: python-html5lib: Enable tests.
* gnu/packages/python-web.scm (python-html5lib)[arguments]: Remove.
[origin]: Add patch enabling support for Pytest 6.
[native-inputs]: Add python-pytest and python-pytest-expect.
---
gnu/packages/python-web.scm | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index c690012fb4..549e4f8650 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1255,14 +1255,27 @@ storage.")
(uri (pypi-uri "html5lib" version))
(sha256
(base32
- "0vqlhk0hgbsfkh7ybmby93xhlx8dq6pr5blf356ka3z2c41b9rdj"))))
+ "0vqlhk0hgbsfkh7ybmby93xhlx8dq6pr5blf356ka3z2c41b9rdj"))
+ (patches
+ (list
+ ;; Adds Pytest 6 support.
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/html5lib/"
+ "html5lib-python/commit/"
+ "2c19b9899ab3a3e8bd0ca35e5d78544334204169.patch"))
+ (file-name "python-html5lib-support-pytest6.patch")
+ (sha256
+ (base32
+ "0jg2ry0439q8n7j1mf4p2hdq54i704pq9scv4wwa2pp3cwvb6dvg")))))))
(build-system python-build-system)
(propagated-inputs
(list python-six python-webencodings
;; Required by Calibre 5.
python-chardet))
- (arguments
- `(#:test-target "check"))
+ (native-inputs
+ (list python-pytest python-pytest-expect))
(home-page
"https://github.com/html5lib/html5lib-python")
(synopsis
- 14/150: gnu: python-pyzmq: Fix #:configure-flags type., (continued)
- 14/150: gnu: python-pyzmq: Fix #:configure-flags type., guix-commits, 2022/04/24
- 13/150: gnu: python-confuse: Add missing test inputs., guix-commits, 2022/04/24
- 22/150: gnu: python-funcparserlib: Disable tests., guix-commits, 2022/04/24
- 39/150: gnu: python-rencode: Disable tests., guix-commits, 2022/04/24
- 37/150: gnu: python-pycosat: Run tests., guix-commits, 2022/04/24
- 40/150: gnu: duplicity: Remove obsolete test target., guix-commits, 2022/04/24
- 45/150: gnu: epour: Remove old build flag., guix-commits, 2022/04/24
- 62/150: gnu: python-venusian: Remove obsolete argument., guix-commits, 2022/04/24
- 47/150: gnu: Add missing #:use-module., guix-commits, 2022/04/24
- 49/150: gnu: python-pytest-remotedata: Disable tests., guix-commits, 2022/04/24
- 58/150: gnu: python-html5lib: Enable tests.,
guix-commits <=
- 82/150: gnu: python-yamllint: Remove redundant input., guix-commits, 2022/04/24
- 72/150: gnu: python-pep517: Reset timestamps and add missing build input., guix-commits, 2022/04/24
- 74/150: gnu: python-entrypoints: Fix build and enable tests., guix-commits, 2022/04/24
- 84/150: gnu: python-eliot: Remove redundant input., guix-commits, 2022/04/24
- 88/150: gnu: python-cairocffi: Disable tests., guix-commits, 2022/04/24
- 78/150: gnu: python-apipkg: Disable tests., guix-commits, 2022/04/24
- 80/150: gnu: python-isort: Remove custom build phases., guix-commits, 2022/04/24
- 93/150: gnu: python-dnaio: Disable tests., guix-commits, 2022/04/24
- 91/150: gnu: python-progressbar2: Disable tests., guix-commits, 2022/04/24
- 65/150: gnu: scons: Remove obsolete argument., guix-commits, 2022/04/24