all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: guix-devel@gnu.org
Subject: Re: [PATCH 06/10] gnu: Add python-swiftclient.
Date: Mon, 7 Dec 2015 21:27:32 +0200	[thread overview]
Message-ID: <20151207212732.31b2d51e@debian-netbook> (raw)
In-Reply-To: <1449153811-32039-7-git-send-email-efraim@flashner.co.il>


[-- Attachment #1.1: Type: text/plain, Size: 3247 bytes --]

On Thu,  3 Dec 2015 16:43:27 +0200
Efraim Flashner <efraim@flashner.co.il> 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   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0006-gnu-Add-python-swiftclient.patch --]
[-- Type: text/x-patch, Size: 3059 bytes --]

From 9207e8e3ae7cc78e6377cd811ce30454fce42081 Mon Sep 17 00:00:00 2001
From: Efraim Flashner <efraim@flashner.co.il>
Date: Mon, 23 Nov 2015 20:27:37 +0200
Subject: [PATCH 06/10] gnu: Add python-swiftclient.

* 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 43f957b..d0f65f0 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)))
+  (propagated-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)
+      (propagated-inputs
+       `(("python2-futures" ,python2-futures)
+         ,@(package-inputs swiftclient)))
+      (native-inputs
+       `(("python2-keystoneclient" ,python2-keystoneclient)
+         ,@(alist-delete
+            "python-keystoneclient"
+            (package-native-inputs swiftclient)))))))
-- 
2.6.2


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-12-07 19:31 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-03 14:43 [PATCH 00/10] git-annex special-remote hubiC support Efraim Flashner
2015-12-03 14:43 ` [PATCH 01/10] gnu: Add python-pytest-cov Efraim Flashner
2015-12-03 22:25   ` Ricardo Wurmus
2015-12-07 19:25     ` Efraim Flashner
2015-12-11 14:03       ` Ricardo Wurmus
2015-12-17 19:02         ` Efraim Flashner
2015-12-20 13:43           ` Ricardo Wurmus
2015-12-27 10:14             ` Efraim Flashner
2015-12-30 14:10               ` Ricardo Wurmus
2015-12-30 20:36                 ` Efraim Flashner
2015-12-30 20:45                   ` Ricardo Wurmus
2015-12-31 11:28                     ` Mathieu Lirzin
2015-12-31 11:32                       ` Ricardo Wurmus
2016-01-04 15:56               ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 02/10] gnu: Add python-wheel Efraim Flashner
2015-12-07 19:26   ` Efraim Flashner
2015-12-11 14:07     ` Ricardo Wurmus
2015-12-27 10:13       ` Efraim Flashner
2016-01-04 16:01         ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 03/10] gnu: python-requests: Update to 2.8.1 Efraim Flashner
2015-12-07 19:26   ` Efraim Flashner
2015-12-11 14:08     ` Ricardo Wurmus
2015-12-03 14:43 ` [PATCH 04/10] gnu: Add python-keystoneclient Efraim Flashner
2015-12-07 19:26   ` Efraim Flashner
2015-12-11 14:15     ` Ricardo Wurmus
2015-12-27 10:13       ` Efraim Flashner
2016-01-04 16:00         ` Ludovic Courtès
2016-01-04 16:33         ` Ricardo Wurmus
2015-12-03 14:43 ` [PATCH 05/10] gnu: Add python2-futures Efraim Flashner
2015-12-07 19:27   ` Efraim Flashner
2015-12-11 14:17     ` Ricardo Wurmus
2015-12-27 10:15       ` Efraim Flashner
2016-01-04 15:57         ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 06/10] gnu: Add python-swiftclient Efraim Flashner
2015-12-07 19:27   ` Efraim Flashner [this message]
2015-12-11 14:22     ` Ricardo Wurmus
2015-12-27 10:14       ` Efraim Flashner
2016-01-04 16:03         ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 07/10] gnu: Add python-rauth Efraim Flashner
2015-12-03 19:26   ` Efraim Flashner
2015-12-04  9:53   ` Ricardo Wurmus
2015-12-07 19:27     ` Efraim Flashner
2015-12-11 14:23       ` Ricardo Wurmus
2015-12-27 10:15         ` Efraim Flashner
2016-01-04 16:04           ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 08/10] gnu: Add python-pyasn1-modules Efraim Flashner
2015-12-07 19:28   ` Efraim Flashner
2015-12-11 14:29     ` Ricardo Wurmus
2015-12-27 10:13       ` Efraim Flashner
2016-01-04 16:04         ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 09/10] gnu: Add python2-functools32 Efraim Flashner
2015-12-04 10:00   ` Ricardo Wurmus
2015-12-07 19:28     ` Efraim Flashner
2015-12-11 14:30       ` Ricardo Wurmus
2015-12-27 10:12         ` Efraim Flashner
2015-12-30 14:11           ` Ricardo Wurmus
2016-01-04 16:05             ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 10/10] gnu: Add git-annex-remote-hubic Efraim Flashner
2015-12-04  9:57   ` Ricardo Wurmus
2015-12-07 19:30     ` Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151207212732.31b2d51e@debian-netbook \
    --to=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.