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, 2021 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
140 (define-public python-hacking
142 (name "python-hacking")
147 (uri (pypi-uri "hacking" version))
150 "062rvbkvbavqqz55f7q00ikwipkn5j0rdls1rrajdbfwgckjcrsm"))))
151 (build-system python-build-system)
153 `(("python-flake8" ,python-flake8)))
156 ("python-coverage" ,python-coverage)
157 ("python-ddt" ,python-ddt)
158 ("python-dnspython" ,python-dnspython)
159 ("python-fixtures" ,python-fixtures)
160 ("python-eventlet" ,python-eventlet)
161 ("python-mock" ,python-mock)
162 ("python-monotonic" ,python-monotonic)
163 ("python-subunit" ,python-subunit)
164 ("python-stestr" ,python-stestr)
165 ("python-testscenarios" ,python-testscenarios)
166 ("python-testtools" ,python-testtools)))
167 (home-page "https://github.com/openstack-dev/hacking")
168 (synopsis "OpenStack hacking guideline enforcement")
170 "Python-hacking is a set of flake8 plugins that test and enforce the
171 @uref{http://docs.openstack.org/developer/hacking/, OpenStack style
175 (define-public python-mox3
182 (uri (pypi-uri "mox3" version))
183 (patches (search-patches "python-mox3-python3.6-compat.patch"))
186 "0w58adwv7q9wzvmq9mlrk2asfk73myq9fpwy7mjkzsz3baa95zf5"))))
187 (build-system python-build-system)
189 `(("python-fixtures" ,python-fixtures)
190 ("python-pbr" ,python-pbr)))
192 `(("python-openstackdocstheme" ,python-openstackdocstheme)
193 ("python-sphinx" ,python-sphinx)
194 ("python-subunit" ,python-subunit)
195 ("python-testrepository" ,python-testrepository)
196 ("python-testtools" ,python-testtools)))
197 (home-page "https://www.openstack.org/")
198 (synopsis "Mock object framework for Python")
200 "Mox3 is an unofficial port of the @uref{https://code.google.com/p/pymox/,
201 Google mox framework} to Python 3. It was meant to be as compatible
202 with mox as possible, but small enhancements have been made.")
205 (define-public python-openstackdocstheme
207 (name "python-openstackdocstheme")
211 (uri (pypi-uri "openstackdocstheme" version))
214 "1ki5204rjdqjvr8xr9w2qc1z6b6d2i5jas0i70xzkf9njlzjzv2r"))))
215 (build-system python-build-system)
217 ;; FIXME: Tests require an old version of python-hacking, which in
218 ;; turn depends on mox3 which depends on this package.
221 `(("python-dulwich" ,python-dulwich)
222 ("python-pbr" ,python-pbr)))
224 `(("python-sphinx" ,python-sphinx)))
225 (home-page "https://docs.openstack.org/openstackdocstheme/latest/")
226 (synopsis "OpenStack Docs Theme")
228 "This package provides themes and extensions for Sphinx for publishing
229 to docs.openstack.org and developer.openstack.org.")
232 (define-public python-os-client-config
234 (name "python-os-client-config")
239 (uri (pypi-uri "os-client-config" version))
242 "1vjn7667pswnmpqv6ngwyqm2xn46w90hi5b4pv2grwfz751cn1lf"))))
243 (build-system python-build-system)
245 `(#:tests? #f)) ;; Circular dependency with python-oslotest
247 `(("python-appdirs" ,python-appdirs)
248 ("python-pyyaml" ,python-pyyaml)))
250 `(("python-pbr" ,python-pbr)
251 ("python-fixtures" ,python-fixtures)
252 ("python-mimeparse" ,python-mimeparse)
253 ("python-testrepository" ,python-testrepository)
254 ("python-testscenarios" ,python-testscenarios)
255 ("python-testtools" ,python-testtools)))
256 (home-page "https://www.openstack.org/")
258 "OpenStack Client Configuration Library")
260 "The OpenStack Client Configuration Library is a library for collecting
261 client configuration for using an OpenStack cloud in a consistent and
262 comprehensive manner.")
265 (define-public python-os-testr
267 (name "python-os-testr")
272 (uri (pypi-uri "os-testr" version))
275 "0mknd9hlmxmihr755gjkxyjp180380jajq5i3zm34q7y7bi62lss"))))
276 (build-system python-build-system)
278 ;; os-testr uses itself to run the tests. It seems like pbr writes the
279 ;; exectuable in the virtualenv when using tox. Not sure how to do this
280 ;; when building the package. Skip the tests for now.
283 `(("python-subunit" ,python-subunit)))
285 `(("python-pbr" ,python-pbr)
286 ("python-testtools" ,python-testtools)
287 ("python-babel" ,python-babel)))
288 (home-page "https://www.openstack.org/")
289 (synopsis "Testr wrapper to provide functionality for OpenStack projects")
291 "Os-testr provides developers with a testr wrapper and an output filter
295 (define-public python-stevedore
297 (name "python-stevedore")
302 (uri (pypi-uri "stevedore" version))
305 "1w11lm293afzb73iq0ba9wnmr2rjwymnhr92km4a4xrs7a5qcigq"))))
306 (build-system python-build-system)
308 ;; The tests are disabled to avoid a circular dependency with
312 (modify-phases %standard-phases
313 (add-after 'unpack 'use-pbr-3
315 (substitute* '("setup.py"
317 (("pbr!=2.1.0,>=2.0.0") "pbr>=3.0.0")))))))
319 `(("python-pbr" ,python-pbr)))
320 (home-page "https://github.com/dreamhost/stevedore")
321 (synopsis "Manage dynamic plugins for Python applications")
323 "Python makes loading code dynamically easy, allowing you to configure
324 and extend your application by discovering and loading extensions (\"plugins\")
325 at runtime. Many applications implement their own library for doing this,
326 using __import__ or importlib. Stevedore avoids creating yet another extension
327 mechanism by building on top of setuptools entry points. The code for managing
328 entry points tends to be repetitive, though, so stevedore provides manager
329 classes for implementing common patterns for using dynamically loaded
333 (define-public python-tempest-lib
335 (name "python-tempest-lib")
340 (uri (pypi-uri "tempest-lib" version))
343 "1cpp2vwmawpd29hjsklsps181lq2ah91cl412qvpnz228nf9sqn5"))))
344 (build-system python-build-system)
346 `(#:tests? #f ; FIXME: Requires oslo.log >= 1.14.0.
348 (modify-phases %standard-phases
352 (substitute* "tempest_lib/tests/cli/test_execute.py"
353 (("/bin/ls") (which "ls"))))))))
355 `(("python-fixtures" ,python-fixtures)
356 ("python-httplib2" ,python-httplib2)
357 ("python-iso8601" ,python-iso8601)
358 ("python-jsonschema" ,python-jsonschema)
359 ("python-oslo.log" ,python-oslo.log)
360 ("python-paramiko" ,python-paramiko)
361 ("python-pbr" ,python-pbr)
362 ("python-six" ,python-six)))
364 `(("python-babel" ,python-babel)
365 ("python-mock" ,python-mock)
366 ("python-os-testr" ,python-os-testr)
367 ("python-oslotest" ,python-oslotest)))
368 (home-page "https://www.openstack.org/")
369 (synopsis "OpenStack functional testing library")
371 "Tempest-lib is a functional testing library for OpenStack. It provides
372 common features used in Tempest.")
377 ;;; Packages from the Oslo library
380 (define-public python-oslo.config
382 (name "python-oslo.config")
387 (uri (pypi-uri "oslo.config" version))
390 "0ymf7jxbq29fifyvkwhfiys1qvljqfxdw8ajwzwaf3yiqidgpxqd"))))
391 (build-system python-build-system)
393 `(("python-debtcollector" ,python-debtcollector)
394 ("python-netaddr" ,python-netaddr)
395 ("python-oslo.i18n" ,python-oslo.i18n)
396 ("python-pbr" ,python-pbr)
397 ("python-rfc3986" ,python-rfc3986)
398 ("python-six" ,python-six)
399 ("python-stevedore" ,python-stevedore)
400 ("python-pyyaml" ,python-pyyaml)))
402 `(("python-bandit" ,python-bandit)
403 ("python-coverage" ,python-coverage)
404 ("python-mock" ,python-mock)
405 ("python-openstackdocstheme" ,python-openstackdocstheme)
406 ("python-oslotest" ,python-oslotest)
407 ("python-reno" ,python-reno)
408 ("python-sphinx" ,python-sphinx)
409 ("python-testrepository" ,python-testrepository)
410 ("python-testscenarios" ,python-testscenarios)
411 ("python-testtools" ,python-testtools)))
412 (home-page "https://launchpad.net/oslo")
413 (synopsis "Oslo Configuration API")
415 "The Oslo configuration API supports parsing command line arguments and
416 .ini style configuration files.")
419 (define-public python-oslo.context
421 (name "python-oslo.context")
426 (uri (pypi-uri "oslo.context" version))
429 "1l2z186rkd9acrb2ygf53yrdc1lgf7cy1akbhm21kgkzind4p2r6"))))
430 (build-system python-build-system)
432 `(#:phases (modify-phases %standard-phases
433 (add-after 'unpack 'relax-requirements
435 (substitute* "test-requirements.txt"
436 (("hacking>=3.0.1,<3.1.0")
440 `(("python-debtcollector" ,python-debtcollector)))
442 `(("python-bandit" ,python-bandit)
443 ("python-coverage" ,python-coverage)
444 ("python-fixtures" ,python-fixtures)
445 ("python-hacking" ,python-hacking)
446 ("python-oslotest" ,python-oslotest)
447 ("python-pbr" ,python-pbr)
448 ("python-stestr" ,python-stestr)))
449 (home-page "https://launchpad.net/oslo")
450 (synopsis "Oslo context library")
452 "The Oslo context library has helpers to maintain useful information
453 about a request context. The request context is usually populated in the WSGI
454 pipeline and used by various modules such as logging.")
457 (define-public python-oslo.i18n
459 (name "python-oslo.i18n")
464 (uri (pypi-uri "oslo.i18n" version))
467 "0kjcdw4bk3mi4vqmqwhhq053kxbbbj05si6nwxd1pzx33z067ky3"))))
468 (build-system python-build-system)
470 `(("python-babel" ,python-babel)
471 ("python-six" ,python-six)))
473 `(("python-pbr" ,python-pbr)
475 ("python-mock" ,python-mock)
476 ("python-mox3" ,python-mox3)
477 ("python-oslotest" ,python-oslotest)
478 ("python-testscenarios" ,python-testscenarios)))
479 (home-page "https://launchpad.net/oslo")
480 (synopsis "Oslo internationalization (i18n) library")
482 "The oslo.i18n library contain utilities for working with
483 internationalization (i18n) features, especially translation for text strings
484 in an application or library.")
487 (define-public python-oslo.log
489 (name "python-oslo.log")
494 (uri (pypi-uri "oslo.log" version))
497 "0h7hplf1h8k24v75m3mq1jlrl74x5ynyr4hwgffsg5campxnza4x"))))
498 (build-system python-build-system)
500 `(("python-dateutil" ,python-dateutil)
501 ("python-debtcollector" ,python-debtcollector)
502 ("python-monotonic" ,python-monotonic)
503 ("python-oslo.config" ,python-oslo.config)
504 ("python-oslo.context" ,python-oslo.context)
505 ("python-oslo.i18n" ,python-oslo.i18n)
506 ("python-oslo.utils" ,python-oslo.utils)
507 ("python-oslo.serialization" ,python-oslo.serialization)
508 ("python-pbr" ,python-pbr)
509 ("python-pyinotify" ,python-pyinotify)
510 ("python-six" ,python-six)))
512 `(("python-mock" ,python-mock)
513 ("python-oslotest" ,python-oslotest)
514 ("python-subunit" ,python-subunit)
515 ("python-testrepository" ,python-testrepository)
516 ("python-testtools" ,python-testtools)))
517 (home-page "https://launchpad.net/oslo")
518 (synopsis "Python logging library of the Oslo project")
520 "The oslo.log (logging) configuration library provides standardized
521 configuration for all OpenStack projects. It also provides custom formatters,
522 handlers and support for context specific logging (like resource id’s etc).")
525 (define-public python-oslo.serialization
527 (name "python-oslo.serialization")
532 (uri (pypi-uri "oslo.serialization" version))
535 "08bxkp98c617y58x630xq44iiffm7f0f3cwh6zbnlkgq0zgh7jk1"))))
536 (build-system python-build-system)
538 `(("python-msgpack" ,python-msgpack)
539 ("python-netaddr" ,python-netaddr)
540 ("python-oslo.utils" ,python-oslo.utils)
541 ("python-six" ,python-six)
542 ("python-pytz" ,python-pytz)))
544 `(("python-pbr" ,python-pbr)
546 ("python-mock" ,python-mock)
547 ("python-oslo.i18n" ,python-oslo.i18n)
548 ("python-oslotest" ,python-oslotest)))
549 (home-page "https://launchpad.net/oslo")
550 (synopsis "Oslo serialization library")
552 "The oslo.serialization library provides support for representing objects
553 in transmittable and storable formats, such as JSON and MessagePack.")
556 (define-public python-reno
563 (uri (pypi-uri "reno" version))
565 (base32 "0gwzi5dvacqx43smxl3rd1z33npn7gfhm50bvgmq90fib2q431wc"))))
566 (build-system python-build-system)
569 (modify-phases %standard-phases
570 (add-before 'check 'init-git
572 ;; reno expects a git repo
573 (invoke "git" "init"))))))
575 `(("python-dulwich" ,python-dulwich)
576 ("python-pbr" ,python-pbr)
577 ("python-pyyaml" ,python-pyyaml)
578 ("python-six" ,python-six)))
580 `(("python-testtools" ,python-testtools)
581 ("python-testscenarios" ,python-testscenarios)
582 ("python-testrepository" ,python-testrepository)
583 ("python-mock" ,python-mock)
584 ("python-docutils" ,python-docutils)
585 ("python-sphinx" ,python-sphinx)
587 ("git" ,git-minimal)))
588 (home-page "https://docs.openstack.org/reno/latest/")
589 (synopsis "Release notes manager")
590 (description "Reno is a tool for storing release notes in a git repository
591 and building documentation from them.")
594 (define-public python-oslosphinx
596 (name "python-oslosphinx")
601 (uri (pypi-uri "oslosphinx" version))
604 "1xm41857vzrzjmnyi6bqirg4i5qa61v7wxcsdc4q1nzgr3ndgz5k"))))
605 (build-system python-build-system)
608 (modify-phases %standard-phases
609 (add-after 'unpack 'relax-requirements
611 (substitute* "test-requirements.txt"
612 (("hacking!=0.13.0,<0.14,>=0.12.0")
613 "hacking!=0.13.0,>=0.12.0"))
616 `(("python-requests" ,python-requests)))
618 `(("python-hacking" ,python-hacking)
619 ("python-openstackdocstheme" ,python-openstackdocstheme)
620 ("python-pbr" ,python-pbr)
621 ("python-reno" ,python-reno)
622 ("python-sphinx" ,python-sphinx)))
623 (home-page "https://www.openstack.org/")
624 (synopsis "OpenStack sphinx extensions and theme")
625 (description "This package provides themes and extensions for Sphinx
626 documentation from the OpenStack project.")
629 (define-public python-oslotest
631 (name "python-oslotest")
636 (uri (pypi-uri "oslotest" version))
639 "0r50sz55m8ljv2vk1k7sp88iz1iqq4p9w6kb8hn8g8c50r9zdi5i"))))
640 (build-system python-build-system)
642 ;; The tests are disabled to avoid a circular dependency with oslo.config.
645 `(("python-fixtures" ,python-fixtures)
646 ("python-six" ,python-six)
647 ("python-subunit" ,python-subunit)
648 ("python-testtools" ,python-testtools)))
649 (home-page "https://launchpad.net/oslo")
650 (synopsis "Oslo test framework")
651 (description "The Oslo Test framework provides common fixtures, support
652 for debugging, and better support for mocking results.")
655 (define-public python-oslo.utils
657 (name "python-oslo.utils")
662 (uri (pypi-uri "oslo.utils" version))
665 "1ipjcgg9z697wmibhcbg5lqpk5gafakdx4qkff3w255zr0mvw04r"))))
666 (build-system python-build-system)
668 `(("python-debtcollector" ,python-debtcollector)
669 ("python-oslo.i18n" ,python-oslo.i18n)
670 ("python-iso8601" ,python-iso8601)
671 ("python-monotonic" ,python-monotonic)
672 ("python-netaddr" ,python-netaddr)
673 ("python-netifaces" ,python-netifaces)
674 ("python-pyparsing" ,python-pyparsing)
675 ("python-pytz" ,python-pytz)
676 ("python-six" ,python-six)))
678 `(("python-pbr" ,python-pbr)
680 ("python-bandit" ,python-bandit)
681 ("python-ddt" ,python-ddt)
682 ("python-fixtures" ,python-fixtures)
683 ("python-oslo.config" ,python-oslo.config)
684 ("python-oslotest" ,python-oslotest)
685 ("python-mock" ,python-mock)
686 ("python-testrepository" ,python-testrepository)
687 ("python-testscenarios" ,python-testscenarios)
688 ("python-testtools" ,python-testtools)))
689 (home-page "https://launchpad.net/oslo")
690 (synopsis "Oslo utility library")
692 "The @code{oslo.utils} library provides support for common utility type
693 functions, such as encoding, exception handling, string manipulation, and time
697 (define-public python-keystoneclient
699 (name "python-keystoneclient")
704 (uri (pypi-uri "python-keystoneclient" version))
707 "1w4csvkah67rfpxylxnvs2s3594i0f9isy8pf4gnsqs5zirvjaa4"))))
708 (build-system python-build-system)
710 '(#:tests? #f)) ; FIXME: Many tests are failing.
712 `(("python-sphinx" ,python-sphinx)
713 ;; and some packages for the tests
715 ("python-coverage" ,python-coverage)
716 ("python-discover" ,python-discover)
717 ("python-fixtures" ,python-fixtures)
718 ("python-hacking" ,python-hacking)
719 ("python-keyring" ,python-keyring)
720 ("python-lxml" ,python-lxml)
721 ("python-mock" ,python-mock)
722 ("python-mox3" ,python-mox3)
723 ("python-oauthlib" ,python-oauthlib)
724 ("python-oslosphinx" ,python-oslosphinx)
725 ("python-oslotest" ,python-oslotest)
726 ("python-pycrypto" ,python-pycrypto)
727 ("python-requests-mock" ,python-requests-mock)
728 ("python-temptest-lib" ,python-tempest-lib)
729 ("python-testrepository" ,python-testrepository)
730 ("python-testresources" ,python-testresources)
731 ("python-testtools" ,python-testtools)
732 ("python-webob" ,python-webob)))
734 `(("python-babel" ,python-babel)
735 ("python-debtcollector" ,python-debtcollector)
736 ("python-iso8601" ,python-iso8601)
737 ("python-netaddr" ,python-netaddr)
738 ("python-oslo.config" ,python-oslo.config)
739 ("python-oslo.i18n" ,python-oslo.i18n)
740 ("python-oslo.serialization" ,python-oslo.serialization)
741 ("python-oslo.utils" ,python-oslo.utils)
742 ("python-pbr" ,python-pbr)
743 ("python-prettytable" ,python-prettytable)
744 ("python-requests" ,python-requests)
745 ("python-six" ,python-six)
746 ("python-stevedore" ,python-stevedore)))
747 (home-page "https://www.openstack.org/")
748 (synopsis "Client Library for OpenStack Identity")
750 "Python-keystoneclient is the identity service used by OpenStack for
751 authentication (authN) and high-level authorization (authZ). It currently
752 supports token-based authN with user/service authZ, and is scalable to support
753 OAuth, SAML, and OpenID in future versions. Out of the box, Keystone uses
754 SQLite for its identity store database, with the option to connect to external
758 (define-public python-swiftclient
760 (name "python-swiftclient")
765 (uri (pypi-uri "python-swiftclient" version))
768 "1j33l4z9vqh0scfncl4fxg01zr1hgqxhhai6gvcih1gccqm4nd7p"))))
769 (build-system python-build-system)
771 `(("python-pbr" ,python-pbr)
772 ("python-sphinx" ,python-sphinx)
773 ;; The folloing packages are needed for the tests.
774 ("python-coverage" ,python-coverage)
775 ("python-discover" ,python-discover)
776 ("python-hacking" ,python-hacking)
777 ("python-mock" ,python-mock)
778 ("python-oslosphinx" ,python-oslosphinx)
779 ("python-keystoneclient" ,python-keystoneclient)
780 ("python-testrepository" ,python-testrepository)
781 ("python-testtools" ,python-testtools)))
783 `(("python-requests" ,python-requests)
784 ("python-six" ,python-six)))
785 (home-page "https://www.openstack.org/")
786 (synopsis "OpenStack Object Storage API Client Library")
788 "OpenStack Object Storage (code-named Swift) creates redundant, scalable
789 object storage using clusters of standardized servers to store petabytes of
790 accessible data. It is not a file system or real-time data storage system, but
791 rather a long-term storage system for a more permanent type of static data that
792 can be retrieved, leveraged, and then updated if necessary. Primary examples of
793 data that best fit this type of storage model are virtual machine images, photo
794 storage, email storage and backup archiving. Having no central \"brain\" or
795 master point of control provides greater scalability, redundancy and
799 (define-public python-git-review
801 (name "python-git-review")
806 (uri (pypi-uri "git-review" version))
808 (base32 "0nn17mfqvsa3ryjz53qjslmf60clc0vx2115kkj66h28p6vsnflf"))))
809 (build-system python-build-system)
811 '(#:tests? #f ; tests require a running Gerrit server
813 (modify-phases %standard-phases
814 (add-after 'install 'wrap-program
815 (lambda* (#:key inputs outputs #:allow-other-keys)
816 (let* ((out (assoc-ref outputs "out"))
817 (git (assoc-ref inputs "git"))
818 (openssh (assoc-ref inputs "openssh")))
819 (wrap-program (string-append out "/bin/git-review")
822 (string-append dir "/bin"))
823 (list git openssh)))))
826 `(("python-pbr" ,python-pbr)))
828 `(("python-requests" ,python-requests)))
831 ("openssh" ,openssh)))
832 (home-page "https://docs.openstack.org/infra/git-review/")
833 (synopsis "Command-line tool for Gerrit")
835 "Git-review is a command-line tool that helps submitting Git branches to
836 Gerrit for review, or fetching existing ones.")