diff options
author | Marius Bakke <marius@gnu.org> | 2022-01-22 11:01:27 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-01-22 12:42:47 +0100 |
commit | 7ff27f1dde14bc91037cf4c335fbeb6c55ddf45a (patch) | |
tree | 45ba78d1d423df7b2e845f5a7e0b891c1b4b9392 | |
parent | 97176b4d9c4a44bd36daff1f387d87cc26a1d9dc (diff) | |
download | guix-7ff27f1dde14bc91037cf4c335fbeb6c55ddf45a.tar.gz |
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.
-rw-r--r-- | gnu/packages/python-xyz.scm | 15 |
1 files 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 |