From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH 06/10] gnu: Add python-swiftclient. Date: Sun, 27 Dec 2015 12:14:08 +0200 Message-ID: <20151227121408.5072e596@debian-netbook> References: <1449153811-32039-1-git-send-email-efraim@flashner.co.il> <1449153811-32039-7-git-send-email-efraim@flashner.co.il> <20151207212732.31b2d51e@debian-netbook> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/+i5E195V1e5rrhjqa2+gxc5"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aD8OO-0003Se-8G for guix-devel@gnu.org; Sun, 27 Dec 2015 05:17:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aD8OM-0000LL-G9 for guix-devel@gnu.org; Sun, 27 Dec 2015 05:17:36 -0500 Received: from flashner.co.il ([178.62.234.194]:56817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aD8OM-0000LG-5S for guix-devel@gnu.org; Sun, 27 Dec 2015 05:17:34 -0500 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: guix-devel@gnu.org --Sig_/+i5E195V1e5rrhjqa2+gxc5 Content-Type: multipart/mixed; boundary="MP_/c.r0Rr4_68q_UrZSL7rA+k9" --MP_/c.r0Rr4_68q_UrZSL7rA+k9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 11 Dec 2015 15:22:31 +0100 Ricardo Wurmus wrote: > [...] =20 >=20 > [...] =20 >=20 > > 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")))) = =20 >=20 > The alignment of =E2=80=9C(base32=E2=80=9D is too far to the right, I thi= nk. (Are you > using Emacs to automatically align expressions?) I'm actually using vim. Haven't gotten the hang of emacs yet. >=20 > > + (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) =20 >=20 > Sphix is probably for generating documentation, so I=E2=80=99d move this = above > the comment because it could be misunderstood. ok >=20 > > + ("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, sca= lable > > +object storage using clusters of standardized servers to store petabyt= es of > > +accessible data. It is not a file system or real-time data storage sy= stem, 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 e= xamples of > > +data that best fit this type of storage model are virtual machine imag= es, photo > > +storage, email storage and backup archiving. Having no central \"brain= \" or =20 > ^___ two spaces, please :) > =20 > > +master point of control provides greater scalability, redundancy and p= ermanence.") =20 >=20 > (Is it just me or are these lines really just a bit little longer than > usual?) I checked, this one ended at 82, so I fixed it. > > + (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))) =20 >=20 > I think this should be =E2=80=9Cpackage-propagated-inputs=E2=80=9D instea= d of > =E2=80=9Cpackage-inputs=E2=80=9D. good catch! >=20 > > + (native-inputs > > + `(("python2-keystoneclient" ,python2-keystoneclient) > > + ,@(alist-delete > > + "python-keystoneclient" > > + (package-native-inputs swiftclient))))))) > > --=20 > > 2.6.2 =20 >=20 > Otherwise okay. >=20 > ~~ Ricardo --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --MP_/c.r0Rr4_68q_UrZSL7rA+k9 Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0003-gnu-Add-python-swiftclient.patch =46rom 362fad2c72336a3becc92bb6583ec46add9432af Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 23 Nov 2015 20:27:37 +0200 Subject: [PATCH 3/9] gnu: Add python-swiftclient. * gnu/packages/openstack.scm (python-swiftclient, python2-swiftclient): New variables. --- gnu/packages/openstack.scm | 54 ++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 32507ad..b84a61c 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -750,3 +750,57 @@ 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) + ("python-sphinx" ,python-sphinx) + ;; 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-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, scala= ble +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 examp= les 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-propagated-inputs swiftclient))) + (native-inputs + `(("python2-keystoneclient" ,python2-keystoneclient) + ,@(alist-delete + "python-keystoneclient" + (package-native-inputs swiftclient))))))) --=20 2.6.4 --MP_/c.r0Rr4_68q_UrZSL7rA+k9-- --Sig_/+i5E195V1e5rrhjqa2+gxc5 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWf7nwAAoJEPTB05F+rO6TqfEQAIaTbjxiQN4WcoUezEWhurXR EK689GqBmmmcxXfiGTm9EtzhtSKfwvEnfEVzbf0/PlvTqK/3b9Q2Zd/XhrfMxJ64 MNSISomAM4qaH5S8Ti1eT1K3rCRSJQDRMp4uioqZO6va8fnSNUgBLfA/AHec3Nr8 L/4ETrTGDTJ0UlNwPsdY2iINyIyu9z47gmyQpaFd6WN+gQvcPoKfFij6JBF8OeYe z3grHT+hAQ7b6hx9asIXy1G+HOtwCMFUXw8pvezit0CSS5MpVIz3v8MJn2G0u+Vu 4nkRbbz7kqkG3o2CiIWQIgJ5+ChIHD4z3otf5JkN23/8sfMcN5W2G1PTI9qEVTvM Lvp3BMxh/mufIGm9IK1N6H989Knr6s3TncrMEH9c8JVvd5VKgI48F4rItea0Njiu 3t+jpsbPOu7LLseYMyMSVvHPLk88wCtKXvZfV38joi5pRLdDgSk15kzfdyEcwAZv xiMI+/rkc3xgHeGynnmeaLpwr02NZz3D9dioteMCLZLuuFMIS1atLgu2nY3de424 32RlwFY0QF/pykME16rtbBPB38/Tq40T/F0N1X31wFG6HhiAUEyaA6VtcGK/ukMq vah7LJpOqAbJSCY09JxMW8ES0MEZt4Qibbc2CXVVsq4xyfCuDNma4Rl12j/axfn5 S6lNeyP7er7dhy38XAmq =rxKI -----END PGP SIGNATURE----- --Sig_/+i5E195V1e5rrhjqa2+gxc5--