guix-patches
[Top][All Lists]
Advanced

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

bug#26692: [PATCH v2] gnu: python-openid: Fix package.


From: Marius Bakke
Subject: bug#26692: [PATCH v2] gnu: python-openid: Fix package.
Date: Fri, 28 Apr 2017 16:30:03 +0200
User-agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu)

Danny Milosavljevic <address@hidden> writes:

> * gnu/packages/python.scm (python-openid)[arguments]: Replace 'check phase.
> [propagated-inputs]: Add python-defusedxml.
> [native-inputs]: Add python-psycopg2.
> ---
>  gnu/packages/python.scm | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index e51405bd9..313e69975 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -5523,6 +5523,19 @@ features useful for text console applications.")
>          (base32
>           "1x3nh3fycqfn43jp5j5pb4q4y2jxp4mdka4absaa3bc0078qd758"))))
>      (build-system python-build-system)
> +    (arguments
> +     `(#:phases
> +       (modify-phases %standard-phases
> +        (replace 'check
> +          (lambda _
> +            (substitute* "admin/runtests"
> +              (("django_failures = django_tests..")
> +               "print('Disabled Django tests')"))

Can you add a comment/TODO/FIXME here about why Django tests needs to be
disabled? Other than that looks OK.

> +            (zero? (system* "./admin/runtests")))))))
> +    (propagated-inputs
> +     `(("python-defusedxml" ,python-defusedxml)))
> +    (native-inputs
> +     `(("python-psycopg2" ,python-psycopg2)))
>      (home-page "https://github.com/necaris/python3-openid";)
>      (synopsis "OpenID support for servers and consumers")
>      (description "This library provides OpenID authentication for Python, 
> both

Attachment: signature.asc
Description: PGP signature


reply via email to

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