Subject: Re: [bug#40318] [PATCH] gnu: Add tuir.
From: Efraim Flashner <[email-masked]>
To: Marius Bakke <[email-masked]>
Cc: [email-masked]
Date: Sun, 5 Apr 2020 09:44:49 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

On Thu, Apr 02, 2020 at 07:14:25PM +0200, Marius Bakke wrote:
> Efraim Flashner <[email-masked]> writes:
> 
> > * gnu/packages/syndication.scm (tuir): New variable.
> 
> [...]
> 
> > +    (build-system python-build-system)
> > +    (arguments
> > +     `(#:phases
> > +       (modify-phases %standard-phases
> > +         (replace 'check
> > +           (lambda* (#:key inputs outputs #:allow-other-keys)
> > +             (add-installed-pythonpath inputs outputs)
> > +             (invoke "py.test" "-v"))))))
> > +    (propagated-inputs
> > +     `(("python-beautifulsoup4" ,python-beautifulsoup4)
> > +       ("python-decorator" ,python-decorator)
> > +       ("python-kitchen" ,python-kitchen)
> > +       ("python-requests" ,python-requests)
> > +       ("python-six" ,python-six)))
> 
> As this is a terminal application, I guess these inputs can be regular
> inputs instead of propagated?  The 'wrap' phase should take care of
> things automatically.
> 

Good call, I forgot about that one.

> Also note that "py.test" is deprecated and one is supposed to use just
> "pytest" nowadays IIRC.

TIL. I was working from their test suite command.

Patch pushed.

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted