1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Cyril Roelandt <tipecaml@gmail.com>
3 ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
4 ;;; Copyright © 2016, 2017, 2019 Clément Lassieur <clement@lassieur.org>
5 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
6 ;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
7 ;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
8 ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
10 ;;; This file is part of GNU Guix.
12 ;;; GNU Guix is free software; you can redistribute it and/or modify it
13 ;;; under the terms of the GNU General Public License as published by
14 ;;; the Free Software Foundation; either version 3 of the License, or (at
15 ;;; your option) any later version.
17 ;;; GNU Guix is distributed in the hope that it will be useful, but
18 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ;;; GNU General Public License for more details.
22 ;;; You should have received a copy of the GNU General Public License
23 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
25 (define-module (gnu packages openstack)
26 #:use-module (gnu packages)
27 #:use-module (gnu packages check)
28 #:use-module (gnu packages gnupg)
29 #:use-module (gnu packages python)
30 #:use-module (gnu packages python-check)
31 #:use-module (gnu packages python-crypto)
32 #:use-module (gnu packages python-web)
33 #:use-module (gnu packages python-xyz)
34 #:use-module (gnu packages sphinx)
35 #:use-module (gnu packages ssh)
36 #:use-module (gnu packages time)
37 #:use-module (gnu packages tls)
38 #:use-module (gnu packages version-control)
39 #:use-module (gnu packages xml)
40 #:use-module (guix build-system python)
41 #:use-module (guix download)
42 #:use-module ((guix licenses)
44 #:use-module (guix packages)
45 #:use-module (srfi srfi-1))
47 (define-public python-bandit
49 (name "python-bandit")
54 (uri (pypi-uri "bandit" version))
57 "0rb034c99pyhb4a60z7f2kz40cjydhm8m9v2blaal1rmhlam7rs1"))))
58 (build-system python-build-system)
60 ;; The tests are disabled to avoid a circular dependency with
64 `(("python-gitpython" ,python-gitpython)
65 ("python-pyyaml" ,python-pyyaml)
66 ("python-six" ,python-six)
67 ("python-stevedore" ,python-stevedore)))
69 `(("python-pbr" ,python-pbr)))
70 (home-page "https://github.com/PyCQA/bandit")
71 (synopsis "Security oriented static analyser for python code")
72 (description "Bandit is a tool designed to find common security issues in
73 Python code. To do this Bandit processes each file, builds an AST from it,
74 and runs appropriate plugins against the AST nodes. Once Bandit has finished
75 scanning all the files it generates a report.")
78 (define-public python-cliff
85 (uri (pypi-uri "cliff" version))
88 "0n8pzr0mnn9lq2mykds69ij2xrn0fsirh4ndmkx0mzydbx5niysv"))))
89 (build-system python-build-system)
93 `(("python-pbr" ,python-pbr)))
95 `(("python-cmd2" ,python-cmd2)
96 ("python-prettytable" ,python-prettytable)
97 ("python-pyparsing" ,python-pyparsing)
98 ("python-pyyaml" ,python-pyyaml)
99 ("python-bandit" ,python-bandit)
100 ("python-stevedore" ,python-stevedore)))
101 (home-page "https://opendev.org/openstack/cliff")
102 (synopsis "Framework for building command line programs")
103 (description "The @code{cliff} framework allows creating multi-level
104 commands such as those of @command{subversion} and @command{git}, where the
105 main program handles some basic argument parsing and then invokes a
106 sub-command to do the work. It uses plugins to define sub-commands, output
107 formatters, and other extensions.")
110 (define-public python-debtcollector
112 (name "python-debtcollector")
117 (uri (pypi-uri "debtcollector" version))
120 "06c7vyn184y9f0lsrwaz13aq63hdz5fjrd191b8nifx6acsni42f"))))
121 (build-system python-build-system)
123 `(("python-pbr" ,python-pbr)
124 ("python-six" ,python-six)
125 ("python-wrapt" ,python-wrapt)))
128 ("python-subunit" ,python-subunit)
129 ("python-testrepository" ,python-testrepository)
130 ("python-testtools" ,python-testtools)))
131 (home-page "https://www.openstack.org/")
133 "Find deprecated patterns and strategies in Python code")
135 "This package provides a collection of Python deprecation patterns and
136 strategies that help you collect your technical debt in a non-destructive
138 (properties `((python2-variant . ,(delay python2-debtcollector))))
141 (define-public python2-debtcollector
142 (let ((base (package-with-python2 (strip-python2-variant
143 python-debtcollector))))
147 `(("python2-funcsigs" ,python2-funcsigs)
148 ,@(package-propagated-inputs base))))))
150 (define-public python-hacking
152 (name "python-hacking")
157 (uri (pypi-uri "hacking" version))
160 "062rvbkvbavqqz55f7q00ikwipkn5j0rdls1rrajdbfwgckjcrsm"))))
161 (build-system python-build-system)
163 `(("python-flake8" ,python-flake8)))
166 ("python-coverage" ,python-coverage)
167 ("python-ddt" ,python-ddt)
168 ("python-dnspython" ,python-dnspython)
169 ("python-fixtures" ,python-fixtures)
170 ("python-eventlet" ,python-eventlet)
171 ("python-mock" ,python-mock)
172 ("python-monotonic" ,python-monotonic)
173 ("python-subunit" ,python-subunit)
174 ("python-stestr" ,python-stestr)
175 ("python-testscenarios" ,python-testscenarios)
176 ("python-testtools" ,python-testtools)))
177 (home-page "https://github.com/openstack-dev/hacking")
178 (synopsis "OpenStack hacking guideline enforcement")
180 "Python-hacking is a set of flake8 plugins that test and enforce the
181 @uref{http://docs.openstack.org/developer/hacking/, OpenStack style
185 (define-public python-mox3
192 (uri (pypi-uri "mox3" version))
193 (patches (search-patches "python-mox3-python3.6-compat.patch"))
196 "0w58adwv7q9wzvmq9mlrk2asfk73myq9fpwy7mjkzsz3baa95zf5"))))
197 (build-system python-build-system)
199 `(("python-fixtures" ,python-fixtures)
200 ("python-pbr" ,python-pbr)))
202 `(("python-openstackdocstheme" ,python-openstackdocstheme)
203 ("python-sphinx" ,python-sphinx)
204 ("python-subunit" ,python-subunit)
205 ("python-testrepository" ,python-testrepository)
206 ("python-testtools" ,python-testtools)))
207 (home-page "https://www.openstack.org/")
208 (synopsis "Mock object framework for Python")
210 "Mox3 is an unofficial port of the @uref{https://code.google.com/p/pymox/,
211 Google mox framework} to Python 3. It was meant to be as compatible
212 with mox as possible, but small enhancements have been made.")
215 (define-public python2-mox3
216 (package-with-python2 python-mox3))
218 (define-public python-openstackdocstheme
220 (name "python-openstackdocstheme")
224 (uri (pypi-uri "openstackdocstheme" version))
227 "1ki5204rjdqjvr8xr9w2qc1z6b6d2i5jas0i70xzkf9njlzjzv2r"))))
228 (build-system python-build-system)
230 ;; FIXME: Tests require an old version of python-hacking, which in
231 ;; turn depends on mox3 which depends on this package.
234 `(("python-dulwich" ,python-dulwich)
235 ("python-pbr" ,python-pbr)))
237 `(("python-sphinx" ,python-sphinx)))
238 (home-page "https://docs.openstack.org/openstackdocstheme/latest/")
239 (synopsis "OpenStack Docs Theme")
241 "This package provides themes and extensions for Sphinx for publishing
242 to docs.openstack.org and developer.openstack.org.")
245 (define-public python2-openstackdocstheme
246 (package-with-python2 python-openstackdocstheme))
248 (define-public python-os-client-config
250 (name "python-os-client-config")
255 (uri (pypi-uri "os-client-config" version))
258 "1vjn7667pswnmpqv6ngwyqm2xn46w90hi5b4pv2grwfz751cn1lf"))))
259 (build-system python-build-system)
261 `(#:tests? #f)) ;; Circular dependency with python-oslotest
263 `(("python-appdirs" ,python-appdirs)
264 ("python-pyyaml" ,python-pyyaml)))
266 `(("python-pbr" ,python-pbr)
267 ("python-fixtures" ,python-fixtures)
268 ("python-mimeparse" ,python-mimeparse)
269 ("python-testrepository" ,python-testrepository)
270 ("python-testscenarios" ,python-testscenarios)
271 ("python-testtools" ,python-testtools)))
272 (home-page "https://www.openstack.org/")
274 "OpenStack Client Configuration Library")
276 "The OpenStack Client Configuration Library is a library for collecting
277 client configuration for using an OpenStack cloud in a consistent and
278 comprehensive manner.")
281 (define-public python2-os-client-config
282 (package-with-python2 python-os-client-config))
284 (define-public python-os-testr
286 (name "python-os-testr")
291 (uri (pypi-uri "os-testr" version))
294 "0mknd9hlmxmihr755gjkxyjp180380jajq5i3zm34q7y7bi62lss"))))
295 (build-system python-build-system)
297 ;; os-testr uses itself to run the tests. It seems like pbr writes the
298 ;; exectuable in the virtualenv when using tox. Not sure how to do this
299 ;; when building the package. Skip the tests for now.
302 `(("python-subunit" ,python-subunit)))
304 `(("python-pbr" ,python-pbr)
305 ("python-testtools" ,python-testtools)
306 ("python-babel" ,python-babel)))
307 (home-page "https://www.openstack.org/")
308 (synopsis "Testr wrapper to provide functionality for OpenStack projects")
310 "Os-testr provides developers with a testr wrapper and an output filter
314 (define-public python2-os-testr
315 (package-with-python2 python-os-testr))
317 (define-public python-stevedore
319 (name "python-stevedore")
324 (uri (pypi-uri "stevedore" version))
327 "1w11lm293afzb73iq0ba9wnmr2rjwymnhr92km4a4xrs7a5qcigq"))))
328 (build-system python-build-system)
330 ;; The tests are disabled to avoid a circular dependency with
334 `(("python-pbr" ,python-pbr)))
335 (home-page "https://github.com/dreamhost/stevedore")
336 (synopsis "Manage dynamic plugins for Python applications")
338 "Python makes loading code dynamically easy, allowing you to configure
339 and extend your application by discovering and loading extensions (\"plugins\")
340 at runtime. Many applications implement their own library for doing this,
341 using __import__ or importlib. Stevedore avoids creating yet another extension
342 mechanism by building on top of setuptools entry points. The code for managing
343 entry points tends to be repetitive, though, so stevedore provides manager
344 classes for implementing common patterns for using dynamically loaded
348 (define-public python2-stevedore
349 (package-with-python2 python-stevedore))
351 (define-public python-tempest-lib
353 (name "python-tempest-lib")
358 (uri (pypi-uri "tempest-lib" version))
361 "1cpp2vwmawpd29hjsklsps181lq2ah91cl412qvpnz228nf9sqn5"))))
362 (build-system python-build-system)
364 `(#:tests? #f ; FIXME: Requires oslo.log >= 1.14.0.
366 (modify-phases %standard-phases
370 (substitute* "tempest_lib/tests/cli/test_execute.py"
371 (("/bin/ls") (which "ls"))))))))
373 `(("python-fixtures" ,python-fixtures)
374 ("python-httplib2" ,python-httplib2)
375 ("python-iso8601" ,python-iso8601)
376 ("python-jsonschema" ,python-jsonschema)
377 ("python-oslo.log" ,python-oslo.log)
378 ("python-paramiko" ,python-paramiko)
379 ("python-pbr" ,python-pbr)
380 ("python-six" ,python-six)))
382 `(("python-babel" ,python-babel)
383 ("python-mock" ,python-mock)
384 ("python-os-testr" ,python-os-testr)
385 ("python-oslotest" ,python-oslotest)))
386 (home-page "https://www.openstack.org/")
387 (synopsis "OpenStack functional testing library")
389 "Tempest-lib is a functional testing library for OpenStack. It provides
390 common features used in Tempest.")
393 ;; Packages from the Oslo library
394 (define-public python-oslo.config
396 (name "python-oslo.config")
401 (uri (pypi-uri "oslo.config" version))
404 "0ymf7jxbq29fifyvkwhfiys1qvljqfxdw8ajwzwaf3yiqidgpxqd"))))
405 (build-system python-build-system)
407 `(("python-debtcollector" ,python-debtcollector)
408 ("python-netaddr" ,python-netaddr)
409 ("python-oslo.i18n" ,python-oslo.i18n)
410 ("python-pbr" ,python-pbr)
411 ("python-rfc3986" ,python-rfc3986)
412 ("python-six" ,python-six)
413 ("python-stevedore" ,python-stevedore)
414 ("python-pyyaml" ,python-pyyaml)))
416 `(("python-bandit" ,python-bandit)
417 ("python-coverage" ,python-coverage)
418 ("python-mock" ,python-mock)
419 ("python-openstackdocstheme" ,python-openstackdocstheme)
420 ("python-oslotest" ,python-oslotest)
421 ("python-reno" ,python-reno)
422 ("python-sphinx" ,python-sphinx)
423 ("python-testrepository" ,python-testrepository)
424 ("python-testscenarios" ,python-testscenarios)
425 ("python-testtools" ,python-testtools)))
426 (home-page "https://launchpad.net/oslo")
427 (synopsis "Oslo Configuration API")
429 "The Oslo configuration API supports parsing command line arguments and
430 .ini style configuration files.")
433 (define-public python-oslo.context
435 (name "python-oslo.context")
440 (uri (pypi-uri "oslo.context" version))
443 "1l2z186rkd9acrb2ygf53yrdc1lgf7cy1akbhm21kgkzind4p2r6"))))
444 (build-system python-build-system)
446 `(#:phases (modify-phases %standard-phases
447 (add-after 'unpack 'relax-requirements
449 (substitute* "test-requirements.txt"
450 (("hacking>=3.0.1,<3.1.0")
454 `(("python-debtcollector" ,python-debtcollector)))
456 `(("python-bandit" ,python-bandit)
457 ("python-coverage" ,python-coverage)
458 ("python-fixtures" ,python-fixtures)
459 ("python-hacking" ,python-hacking)
460 ("python-oslotest" ,python-oslotest)
461 ("python-pbr" ,python-pbr)
462 ("python-stestr" ,python-stestr)))
463 (home-page "https://launchpad.net/oslo")
464 (synopsis "Oslo context library")
466 "The Oslo context library has helpers to maintain useful information
467 about a request context. The request context is usually populated in the WSGI
468 pipeline and used by various modules such as logging.")
471 (define-public python2-oslo.context
472 (package-with-python2 python-oslo.context))
474 (define-public python-oslo.i18n
476 (name "python-oslo.i18n")
481 (uri (pypi-uri "oslo.i18n" version))
484 "0kjcdw4bk3mi4vqmqwhhq053kxbbbj05si6nwxd1pzx33z067ky3"))))
485 (build-system python-build-system)
487 `(("python-babel" ,python-babel)
488 ("python-six" ,python-six)))
490 `(("python-pbr" ,python-pbr)
492 ("python-mock" ,python-mock)
493 ("python-mox3" ,python-mox3)
494 ("python-oslotest" ,python-oslotest)
495 ("python-testscenarios" ,python-testscenarios)))
496 (home-page "https://launchpad.net/oslo")
497 (synopsis "Oslo internationalization (i18n) library")
499 "The oslo.i18n library contain utilities for working with
500 internationalization (i18n) features, especially translation for text strings
501 in an application or library.")
504 (define-public python2-oslo.i18n
505 (package-with-python2 python-oslo.i18n))
507 (define-public python-oslo.log
509 (name "python-oslo.log")
514 (uri (pypi-uri "oslo.log" version))
517 "0h7hplf1h8k24v75m3mq1jlrl74x5ynyr4hwgffsg5campxnza4x"))))
518 (build-system python-build-system)
520 `(("python-dateutil" ,python-dateutil)
521 ("python-debtcollector" ,python-debtcollector)
522 ("python-monotonic" ,python-monotonic)
523 ("python-oslo.config" ,python-oslo.config)
524 ("python-oslo.context" ,python-oslo.context)
525 ("python-oslo.i18n" ,python-oslo.i18n)
526 ("python-oslo.utils" ,python-oslo.utils)
527 ("python-oslo.serialization" ,python-oslo.serialization)
528 ("python-pbr" ,python-pbr)
529 ("python-pyinotify" ,python-pyinotify)
530 ("python-six" ,python-six)))
532 `(("python-mock" ,python-mock)
533 ("python-oslotest" ,python-oslotest)
534 ("python-subunit" ,python-subunit)
535 ("python-testrepository" ,python-testrepository)
536 ("python-testtools" ,python-testtools)))
537 (home-page "https://launchpad.net/oslo")
538 (synopsis "Python logging library of the Oslo project")
540 "The oslo.log (logging) configuration library provides standardized
541 configuration for all OpenStack projects. It also provides custom formatters,
542 handlers and support for context specific logging (like resource id’s etc).")
545 (define-public python-oslo.serialization
547 (name "python-oslo.serialization")
552 (uri (pypi-uri "oslo.serialization" version))
555 "08bxkp98c617y58x630xq44iiffm7f0f3cwh6zbnlkgq0zgh7jk1"))))
556 (build-system python-build-system)
558 `(("python-msgpack" ,python-msgpack)
559 ("python-netaddr" ,python-netaddr)
560 ("python-oslo.utils" ,python-oslo.utils)
561 ("python-six" ,python-six)
562 ("python-pytz" ,python-pytz)))
564 `(("python-pbr" ,python-pbr)
566 ("python-mock" ,python-mock)
567 ("python-oslo.i18n" ,python-oslo.i18n)
568 ("python-oslotest" ,python-oslotest)))
569 (home-page "https://launchpad.net/oslo")
570 (synopsis "Oslo serialization library")
572 "The oslo.serialization library provides support for representing objects
573 in transmittable and storable formats, such as JSON and MessagePack.")
576 (define-public python-reno
583 (uri (pypi-uri "reno" version))
585 (base32 "0gwzi5dvacqx43smxl3rd1z33npn7gfhm50bvgmq90fib2q431wc"))))
586 (build-system python-build-system)
589 (modify-phases %standard-phases
590 (add-before 'check 'init-git
592 ;; reno expects a git repo
593 (invoke "git" "init"))))))
595 `(("python-dulwich" ,python-dulwich)
596 ("python-pbr" ,python-pbr)
597 ("python-pyyaml" ,python-pyyaml)
598 ("python-six" ,python-six)))
600 `(("python-testtools" ,python-testtools)
601 ("python-testscenarios" ,python-testscenarios)
602 ("python-testrepository" ,python-testrepository)
603 ("python-mock" ,python-mock)
604 ("python-docutils" ,python-docutils)
605 ("python-sphinx" ,python-sphinx)
607 ("git" ,git-minimal)))
608 (home-page "https://docs.openstack.org/reno/latest/")
609 (synopsis "Release notes manager")
610 (description "Reno is a tool for storing release notes in a git repository
611 and building documentation from them.")
614 (define-public python2-reno
615 (package-with-python2 python-reno))
617 (define-public python-oslosphinx
619 (name "python-oslosphinx")
624 (uri (pypi-uri "oslosphinx" version))
627 "1xm41857vzrzjmnyi6bqirg4i5qa61v7wxcsdc4q1nzgr3ndgz5k"))))
628 (build-system python-build-system)
631 (modify-phases %standard-phases
632 (add-after 'unpack 'relax-requirements
634 (substitute* "test-requirements.txt"
635 (("hacking!=0.13.0,<0.14,>=0.12.0")
636 "hacking!=0.13.0,>=0.12.0"))
639 `(("python-requests" ,python-requests)))
641 `(("python-hacking" ,python-hacking)
642 ("python-openstackdocstheme" ,python-openstackdocstheme)
643 ("python-pbr" ,python-pbr)
644 ("python-reno" ,python-reno)
645 ("python-sphinx" ,python-sphinx)))
646 (home-page "https://www.openstack.org/")
647 (synopsis "OpenStack sphinx extensions and theme")
648 (description "This package provides themes and extensions for Sphinx
649 documentation from the OpenStack project.")
652 (define-public python-oslotest
654 (name "python-oslotest")
659 (uri (pypi-uri "oslotest" version))
662 "0r50sz55m8ljv2vk1k7sp88iz1iqq4p9w6kb8hn8g8c50r9zdi5i"))))
663 (build-system python-build-system)
665 ;; The tests are disabled to avoid a circular dependency with oslo.config.
668 `(("python-fixtures" ,python-fixtures)
669 ("python-six" ,python-six)
670 ("python-subunit" ,python-subunit)
671 ("python-testtools" ,python-testtools)))
672 (home-page "https://launchpad.net/oslo")
673 (synopsis "Oslo test framework")
674 (description "The Oslo Test framework provides common fixtures, support
675 for debugging, and better support for mocking results.")
678 (define-public python2-oslotest
679 (package-with-python2 python-oslotest))
681 (define-public python-oslo.utils
683 (name "python-oslo.utils")
688 (uri (pypi-uri "oslo.utils" version))
691 "1ipjcgg9z697wmibhcbg5lqpk5gafakdx4qkff3w255zr0mvw04r"))))
692 (build-system python-build-system)
694 `(("python-debtcollector" ,python-debtcollector)
695 ("python-oslo.i18n" ,python-oslo.i18n)
696 ("python-iso8601" ,python-iso8601)
697 ("python-monotonic" ,python-monotonic)
698 ("python-netaddr" ,python-netaddr)
699 ("python-netifaces" ,python-netifaces)
700 ("python-pyparsing" ,python-pyparsing)
701 ("python-pytz" ,python-pytz)
702 ("python-six" ,python-six)))
704 `(("python-pbr" ,python-pbr)
706 ("python-bandit" ,python-bandit)
707 ("python-ddt" ,python-ddt)
708 ("python-fixtures" ,python-fixtures)
709 ("python-oslo.config" ,python-oslo.config)
710 ("python-oslotest" ,python-oslotest)
711 ("python-mock" ,python-mock)
712 ("python-testrepository" ,python-testrepository)
713 ("python-testscenarios" ,python-testscenarios)
714 ("python-testtools" ,python-testtools)))
715 (home-page "https://launchpad.net/oslo")
716 (synopsis "Oslo utility library")
718 "The @code{oslo.utils} library provides support for common utility type
719 functions, such as encoding, exception handling, string manipulation, and time
723 (define-public python-keystoneclient
725 (name "python-keystoneclient")
730 (uri (pypi-uri "python-keystoneclient" version))
733 "1w4csvkah67rfpxylxnvs2s3594i0f9isy8pf4gnsqs5zirvjaa4"))))
734 (build-system python-build-system)
736 '(#:tests? #f)) ; FIXME: Many tests are failing.
738 `(("python-sphinx" ,python-sphinx)
739 ;; and some packages for the tests
741 ("python-coverage" ,python-coverage)
742 ("python-discover" ,python-discover)
743 ("python-fixtures" ,python-fixtures)
744 ("python-hacking" ,python-hacking)
745 ("python-keyring" ,python-keyring)
746 ("python-lxml" ,python-lxml)
747 ("python-mock" ,python-mock)
748 ("python-mox3" ,python-mox3)
749 ("python-oauthlib" ,python-oauthlib)
750 ("python-oslosphinx" ,python-oslosphinx)
751 ("python-oslotest" ,python-oslotest)
752 ("python-pycrypto" ,python-pycrypto)
753 ("python-requests-mock" ,python-requests-mock)
754 ("python-temptest-lib" ,python-tempest-lib)
755 ("python-testrepository" ,python-testrepository)
756 ("python-testresources" ,python-testresources)
757 ("python-testtools" ,python-testtools)
758 ("python-webob" ,python-webob)))
760 `(("python-babel" ,python-babel)
761 ("python-debtcollector" ,python-debtcollector)
762 ("python-iso8601" ,python-iso8601)
763 ("python-netaddr" ,python-netaddr)
764 ("python-oslo.config" ,python-oslo.config)
765 ("python-oslo.i18n" ,python-oslo.i18n)
766 ("python-oslo.serialization" ,python-oslo.serialization)
767 ("python-oslo.utils" ,python-oslo.utils)
768 ("python-pbr" ,python-pbr)
769 ("python-prettytable" ,python-prettytable)
770 ("python-requests" ,python-requests)
771 ("python-six" ,python-six)
772 ("python-stevedore" ,python-stevedore)))
773 (home-page "https://www.openstack.org/")
774 (synopsis "Client Library for OpenStack Identity")
776 "Python-keystoneclient is the identity service used by OpenStack for
777 authentication (authN) and high-level authorization (authZ). It currently
778 supports token-based authN with user/service authZ, and is scalable to support
779 OAuth, SAML, and OpenID in future versions. Out of the box, Keystone uses
780 SQLite for its identity store database, with the option to connect to external
784 (define-public python-swiftclient
786 (name "python-swiftclient")
791 (uri (pypi-uri "python-swiftclient" version))
794 "1j33l4z9vqh0scfncl4fxg01zr1hgqxhhai6gvcih1gccqm4nd7p"))))
795 (build-system python-build-system)
797 `(("python-pbr" ,python-pbr)
798 ("python-sphinx" ,python-sphinx)
799 ;; The folloing packages are needed for the tests.
800 ("python-coverage" ,python-coverage)
801 ("python-discover" ,python-discover)
802 ("python-hacking" ,python-hacking)
803 ("python-mock" ,python-mock)
804 ("python-oslosphinx" ,python-oslosphinx)
805 ("python-keystoneclient" ,python-keystoneclient)
806 ("python-testrepository" ,python-testrepository)
807 ("python-testtools" ,python-testtools)))
809 `(("python-requests" ,python-requests)
810 ("python-six" ,python-six)))
811 (home-page "https://www.openstack.org/")
812 (synopsis "OpenStack Object Storage API Client Library")
814 "OpenStack Object Storage (code-named Swift) creates redundant, scalable
815 object storage using clusters of standardized servers to store petabytes of
816 accessible data. It is not a file system or real-time data storage system, but
817 rather a long-term storage system for a more permanent type of static data that
818 can be retrieved, leveraged, and then updated if necessary. Primary examples of
819 data that best fit this type of storage model are virtual machine images, photo
820 storage, email storage and backup archiving. Having no central \"brain\" or
821 master point of control provides greater scalability, redundancy and
825 (define-public python-git-review
827 (name "python-git-review")
832 (uri (pypi-uri "git-review" version))
834 (base32 "0nn17mfqvsa3ryjz53qjslmf60clc0vx2115kkj66h28p6vsnflf"))))
835 (build-system python-build-system)
837 '(#:tests? #f ; tests require a running Gerrit server
839 (modify-phases %standard-phases
840 (add-after 'install 'wrap-program
841 (lambda* (#:key inputs outputs #:allow-other-keys)
842 (let* ((out (assoc-ref outputs "out"))
843 (git (assoc-ref inputs "git"))
844 (openssh (assoc-ref inputs "openssh")))
845 (wrap-program (string-append out "/bin/git-review")
848 (string-append dir "/bin"))
849 (list git openssh)))))
852 `(("python-pbr" ,python-pbr)))
854 `(("python-requests" ,python-requests)))
857 ("openssh" ,openssh)))
858 (home-page "https://docs.openstack.org/infra/git-review/")
859 (synopsis "Command-line tool for Gerrit")
861 "Git-review is a command-line tool that helps submitting Git branches to
862 Gerrit for review, or fetching existing ones.")
865 (define-public python2-git-review
866 (package-with-python2 python-git-review))