guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/4] gnu: Add python-oslo.context.


From: Mathieu Lirzin
Subject: Re: [PATCH 2/4] gnu: Add python-oslo.context.
Date: Tue, 15 Sep 2015 18:36:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Cyril Roelandt <address@hidden> writes:

> * gnu/packages/openstack.scm (python-oslo.context,
>   python2-oslo.context): New variables.
> ---
>  gnu/packages/openstack.scm | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>
> diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
> index 04ddbb3..1a2af79 100644
> --- a/gnu/packages/openstack.scm
> +++ b/gnu/packages/openstack.scm
> @@ -253,6 +253,37 @@ extensions.")
>  (define-public python2-oslo.config
>    (package-with-python2 python-oslo.config))
>  
> +(define-public python-oslo.context
> +  (package
> +    (name "python-oslo.context")
> +    (version "0.6.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             "https://pypi.python.org/packages/source/o/oslo.context/";
> +             "oslo.context-" version ".tar.gz"))
> +       (sha256
> +         (base32
> +          "16wr9qrkc3lb94ssb14qid4liza66x316fvzjw0izg67h1a0fm86"))))

   (sha256
    (base32
     "..."))

> +    (build-system python-build-system)
> +    (inputs
> +      `(("python-babel" ,python-babel)
> +        ("python-pbr" ,python-pbr)
> +        ("python-setuptools" ,python-setuptools)
> +        ;; Tests.
> +        ("python-oslotest" ,python-oslotest)))
> +    (home-page "http://launchpad.net/oslo";)
> +    (synopsis "Oslo context library")
> +    (description
> +      "The Oslo context library has helpers to maintain useful information
> +about a request context. The request context is usually populated in the WSGI
                           ^^^
2 spaces here.

> +pipeline and used by various modules such as logging.")
> +    (license asl2.0)))
> +
> +(define-public python2-oslo.context
> +  (package-with-python2 python-oslo.context))
> +
>  (define-public python-oslo.i18n
>    (package
>      (name "python-oslo.i18n")

Otherwise, LGTM.

--
Mathieu Lirzin



reply via email to

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