projects/guix·blob version-0.9.0 · refs

703 lines · 24.0 KiB

1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2015 Cyril Roelandt <[email protected]>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages openstack)
20 #:use-module (gnu packages python)
21 #:use-module (gnu packages version-control)
22 #:use-module (guix build-system python)
23 #:use-module (guix download)
24 #:use-module ((guix licenses)
25 #:select (asl2.0))
26 #:use-module (guix packages))
27
28(define-public python-bandit
29 (package
30 (name "python-bandit")
31 (version "0.13.2")
32 (source
33 (origin
34 (method url-fetch)
35 (uri (string-append
36 "https://pypi.python.org/packages/source/b/bandit/bandit-"
37 version ".tar.gz"))
38 (sha256
39 (base32
40 "03g3cflvrc99ncjd611iy5nnnscsc2vgnrx4mjaqyx8glbfw8y7g"))))
41 (build-system python-build-system)
42 (propagated-inputs
43 `(("python-appdirs" ,python-appdirs)
44 ("python-pyyaml" ,python-pyyaml)
45 ("python-six" ,python-six)
46 ("python-stevedore" ,python-stevedore)))
47 (inputs
48 `(("python-pbr" ,python-pbr)
49 ("python-setuptools" ,python-setuptools)
50 ;; Tests
51 ("python-fixtures" ,python-fixtures)
52 ("python-mock" ,python-mock)
53 ("python-testrepository" ,python-testrepository)
54 ("python-testscenarios" ,python-testscenarios)
55 ("python-testtools" ,python-testtools)))
56 (home-page "https://wiki.openstack.org/wiki/Security/Projects/Bandit")
57 (synopsis "Security oriented static analyser for python code.")
58 (description
59 "Bandit is a tool designed to find common security issues in Python code.
60To do this Bandit processes each file, builds an AST from it, and runs
61appropriate plugins against the AST nodes. Once Bandit has finished scanning
62all the files it generates a report.")
63 (license asl2.0)))
64
65(define-public python2-bandit
66 (package-with-python2 python-bandit))
67
68(define-public python-debtcollector
69 (package
70 (name "python-debtcollector")
71 (version "0.5.0")
72 (source
73 (origin
74 (method url-fetch)
75 (uri (string-append
76 "https://pypi.python.org/packages/source/d/debtcollector/"
77 "debtcollector-" version ".tar.gz"))
78 (sha256
79 (base32
80 "0amlcg5f98lk2mfzdg44slh1nsi2y4ds123g5d57376fjk2b3njd"))))
81 (build-system python-build-system)
82 (propagated-inputs
83 `(("python-six" ,python-six)
84 ("python-wrapt" ,python-wrapt)))
85 (inputs
86 `(("python-babel" ,python-babel)
87 ("python-pbr" ,python-pbr)
88 ("python-setuptools" ,python-setuptools)
89 ;; Tests.
90 ("python-oslotest" ,python-oslotest)))
91 (home-page "http://www.openstack.org/")
92 (synopsis
93 "Find deprecated patterns and strategies in Python code")
94 (description
95 "This package provides a collection of Python deprecation patterns and
96strategies that help you collect your technical debt in a non-destructive
97manner.")
98 (license asl2.0)))
99
100(define-public python2-debtcollector
101 (package-with-python2 python-debtcollector))
102
103(define-public python-hacking
104 (package
105 (name "python-hacking")
106 (version "0.10.2")
107 (source
108 (origin
109 (method url-fetch)
110 (uri (pypi-uri "hacking" version))
111 (sha256
112 (base32
113 "1a310k3dv04jg7zvmk37h2ql7y9kf4hvdxb74bjlwdxgmy6h4wap"))))
114 (build-system python-build-system)
115 (propagated-inputs
116 `(("python-flake8-2.2.4" ,python-flake8-2.2.4)
117 ("python-mccabe-0.2.1" ,python-mccabe-0.2.1)
118 ("python-pbr" ,python-pbr)
119 ("python-pep8-1.5.7" ,python-pep8-1.5.7)
120 ("python-pyflakes-0.8.1" ,python-pyflakes-0.8.1)
121 ("python-six" ,python-six)))
122 (inputs
123 `(("python-setuptools" ,python-setuptools)
124 ;; Tests
125 ("python-testscenarios" ,python-testscenarios)))
126 (home-page "http://github.com/openstack-dev/hacking")
127 (synopsis "OpenStack hacking guideline enforcement")
128 (description
129 "Python-hacking is a set of flake8 plugins that test and enforce the
130@uref{http://docs.openstack.org/developer/hacking/, OpenStack style
131guidelines}.")
132 (license asl2.0)))
133
134(define-public python2-hacking
135 (package-with-python2 python-hacking))
136
137(define-public python-mox3
138 (package
139 (name "python-mox3")
140 (version "0.8.0")
141 (source
142 (origin
143 (method url-fetch)
144 (uri (string-append
145 "https://pypi.python.org/packages/source/m/mox3/mox3-"
146 version
147 ".tar.gz"))
148 (sha256
149 (base32
150 "1dwj9lkifdqvrcympqa47bj55l0n0j9jhzv2gj03h0dpzg6mgfkj"))))
151 (build-system python-build-system)
152 (inputs
153 `(("python-fixtures" ,python-fixtures)
154 ("python-pbr" ,python-pbr)
155 ("python-setuptools" ,python-setuptools)
156 ("python-six" ,python-six)
157 ("python-testtools" ,python-testtools)))
158 (home-page "http://www.openstack.org/")
159 (synopsis "Mock object framework for Python")
160 (description
161 "Mox3 is an unofficial port of the Google mox framework
162(http://code.google.com/p/pymox/) to Python 3. It was meant to be as compatible
163with mox as possible, but small enhancements have been made. The library was
164tested on Python version 3.2, 2.7 and 2.6.")
165 (license asl2.0)))
166
167(define-public python-os-client-config
168 (package
169 (name "python-os-client-config")
170 (version "1.4.0")
171 (source
172 (origin
173 (method url-fetch)
174 (uri (string-append
175 "https://pypi.python.org/packages/source/o/os-client-config/os-client-config-"
176 version
177 ".tar.gz"))
178 (sha256
179 (base32
180 "14png6ml3zbbilh8bihav24f8vig9lyijwynnjcvazdxxrzvwq9j"))))
181 (build-system python-build-system)
182 (arguments
183 `(#:tests? #f)) ;; Circular dependency with python-oslotest
184 (inputs
185 `(("python-appdirs" ,python-appdirs)
186 ("python-fixtures" ,python-fixtures)
187 ("python-mimeparse" ,python-mimeparse)
188 ("python-pbr" ,python-pbr)
189 ("python-pyyaml" ,python-pyyaml)
190 ("python-testrepository" ,python-testrepository)
191 ("python-setuptools" ,python-setuptools)
192 ("python-testscenarios" ,python-testscenarios)
193 ("python-testtools" ,python-testtools)))
194 (home-page "http://www.openstack.org/")
195 (synopsis
196 "OpenStack Client Configuration Library")
197 (description
198 "The OpenStack Client Configuration Library is a library for collecting
199 client configuration for using an OpenStack cloud in a consistent and
200 comprehensive manner.")
201 (license asl2.0)))
202
203(define-public python2-os-client-config
204 (package-with-python2 python-os-client-config))
205
206(define-public python2-mox3
207 (package-with-python2 python-mox3))
208
209(define-public python-os-testr
210 (package
211 (name "python-os-testr")
212 (version "0.4.2")
213 (source
214 (origin
215 (method url-fetch)
216 (uri (pypi-uri "os-testr" version))
217 (sha256
218 (base32
219 "0474z0mxb7y3vfk4s097wf1mzji5d135vh27cvlh9q17rq3x9r3w"))))
220 (build-system python-build-system)
221 (arguments
222 ;; os-testr uses itself to run the tests. It seems like pbr writes the
223 ;; exectuable in the virtualenv when using tox. Not sure how to do this
224 ;; when building the package. Skip the tests for now.
225 `(#:tests? #f))
226 (propagated-inputs
227 `(("python-pbr" ,python-pbr)
228 ("python-subunit" ,python-subunit)
229 ("python-testtools" ,python-testtools)))
230 (inputs
231 `(("python-babel" ,python-babel)
232 ("python-setuptools" ,python-setuptools)))
233 (home-page "http://www.openstack.org/")
234 (synopsis "Testr wrapper to provide functionality for OpenStack projects")
235 (description
236 "Os-testr provides developers with a testr wrapper and an output filter
237 for subunit.")
238 (license asl2.0)))
239
240(define-public python2-os-testr
241 (package-with-python2 python-os-testr))
242
243(define-public python-pbr
244 (package
245 (name "python-pbr")
246 (version "1.6.0")
247 (source
248 (origin
249 (method url-fetch)
250 (uri (string-append
251 "https://pypi.python.org/packages/source/p/pbr/pbr-"
252 version
253 ".tar.gz"))
254 (sha256
255 (base32
256 "1lg1klrczvzfan89y3bl9ykrknl3nb01vvai37fkww24apzyibjf"))))
257 (build-system python-build-system)
258 (arguments
259 `(#:tests? #f)) ;; Most tests seem to use the Internet.
260 (propagated-inputs
261 `(("python-testrepository" ,python-testrepository)
262 ("git" ,git))) ;; pbr actually uses the "git" binary.
263 (inputs
264 `(("python-fixtures" ,python-fixtures)
265 ("python-mimeparse" ,python-mimeparse)
266 ("python-mock" ,python-mock)
267 ("python-setuptools" ,python-setuptools)
268 ("python-six" ,python-six)
269 ("python-sphinx" ,python-sphinx)
270 ("python-testrepository" ,python-testrepository)
271 ("python-testresources" ,python-testresources)
272 ("python-testscenarios" ,python-testscenarios)
273 ("python-testtools" ,python-testtools)
274 ("python-virtualenv" ,python-virtualenv)))
275 (home-page "https://launchpad.net/pbr")
276 (synopsis "Change the default behavior of Python’s setuptools")
277 (description
278 "Python Build Reasonableness (PBR) is a library that injects some useful
279and sensible default behaviors into your setuptools run.")
280 (license asl2.0)))
281
282(define-public python2-pbr
283 (package-with-python2 python-pbr))
284
285(define-public python-requests-mock
286 (package
287 (name "python-requests-mock")
288 (version "0.6.0")
289 (source
290 (origin
291 (method url-fetch)
292 (uri (string-append
293 "https://pypi.python.org/packages/source/r/requests-mock/"
294 "requests-mock-" version ".tar.gz"))
295 (sha256
296 (base32
297 "0gmd88c224y53b1ai8cfsrcxm9kw3gdqzysclmnaqspg7zjhxwd1"))))
298 (build-system python-build-system)
299 (propagated-inputs
300 `(("python-requests" ,python-requests)
301 ("python-six" ,python-six)))
302 (inputs
303 `(("python-mock" ,python-mock)
304 ("python-pbr" ,python-pbr)
305 ("python-setuptools" ,python-setuptools)))
306 (home-page "https://requests-mock.readthedocs.org/")
307 (synopsis "Mock out responses from the requests package")
308 (description
309 "This module provides a building block to stub out the HTTP requests
310portions of your testing code.")
311 (license asl2.0)))
312
313(define-public python2-requests-mock
314 (package-with-python2 python-requests-mock))
315
316(define-public python-stevedore
317 (package
318 (name "python-stevedore")
319 (version "1.7.0")
320 (source
321 (origin
322 (method url-fetch)
323 (uri (string-append
324 "https://pypi.python.org/packages/source/s/stevedore/stevedore-"
325 version
326 ".tar.gz"))
327 (sha256
328 (base32
329 "149pjc0c3z6khjisn4yil3f94qjnzwafz093wc8rrzbw828qdkv8"))))
330 (build-system python-build-system)
331 (propagated-inputs
332 `(("python-six" ,python-six)))
333 (inputs
334 `(("python-pbr" ,python-pbr)
335 ("python-setuptools" ,python-setuptools)
336 ;; Tests
337 ("python-docutils" ,python-docutils)
338 ("python-mock" ,python-mock)
339 ("python-oslotest" ,python-oslotest)
340 ("python-sphinx" ,python-sphinx)))
341 (home-page "https://github.com/dreamhost/stevedore")
342 (synopsis "Manage dynamic plugins for Python applications")
343 (description
344 "Python makes loading code dynamically easy, allowing you to configure
345and extend your application by discovering and loading extensions (“plugins”)
346at runtime. Many applications implement their own library for doing this,
347using __import__ or importlib. stevedore avoids creating yet another extension
348mechanism by building on top of setuptools entry points. The code for managing
349entry points tends to be repetitive, though, so stevedore provides manager
350classes for implementing common patterns for using dynamically loaded
351extensions.")
352 (license asl2.0)))
353
354(define-public python2-stevedore
355 (package-with-python2 python-stevedore))
356
357(define-public python-tempest-lib
358 (package
359 (name "python-tempest-lib")
360 (version "0.9.0")
361 (source
362 (origin
363 (method url-fetch)
364 (uri (pypi-uri "tempest-lib" version))
365 (sha256
366 (base32
367 "1s32rpxw86p41ip9nr7zbqxd60mw1cqz2isirby36rh4vl68bfhx"))))
368 (build-system python-build-system)
369 (arguments
370 `(#:phases
371 (modify-phases %standard-phases
372 (add-before
373 'check 'pre-check
374 (lambda _
375 (substitute* "tempest_lib/tests/cli/test_execute.py"
376 (("/bin/ls") (which "ls"))))))))
377 (propagated-inputs
378 `(("python-fixtures" ,python-fixtures)
379 ("python-httplib2" ,python-httplib2)
380 ("python-iso8601" ,python-iso8601)
381 ("python-jsonschema" ,python-jsonschema)
382 ("python-oslo.log" ,python-oslo.log)
383 ("python-paramiko" ,python-paramiko)
384 ("python-pbr" ,python-pbr)
385 ("python-six" ,python-six)))
386 (inputs
387 `(("python-babel" ,python-babel)
388 ("python-mock" ,python-mock)
389 ("python-os-testr" ,python-os-testr)
390 ("python-oslotest" ,python-oslotest)
391 ("python-setuptools" ,python-setuptools)))
392 (home-page "http://www.openstack.org/")
393 (synopsis "OpenStack functional testing library")
394 (description
395 "Tempest-lib is a functional testing library for OpenStack. It provides
396common features used in Tempest.")
397 (license asl2.0)))
398
399(define-public python2-tempest-lib
400 (package-with-python2 python-tempest-lib))
401
402;; Packages from the Oslo library
403(define-public python-oslo.config
404 (package
405 (name "python-oslo.config")
406 (version "2.4.0")
407 (source
408 (origin
409 (method url-fetch)
410 (uri (string-append
411 "https://pypi.python.org/packages/source/o/oslo.config/oslo.config-"
412 version
413 ".tar.gz"))
414 (sha256
415 (base32
416 "13r778jfb0fhna37c2pd1f2xipnsbd7zli7qhn96acrzymrwj5k1"))))
417 (build-system python-build-system)
418 (propagated-inputs
419 `(("python-netaddr" ,python-netaddr)
420 ("python-six" ,python-six)
421 ("python-stevedore" ,python-stevedore)))
422 (inputs
423 `(("python-pbr" ,python-pbr)
424 ("python-setuptools" ,python-setuptools)
425 ;; Tests
426 ("python-oslo.i18n" ,python-oslo.i18n)
427 ("python-mock" ,python-mock)
428 ("python-oslotest" ,python-oslotest)
429 ("python-testscenarios" ,python-testscenarios)))
430 (home-page "https://launchpad.net/oslo")
431 (synopsis "Oslo Configuration API")
432 (description
433 "The Oslo configuration API supports parsing command line arguments and
434.ini style configuration files.")
435 (license asl2.0)))
436
437(define-public python2-oslo.config
438 (package-with-python2 python-oslo.config))
439
440(define-public python-oslo.context
441 (package
442 (name "python-oslo.context")
443 (version "0.6.0")
444 (source
445 (origin
446 (method url-fetch)
447 (uri (string-append
448 "https://pypi.python.org/packages/source/o/oslo.context/"
449 "oslo.context-" version ".tar.gz"))
450 (sha256
451 (base32
452 "16wr9qrkc3lb94ssb14qid4liza66x316fvzjw0izg67h1a0fm86"))))
453 (build-system python-build-system)
454 (inputs
455 `(("python-babel" ,python-babel)
456 ("python-pbr" ,python-pbr)
457 ("python-setuptools" ,python-setuptools)
458 ;; Tests.
459 ("python-oslotest" ,python-oslotest)))
460 (home-page "http://launchpad.net/oslo")
461 (synopsis "Oslo context library")
462 (description
463 "The Oslo context library has helpers to maintain useful information
464about a request context. The request context is usually populated in the WSGI
465pipeline and used by various modules such as logging.")
466 (license asl2.0)))
467
468(define-public python2-oslo.context
469 (package-with-python2 python-oslo.context))
470
471(define-public python-oslo.i18n
472 (package
473 (name "python-oslo.i18n")
474 (version "2.5.0")
475 (source
476 (origin
477 (method url-fetch)
478 (uri (string-append
479 "https://pypi.python.org/packages/source/o/oslo.i18n/oslo.i18n-"
480 version
481 ".tar.gz"))
482 (sha256
483 (base32
484 "1kg72mqldlri3x0bhxai7j979czrd7mf8s3iflvvv0x9kn9ah4cw"))))
485 (build-system python-build-system)
486 (propagated-inputs
487 `(("python-babel" ,python-babel)
488 ("python-six" ,python-six)))
489 (inputs
490 `(("python-pbr" ,python-pbr)
491 ("python-setuptools" ,python-setuptools)
492 ;; Tests
493 ("python-mock" ,python-mock)
494 ("python-mox3" ,python-mox3)
495 ("python-oslotest" ,python-oslotest)
496 ("python-testscenarios" ,python-testscenarios)))
497 (home-page "http://launchpad.net/oslo")
498 (synopsis "Oslo internationalization (i18n) library")
499 (description
500 "The oslo.i18n library contain utilities for working with
501internationalization (i18n) features, especially translation for text strings
502in an application or library.")
503 (license asl2.0)))
504
505(define-public python2-oslo.i18n
506 (package-with-python2 python-oslo.i18n))
507
508(define-public python-oslo.log
509 (package
510 (name "python-oslo.log")
511 (version "1.6.0")
512 (source
513 (origin
514 (method url-fetch)
515 (uri (string-append
516 "https://pypi.python.org/packages/source/o/oslo.log/oslo.log-"
517 version
518 ".tar.gz"))
519 (sha256
520 (base32
521 "1fhy6yvbd565nv4x4i3ppyrlbmz3yy9d0xsvw5nkqsa7g43nmf8z"))))
522 (build-system python-build-system)
523 (propagated-inputs
524 `(("python-debtcollector" ,python-debtcollector)
525 ("python-oslo.config" ,python-oslo.config)
526 ("python-oslo.context" ,python-oslo.context)
527 ("python-oslo.i18n" ,python-oslo.i18n)
528 ("python-oslo.utils" ,python-oslo.utils)
529 ("python-oslo.serialization" ,python-oslo.serialization)
530 ("python-six" ,python-six)))
531 (inputs
532 `(("python-babel" ,python-babel)
533 ("python-iso8601" ,python-iso8601)
534 ("python-mock" ,python-mock)
535 ("python-oslotest" ,python-oslotest)
536 ("python-pbr" ,python-pbr)
537 ("python-setuptools" ,python-setuptools)))
538 (home-page "http://launchpad.net/oslo")
539 (synopsis "Python logging library of the Oslo project")
540 (description
541 "The oslo.log (logging) configuration library provides standardized
542configuration for all OpenStack projects. It also provides custom formatters,
543handlers and support for context specific logging (like resource id’s etc).")
544 (license asl2.0)))
545
546(define-public python2-oslo.log
547 (package-with-python2 python-oslo.log))
548
549(define-public python-oslo.serialization
550 (package
551 (name "python-oslo.serialization")
552 (version "1.9.0")
553 (source
554 (origin
555 (method url-fetch)
556 (uri (string-append
557 "https://pypi.python.org/packages/source/o/oslo.serialization/"
558 "oslo.serialization-" version ".tar.gz"))
559 (sha256
560 (base32
561 "00qaxg155s61ylh4fqc7m5fh0gijf33khhai9xvcsc9k106i3c9c"))))
562 (build-system python-build-system)
563 (propagated-inputs
564 `(("python-iso8601" ,python-iso8601)
565 ("python-netaddr" ,python-netaddr)
566 ("python-oslo.utils" ,python-oslo.utils)
567 ("python-simplejson" ,python-simplejson)
568 ("python-six" ,python-six)
569 ("python-pytz" ,python-pytz)))
570 (inputs
571 `(("python-babel" ,python-babel)
572 ("python-pbr" ,python-pbr)
573 ("python-setuptools" ,python-setuptools)
574 ;; Tests.
575 ("python-mock" ,python-mock)
576 ("python-oslo.i18n" ,python-oslo.i18n)
577 ("python-oslotest" ,python-oslotest)))
578 (home-page "http://launchpad.net/oslo")
579 (synopsis "Oslo serialization library")
580 (description
581 "The oslo.serialization library provides support for representing objects
582in transmittable and storable formats, such as JSON and MessagePack.")
583 (license asl2.0)))
584
585(define-public python2-oslo.serialization
586 (package-with-python2 python-oslo.serialization))
587
588(define-public python-oslosphinx
589 (package
590 (name "python-oslosphinx")
591 (version "3.1.0")
592 (source
593 (origin
594 (method url-fetch)
595 (uri (pypi-uri "oslosphinx" version))
596 (sha256
597 (base32
598 "0zcshdc9s1f7hnvg0fm2ps5rak3dpnm8kqg4i21lknhmsvb7p5cb"))))
599 (build-system python-build-system)
600 (propagated-inputs
601 `(("python-requests" ,python-requests)))
602 (inputs
603 `(("python-pbr" ,python-pbr)
604 ("python-docutils" ,python-docutils)
605 ("python-hacking" ,python-hacking)
606 ("python-setuptools" ,python-setuptools)
607 ("python-sphinx" ,python-sphinx)))
608 (home-page "http://www.openstack.org/")
609 (synopsis "OpenStack sphinx extensions and theme")
610 (description
611 "This package provides themes and extensions for Sphinx documentation
612from the OpenStack project.")
613 (license asl2.0)))
614
615(define-public python2-oslosphinx
616 (package-with-python2 python-oslosphinx))
617
618(define-public python-oslotest
619 (package
620 (name "python-oslotest")
621 (version "1.10.0")
622 (source
623 (origin
624 (method url-fetch)
625 (uri (string-append
626 "https://pypi.python.org/packages/source/o/oslotest/oslotest-"
627 version
628 ".tar.gz"))
629 (sha256
630 (base32
631 "0l3ny48ddz5xbf0v4r0jv1yhbdzinc2vy0lybhdkmx3xy0b886fs"))))
632 (build-system python-build-system)
633 (propagated-inputs
634 `(("python-fixtures" ,python-fixtures)
635 ("python-mock" ,python-mock)
636 ("python-mox3" ,python-mox3)
637 ("python-six" ,python-six)))
638 (inputs
639 `(("python-pbr" ,python-pbr)
640 ("python-os-client-config" ,python-os-client-config)
641 ("python-setuptools" ,python-setuptools)
642 ("python-subunit" ,python-subunit)
643 ("python-testrepository" ,python-testrepository)
644 ("python-testscenarios" ,python-testscenarios)
645 ("python-testtools" ,python-testtools)))
646 (home-page "http://launchpad.net/oslo")
647 (synopsis "Oslo test framework")
648 (description
649 "The Oslo Test framework provides common fixtures, support for debugging,
650and better support for mocking results.")
651 (license asl2.0)))
652
653(define-public python2-oslotest
654 (package-with-python2 python-oslotest))
655
656(define-public python-oslo.utils
657 (package
658 (name "python-oslo.utils")
659 (version "2.5.0")
660 (source
661 (origin
662 (method url-fetch)
663 (uri (string-append
664 "https://pypi.python.org/packages/source/o/oslo.utils/oslo.utils-"
665 version
666 ".tar.gz"))
667 (sha256
668 (base32
669 "11b073gblhzkxhi1j6sqk3apq2ll8xhi9h9g9kxzx9dycqdq0qp0"))
670 (snippet
671 '(begin
672 ;; FIXME: setuptools fails to import this file during the test
673 ;; phase.
674 (delete-file "oslo_utils/tests/test_netutils.py")))))
675 (build-system python-build-system)
676 (propagated-inputs
677 `(("python-debtcollector" ,python-debtcollector)
678 ("python-oslo.i18n" ,python-oslo.i18n)
679 ("python-iso8601" ,python-iso8601)
680 ("python-monotonic" ,python-monotonic)
681 ("python-netaddr" ,python-netaddr)
682 ("python-netifaces" ,python-netifaces)
683 ("python-pytz" ,python-pytz)
684 ("python-six" ,python-six)))
685 (inputs
686 `(("python-babel" ,python-babel)
687 ("python-pbr" ,python-pbr)
688 ("python-setuptools" ,python-setuptools)
689 ;; Tests.
690 ("python-oslotest" ,python-oslotest)
691 ("python-mock" ,python-mock)
692 ("python-mox3" ,python-mox3)
693 ("python-testscenarios" ,python-testscenarios)))
694 (home-page "http://launchpad.net/oslo")
695 (synopsis "Oslo utility library")
696 (description
697 "The @code{oslo.utils} library provides support for common utility type
698functions, such as encoding, exception handling, string manipulation, and time
699handling.")
700 (license asl2.0)))
701
702(define-public python2-oslo.utils
703 (package-with-python2 python-oslo.utils))