guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 06/10] gnu: Add python-swiftclient.


From: Efraim Flashner
Subject: Re: [PATCH 06/10] gnu: Add python-swiftclient.
Date: Mon, 7 Dec 2015 21:27:32 +0200

On Thu,  3 Dec 2015 16:43:27 +0200
Efraim Flashner <address@hidden> wrote:

> * gnu/packages/openstack.scm (python-swiftclient, python2-swiftclient):
> New variables.
> ---
>  gnu/packages/openstack.scm | 53 
> ++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 53 insertions(+)
> 
> diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
> index faf6ebf..186c56d 100644
> --- a/gnu/packages/openstack.scm
> +++ b/gnu/packages/openstack.scm
> @@ -750,3 +750,56 @@ LDAP.")
>           ,@(alist-delete
>              "python-oauthlib"
>              (package-native-inputs keystoneclient)))))))
> +
> +(define-public python-swiftclient
> +  (package
> +    (name "python-swiftclient")
> +    (version "2.6.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (pypi-uri "python-swiftclient" version))
> +        (sha256
> +          (base32
> +           "1j33l4z9vqh0scfncl4fxg01zr1hgqxhhai6gvcih1gccqm4nd7p"))))
> +  (build-system python-build-system)
> +  (native-inputs
> +   `(("python-pbr", python-pbr)
> +     ("python-setuptools" ,python-setuptools)
> +     ;; some packages are needed for the tests
> +     ("python-coverage" ,python-coverage)
> +     ("python-discover" ,python-discover)
> +     ("python-hacking" ,python-hacking)
> +     ("python-mock" ,python-mock)
> +     ("python-oslosphinx" ,python-oslosphinx)
> +     ("python-keystoneclient" ,python-keystoneclient)
> +     ("python-sphinx" ,python-sphinx)
> +     ("python-testrepository" ,python-testrepository)
> +     ("python-testtools" ,python-testtools)))
> +  (inputs
> +   `(("python-requests" ,python-requests)
> +     ("python-six" ,python-six)))
> +  (home-page "http://www.openstack.org/";)
> +  (synopsis "OpenStack Object Storage API Client Library")
> +  (description
> +   "OpenStack Object Storage (code-named Swift) creates redundant, scalable
> +object storage using clusters of standardized servers to store petabytes of
> +accessible data.  It is not a file system or real-time data storage system, 
> but
> +rather a long-term storage system for a more permanent type of static data 
> that
> +can be retrieved, leveraged, and then updated if necessary.  Primary 
> examples of
> +data that best fit this type of storage model are virtual machine images, 
> photo
> +storage, email storage and backup archiving. Having no central \"brain\" or
> +master point of control provides greater scalability, redundancy and 
> permanence.")
> +  (license asl2.0)))
> +
> +(define-public python2-swiftclient
> +  (let ((swiftclient (package-with-python2 python-swiftclient)))
> +    (package (inherit swiftclient)
> +      (inputs
> +       `(("python2-futures" ,python2-futures)
> +         ,@(package-inputs swiftclient)))
> +      (native-inputs
> +       `(("python2-keystoneclient" ,python2-keystoneclient)
> +         ,@(alist-delete
> +            "python-keystoneclient"
> +            (package-native-inputs swiftclient)))))))



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

Attachment: 0006-gnu-Add-python-swiftclient.patch
Description: Text Data

Attachment: pgpAEvWy2Ize7.pgp
Description: OpenPGP digital signature


reply via email to

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