Subject: Re: [bug#50628] [PATCH 007/154] gnu: Add python-ofxparse.

From: Maxime Devos <[email-masked]>
Date: Fri, 17 Sep 2021 14:36:32 +0200

Hartmut Goebel schreef op vr 17-09-2021 om 00:52 [+0200]:

> +(define-public python-ofxparse
> +  (package
> +    (name "python-ofxparse")
> +    (version "0.21")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "ofxparse" version))
> +       (sha256
> +        (base32 "19y4sp5l9jqiqzzlbqdfiab42qx7d84n4xm4s7jfq397666vcyh5"))))
> +    (build-system python-build-system)
> +    (arguments
> +     '(#:phases
> +       (modify-phases %standard-phases
> +         (replace 'check
> +           (lambda _
> +             (invoke "nosetests" "-v"))))))

Use (when tests? ...) (see my reply to the patch about python-xlwt).