guix-patches
[Top][All Lists]
Advanced

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

[bug#52696] [PATCH 05/12] gnu: python-dictdiffer: Update to 0.9.0.


From: Vinicius Monego
Subject: [bug#52696] [PATCH 05/12] gnu: python-dictdiffer: Update to 0.9.0.
Date: Tue, 21 Dec 2021 04:46:36 +0000

* gnu/packages/python-xyz.scm (python-dictdiffer): Update to 0.9.0.
[source]: Make some cosmetic changes.
[arguments]: Override 'check phase.
[native-inputs]: Remove python-check-manifest, python-coverage, python-isort,
python-pytest-cache, python-pytest-pep8, python-tox. Add python-pytest-isort,
python-pytest-pycodestyle, python-pytest-pydocstyle.
---
 gnu/packages/python-xyz.scm | 35 ++++++++++++++++++++---------------
 1 file changed, 20 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fb29708c02..18ca99cd8b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25094,27 +25094,32 @@ cryptographically signed ones).")
 (define-public python-dictdiffer
   (package
     (name "python-dictdiffer")
-    (version "0.8.1")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "dictdiffer" version))
-              (sha256
-               (base32
-                "1lk3qmy1hkaphk4n7ayfk0wl6m2yvd6r7qkam6yncqfzgkbc1phs"))))
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "dictdiffer" version))
+       (sha256
+        (base32 "0y3mk74qm2q9hsm37892i1wzn8bbdrvbs4nmnvqwq4z6pxgwzfhp"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest")))))))
     (native-inputs
-     (list python-check-manifest
-           python-coverage
-           python-isort
-           python-mock
+     (list python-mock
            python-pydocstyle
-           python-pytest-cache
            python-pytest-cov
-           python-pytest-pep8
+           python-pytest-isort
+           python-pytest-pycodestyle
+           python-pytest-pydocstyle
            python-pytest-runner
            python-pytest
-           python-setuptools-scm
-           python-tox))
+           python-setuptools-scm))
     (home-page "https://github.com/inveniosoftware/dictdiffer";)
     (synopsis "Diff and patch Python dictionary objects")
     (description
-- 
2.30.2






reply via email to

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