GNU bug report logs - #40318
[PATCH] gnu: Add tuir.

Previous Next

Package: guix-patches;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Mon, 30 Mar 2020 02:36:22 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 40318 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Efraim Flashner <efraim <at> flashner.co.il>, 40318 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>
Subject: Re: [bug#40318] [PATCH] gnu: Add tuir.
Date: Thu, 02 Apr 2020 19:14:25 +0200
[Message part 1 (text/plain, inline)]
Efraim Flashner <efraim <at> flashner.co.il> 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.

Also note that "py.test" is deprecated and one is supposed to use just
"pytest" nowadays IIRC.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.