guix-commits
[Top][All Lists]
Advanced

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

05/09: gnu: python-keyring: Update to 22.0.1.


From: guix-commits
Subject: 05/09: gnu: python-keyring: Update to 22.0.1.
Date: Mon, 15 Feb 2021 04:37:56 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit d9784b1a63ad26b5b54ef605f77933eea6de44a7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Feb 14 14:18:08 2021 +0200

    gnu: python-keyring: Update to 22.0.1.
    
    * gnu/packages/python-crypto.scm (python-keyring): Update to 22.0.1.
    [source]: Remove snippet.
    [arguments]: Adjust custom 'check phase to just run tests.
    [native-inputs]: Add python-toml, python-setuptools.
    [propagated-inputs]: Remove python-importlib-metadata.
---
 gnu/packages/python-crypto.scm | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 91b10e9..9739de1 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -369,39 +369,31 @@ do what is needed for client/server Kerberos 
authentication based on
 (define-public python-keyring
   (package
     (name "python-keyring")
-    (version "21.0.0")
+    (version "22.0.1")
     (source
      (origin
       (method url-fetch)
       (uri (pypi-uri "keyring" version))
       (sha256
        (base32
-        "1k0w3yh3fz0qp0cvkxdiinq9jzbrnc6bd88qpjz34x3cgcr94psz"))
-      (modules '((guix build utils)))
-      (snippet
-        ;; https://github.com/jaraco/keyring/issues/414
-       '(begin (substitute* "tests/test_packaging.py"
-                 (("ep, =") "(ep,) =")) #t))))
+        "1pvqc6may03did0iz98gasg7cy4h8ljzs4ibh927bfzda8a3xjws"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
          (replace 'check
            (lambda _
-             ;; Not clear why this test fails.
-             (delete-file "tests/test_packaging.py")
-             (substitute* "pytest.ini"
-               (("--black ") ""))
              (invoke "pytest"))))))
     (native-inputs
-     `(("python-pytest" ,python-pytest)
+     `(("python-toml" ,python-toml)
+       ("python-pytest" ,python-pytest)
        ("python-pytest-checkdocs" ,python-pytest-checkdocs)
        ("python-pytest-cov" ,python-pytest-cov)
        ("python-pytest-flake8" ,python-pytest-flake8)
+       ("python-setuptools" ,python-setuptools)
        ("python-setuptools-scm" ,python-setuptools-scm)))
     (propagated-inputs
-     `(("python-importlib-metadata" ,python-importlib-metadata)
-       ("python-secretstorage" ,python-secretstorage)))
+     `(("python-secretstorage" ,python-secretstorage)))
     (home-page "https://github.com/jaraco/keyring";)
     (synopsis "Store and access your passwords safely")
     (description



reply via email to

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