From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH 04/10] gnu: Add python-keystoneclient. Date: Mon, 7 Dec 2015 21:26:58 +0200 Message-ID: <20151207212658.06ad1a0c@debian-netbook> References: <1449153811-32039-1-git-send-email-efraim@flashner.co.il> <1449153811-32039-5-git-send-email-efraim@flashner.co.il> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/q.DAUudPLUdirdwm1ydQdb+"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a61Uu-0007X8-1Z for guix-devel@gnu.org; Mon, 07 Dec 2015 14:30:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a61Us-0005PN-Cl for guix-devel@gnu.org; Mon, 07 Dec 2015 14:30:55 -0500 Received: from flashner.co.il ([178.62.234.194]:43078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a61Us-0005PI-1F for guix-devel@gnu.org; Mon, 07 Dec 2015 14:30:54 -0500 Received: from debian-netbook (85.65.229.31.dynamic.barak-online.net [85.65.229.31]) by flashner.co.il (Postfix) with ESMTPSA id 69CB2404D9 for ; Mon, 7 Dec 2015 19:30:53 +0000 (UTC) In-Reply-To: <1449153811-32039-5-git-send-email-efraim@flashner.co.il> 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: guix-devel@gnu.org --Sig_/q.DAUudPLUdirdwm1ydQdb+ Content-Type: multipart/mixed; boundary="MP_/xH15lt3Kjk_=ZO7BMK_G393" --MP_/xH15lt3Kjk_=ZO7BMK_G393 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thu, 3 Dec 2015 16:43:25 +0200 Efraim Flashner wrote: > * gnu/packages/openstack.scm (python-keystoneclient) > (python2-keystoneclient): New variables. > --- > gnu/packages/openstack.scm | 73 ++++++++++++++++++++++++++++++++++++++++= +++++- > 1 file changed, 72 insertions(+), 1 deletion(-) >=20 > diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm > index 2578292..faf6ebf 100644 > --- a/gnu/packages/openstack.scm > +++ b/gnu/packages/openstack.scm > @@ -19,12 +19,14 @@ > =20 > (define-module (gnu packages openstack) > #:use-module (gnu packages python) > + #:use-module (gnu packages tls) > #:use-module (gnu packages version-control) > #:use-module (guix build-system python) > #:use-module (guix download) > #:use-module ((guix licenses) > #:select (asl2.0)) > - #:use-module (guix packages)) > + #:use-module (guix packages) > + #:use-module (srfi srfi-1)) > =20 > (define-public python-bandit > (package > @@ -679,3 +681,72 @@ handling.") > =20 > (define-public python2-oslo.utils > (package-with-python2 python-oslo.utils)) > + > +(define-public python-keystoneclient > + (package > + (name "python-keystoneclient") > + (version "1.8.1") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "python-keystoneclient" version)) > + (sha256 > + (base32 > + "1w4csvkah67rfpxylxnvs2s3594i0f9isy8pf4gnsqs5zirvjaa4")))) > + (build-system python-build-system) > + (native-inputs > + `(("python-setuptools" ,python-setuptools) > + ;; and some packages for the tests > + ("openssl" ,openssl) > + ("python-coverage" ,python-coverage) > + ("python-discover" ,python-discover) > + ("python-fixtures" ,python-fixtures) > + ("python-hacking" ,python-hacking) > + ("python-keyring" ,python-keyring) > + ("python-lxml" ,python-lxml) > + ("python-mock" ,python-mock) > + ("python-mox3" ,python-mox3) > + ("python-oauthlib" ,python-oauthlib) > + ("python-oslosphinx" ,python-oslosphinx) > + ("python-oslotest" ,python-oslotest) > + ("python-pycrypto" ,python-pycrypto) > + ("python-requests-mock" ,python-requests-mock) > + ("python-sphinx" ,python-sphinx) > + ("python-temptest-lib" ,python-tempest-lib) > + ("python-testrepository" ,python-testrepository) > + ("python-testresources" ,python-testresources) > + ("python-testtools" ,python-testtools) > + ("python-webob" ,python-webob))) > + (inputs > + `(("python-babel" ,python-babel) > + ("python-debtcollector" ,python-debtcollector) > + ("python-iso8601" ,python-iso8601) > + ("python-netaddr" ,python-netaddr) > + ("python-oslo.config" ,python-oslo.config) > + ("python-oslo.i18n" ,python-oslo.i18n) > + ("python-oslo.serialization" ,python-oslo.serialization) > + ("python-oslo.utils" ,python-oslo.utils) > + ("python-pbr" ,python-pbr) > + ("python-prettytable" ,python-prettytable) > + ("python-requests" ,python-requests) > + ("python-six" ,python-six) > + ("python-stevedore" ,python-stevedore))) > + (home-page "http://www.openstack.org/") > + (synopsis "Client Library for OpenStack Identity") > + (description > + "Python-keystoneclient is the identity service used by OpenStack for > +authentication (authN) and high-level authorization (authZ). It current= ly > +supports token-based authN with user/service authZ, and is scalable to s= upport > +OAuth, SAML, and OpenID in future versions. Out of the box, Keystone us= es > +SQLite for its identity store database, with the option to connect to ex= ternal > +LDAP.") > + (license asl2.0))) > + > +(define-public python2-keystoneclient > + (let ((keystoneclient (package-with-python2 python-keystoneclient))) > + (package (inherit keystoneclient) > + (native-inputs > + `(("python2-oauthlib" ,python2-oauthlib) > + ,@(alist-delete > + "python-oauthlib" > + (package-native-inputs keystoneclient))))))) --=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_/xH15lt3Kjk_=ZO7BMK_G393 Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0004-gnu-Add-python-keystoneclient.patch =46rom 6837ac485125476040469289072e6f59a7139939 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 23 Nov 2015 20:29:12 +0200 Subject: [PATCH 04/10] gnu: Add python-keystoneclient. * gnu/packages/openstack.scm (python-keystoneclient) (python2-keystoneclient): New variables. --- gnu/packages/openstack.scm | 73 ++++++++++++++++++++++++++++++++++++++++++= +++- 1 file changed, 72 insertions(+), 1 deletion(-) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 2578292..43f957b 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -19,12 +19,14 @@ =20 (define-module (gnu packages openstack) #:use-module (gnu packages python) + #:use-module (gnu packages tls) #:use-module (gnu packages version-control) #:use-module (guix build-system python) #:use-module (guix download) #:use-module ((guix licenses) #:select (asl2.0)) - #:use-module (guix packages)) + #:use-module (guix packages) + #:use-module (srfi srfi-1)) =20 (define-public python-bandit (package @@ -679,3 +681,72 @@ handling.") =20 (define-public python2-oslo.utils (package-with-python2 python-oslo.utils)) + +(define-public python-keystoneclient + (package + (name "python-keystoneclient") + (version "1.8.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-keystoneclient" version)) + (sha256 + (base32 + "1w4csvkah67rfpxylxnvs2s3594i0f9isy8pf4gnsqs5zirvjaa4")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools" ,python-setuptools) + ;; and some packages for the tests + ("openssl" ,openssl) + ("python-coverage" ,python-coverage) + ("python-discover" ,python-discover) + ("python-fixtures" ,python-fixtures) + ("python-hacking" ,python-hacking) + ("python-keyring" ,python-keyring) + ("python-lxml" ,python-lxml) + ("python-mock" ,python-mock) + ("python-mox3" ,python-mox3) + ("python-oauthlib" ,python-oauthlib) + ("python-oslosphinx" ,python-oslosphinx) + ("python-oslotest" ,python-oslotest) + ("python-pycrypto" ,python-pycrypto) + ("python-requests-mock" ,python-requests-mock) + ("python-sphinx" ,python-sphinx) + ("python-temptest-lib" ,python-tempest-lib) + ("python-testrepository" ,python-testrepository) + ("python-testresources" ,python-testresources) + ("python-testtools" ,python-testtools) + ("python-webob" ,python-webob))) + (propagated-inputs + `(("python-babel" ,python-babel) + ("python-debtcollector" ,python-debtcollector) + ("python-iso8601" ,python-iso8601) + ("python-netaddr" ,python-netaddr) + ("python-oslo.config" ,python-oslo.config) + ("python-oslo.i18n" ,python-oslo.i18n) + ("python-oslo.serialization" ,python-oslo.serialization) + ("python-oslo.utils" ,python-oslo.utils) + ("python-pbr" ,python-pbr) + ("python-prettytable" ,python-prettytable) + ("python-requests" ,python-requests) + ("python-six" ,python-six) + ("python-stevedore" ,python-stevedore))) + (home-page "http://www.openstack.org/") + (synopsis "Client Library for OpenStack Identity") + (description + "Python-keystoneclient is the identity service used by OpenStack for +authentication (authN) and high-level authorization (authZ). It currently +supports token-based authN with user/service authZ, and is scalable to sup= port +OAuth, SAML, and OpenID in future versions. Out of the box, Keystone uses +SQLite for its identity store database, with the option to connect to exte= rnal +LDAP.") + (license asl2.0))) + +(define-public python2-keystoneclient + (let ((keystoneclient (package-with-python2 python-keystoneclient))) + (package (inherit keystoneclient) + (native-inputs + `(("python2-oauthlib" ,python2-oauthlib) + ,@(alist-delete + "python-oauthlib" + (package-native-inputs keystoneclient))))))) --=20 2.6.2 --MP_/xH15lt3Kjk_=ZO7BMK_G393-- --Sig_/q.DAUudPLUdirdwm1ydQdb+ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWZd2CAAoJEPTB05F+rO6TRRYQAJOlS05Sm9rcpemFRTzKgzyC DJZO1H7eXIVIZLUW8eyiUnM9tO4wUHjiy2ERrNPwPcs4cQB0IaMXj9MZOZBDSIEV M6upMiMSykKG0BVPha9AFMk+InRmKpKIVaqyBAIkM+9ctVv1EPUO0TTdzk2RBNMU BdqtWWXfFuomx2o0FOaeqN6nAT58xf5CXV9TqEoa3510t4/9jR9Dz/+K731aehd1 OAyH3oqgxipGN0Y41Z91IW5NVIBuVpUb8ye3xX4FMqcAXulWRCkrg1na7cMkAFpD +d+NnJVw0tTEwZgx+06DVwA6KeUHBE+nVrCzCdpD2703ourjHI7ZRXH7aLkP+POc Mca8BxPtuPYcomNmP0oKJmsNCRSfwf06tM5aaWQDM+h9tBKjZhNkbAzJObZGpROb BNXAiterpCpLDDjaIzZVCRNBS1bEi9QEAWq5vZ85I1a95fR/QCcaIqi8TGkio6GN MJRznmW/e0fdeipV9s3xgZA4Un0GzHQVZFLmZAJ2ig6JSwY+PzFVQ8rEEXjg7I0B 1p3YJJQ1d2c3Vz0JRz+SfB1MABMYBNbWLAkdXbQLJE1N4Bl+pxhoEiVZEuHlohzY ibgMONRrbVF/KIKUDLfQWgDx/DMbBDHxSXyK62WuUyWd0UAbkv4VDgwrflKlVuZe m34G6C/stfMZ6NKPScem =2SIJ -----END PGP SIGNATURE----- --Sig_/q.DAUudPLUdirdwm1ydQdb+--