guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: python-configargparse: Update to 1.5.3.


From: guix-commits
Subject: 01/02: gnu: python-configargparse: Update to 1.5.3.
Date: Mon, 24 Apr 2023 00:01:23 -0400 (EDT)

podiki pushed a commit to branch core-updates
in repository guix.

commit 6b9e3f0dd1ea68204c960badae2a11489d1f029f
Author: John Kehayias <john.kehayias@protonmail.com>
AuthorDate: Sun Apr 23 23:39:32 2023 -0400

    gnu: python-configargparse: Update to 1.5.3.
    
    * gnu/packages/python-xyz.scm (python-configargparse): Update to 1.5.3.
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Remove previous 'check' phase.
    [native-inputs]: Add python-mock and python-pytest, remove python-pyyaml.
---
 gnu/packages/python-xyz.scm | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bfaef9e990..bc1360c000 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14793,28 +14793,16 @@ consistent API regardless of how the configuration 
was created.")
 (define-public python-configargparse
   (package
     (name "python-configargparse")
-    (version "1.2.3")
+    (version "1.5.3")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "ConfigArgParse" version))
               (sha256
                (base32
-                "1p1pzpf5qpf80bfxsx1mbw9blyhhypjvhl3i60pbmhfmhvlpplgd"))))
-    (build-system python-build-system)
+                "17vky4ihicbf7nggg30xs7h3g5rxzwgch8vilnnrvdaacszkq2qv"))))
+    (build-system pyproject-build-system)
     (native-inputs
-     (list python-pyyaml))
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda _
-             ;; Bypass setuptools-shim because one test relies on "setup.py"
-             ;; being the first argument passed to the python call.
-             ;;
-             ;; NOTE: Many tests do not run because they rely on Python's
-             ;; built-in test.test_argparse, but we remove the unit tests from
-             ;; our Python installation.
-             (invoke "python" "setup.py" "test"))))))
+     (list python-mock python-pytest))
     (synopsis "Replacement for argparse")
     (description "A drop-in replacement for argparse that allows options to 
also
 be set via config files and/or environment variables.")



reply via email to

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