guix-commits
[Top][All Lists]
Advanced

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

01/07: gnu: python-flufl-bounce: Update to 4.0.


From: guix-commits
Subject: 01/07: gnu: python-flufl-bounce: Update to 4.0.
Date: Sat, 22 Jan 2022 06:47:38 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 7ff27f1dde14bc91037cf4c335fbeb6c55ddf45a
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Jan 22 11:01:27 2022 +0100

    gnu: python-flufl-bounce: Update to 4.0.
    
    * gnu/packages/python-xyz.scm (python-flufl-bounce): Update to 4.0.
    [arguments]: Replace check phase.
    [native-inputs]: Add PYTHON-FLUFL-TESTING.
---
 gnu/packages/python-xyz.scm | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 47d7f151eb..1d1d521eb0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26196,19 +26196,28 @@ validation.")
 (define-public python-flufl-bounce
   (package
     (name "python-flufl-bounce")
-    (version "3.0.1")
+    (version "4.0")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "flufl.bounce" version))
         (sha256
          (base32
-          "01lg1b0jpf8605mzaz9miq3nray6s7a7gc8n4wzg5nsxl8fglcp4"))))
+          "0c9qc2l47lyqnpwskp6vvi7m3jqh6hx42v6d35dgxh3fjzmlll15"))))
     (build-system python-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (replace 'check
+                 (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+                   (when tests?
+                     (with-directory-excursion
+                         (string-append (site-packages inputs outputs) 
"/flufl")
+                       (invoke "python" "-m" "nose2" "-v"))))))))
     (propagated-inputs
      (list python-atpublic python-zope-interface))
     (native-inputs
-     (list python-nose2))
+     (list python-flufl-testing python-nose2))
     (home-page "https://fluflbounce.readthedocs.io/en/latest/";)
     (synopsis "Email bounce detectors")
     (description "The @code{flufl.bounce} library provides a set of heuristics



reply via email to

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