guix-commits
[Top][All Lists]
Advanced

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

175/242: gnu: python-parse-type: Update to 0.6.0, fixing build.


From: guix-commits
Subject: 175/242: gnu: python-parse-type: Update to 0.6.0, fixing build.
Date: Thu, 12 May 2022 14:14:26 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 1f88242992346d4e09d959abebb3fc34933bc6b5
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Apr 19 12:52:55 2022 -0400

    gnu: python-parse-type: Update to 0.6.0, fixing build.
    
    * gnu/packages/python-xyz.scm (python-parse-type): Update to 0.6.0.
    [arguments]: New field.
    [native-inputs]: Remove python-pytest-runner and python-setuptools.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++------------
 1 file changed, 15 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a2713caa0f..d47d9507ba 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2968,21 +2968,24 @@ backported for previous versions of Python from 2.4 to 
3.3.")
 (define-public python-parse-type
   (package
     (name "python-parse-type")
-    (version "0.5.2")
+    (version "0.6.0")
     (source
      (origin
-      (method url-fetch)
-      (uri (pypi-uri "parse_type" version))
-      (sha256
-       (base32
-        "02wclgiqky06y36b3q07b7ngpks5j0gmgl6n71ac2j2hscc0nsbz"))))
+       (method url-fetch)
+       (uri (pypi-uri "parse_type" version))
+       (sha256
+        (base32
+         "07smqnzc9km7sbvxfyx4gdm9njrx58x8grdw6gs4gva81rk3rd10"))))
     (build-system python-build-system)
-    (propagated-inputs
-     (list python-six python-parse))
-    (native-inputs
-     ;; Use setuptools < 58 to work around
-     ;; https://github.com/jenisys/parse_type/issues/17
-     (list python-pytest python-pytest-runner python-setuptools))
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "pytest" "-vv" "-c" "/dev/null")))))))
+    (propagated-inputs (list python-six python-parse))
+    (native-inputs (list python-pytest))
     (home-page "https://github.com/jenisys/parse_type";)
     (synopsis "Extended parse module")
     (description



reply via email to

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