diff options
| author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2022-07-21 20:33:32 +0200 |
|---|---|---|
| committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2022-08-10 09:38:58 +0200 |
| commit | 8a4faff132fddc4ff6f26778787cd60e9732d6b3 (patch) | |
| tree | f0813ed78a9b9fccf862ceb5a84c964c7f7f71f3 /gnu/packages/openstack.scm | |
| parent | c037745a4c99a5fc9483f6e0e12e2867d26cf10c (diff) | |
gnu: Add python-openstacksdk.
* gnu/packages/openstack.scm (python-openstacksdk): New variable.
Diffstat (limited to 'gnu/packages/openstack.scm')
| -rw-r--r-- | gnu/packages/openstack.scm | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 217fcb4a93a..e84c9ac7bcb 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm | |||
| @@ -27,7 +27,9 @@ | |||
| 27 | (define-module (gnu packages openstack) | 27 | (define-module (gnu packages openstack) |
| 28 | #:use-module (gnu packages) | 28 | #:use-module (gnu packages) |
| 29 | #:use-module (gnu packages check) | 29 | #:use-module (gnu packages check) |
| 30 | #:use-module (gnu packages databases) | ||
| 30 | #:use-module (gnu packages gnupg) | 31 | #:use-module (gnu packages gnupg) |
| 32 | #:use-module (gnu packages monitoring) | ||
| 31 | #:use-module (gnu packages python) | 33 | #:use-module (gnu packages python) |
| 32 | #:use-module (gnu packages python-build) | 34 | #:use-module (gnu packages python-build) |
| 33 | #:use-module (gnu packages python-check) | 35 | #:use-module (gnu packages python-check) |
| @@ -948,3 +950,72 @@ library. This makes some operations difficult, such as suppressing the | |||
| 948 | simple library to find the correct path to exceptions in the requests library | 950 | simple library to find the correct path to exceptions in the requests library |
| 949 | regardless of whether they are bundled or not.") | 951 | regardless of whether they are bundled or not.") |
| 950 | (license asl2.0))) | 952 | (license asl2.0))) |
| 953 | |||
| 954 | (define-public python-openstacksdk | ||
| 955 | (package | ||
| 956 | (name "python-openstacksdk") | ||
| 957 | (version "0.100.0") | ||
| 958 | (source (origin | ||
| 959 | (method url-fetch) | ||
| 960 | (uri (pypi-uri "openstacksdk" version)) | ||
| 961 | (sha256 | ||
| 962 | (base32 | ||
| 963 | "0iq7rxw59ibl6xsqh3jw56yg3zfbz3cqgx1239n6xd9iv86mcgq1")))) | ||
| 964 | (build-system python-build-system) | ||
| 965 | (arguments | ||
| 966 | '(#:phases (modify-phases %standard-phases | ||
| 967 | (replace 'check | ||
| 968 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 969 | (when tests? | ||
| 970 | (with-output-to-file "exclusion-list.txt" | ||
| 971 | (lambda _ | ||
| 972 | (display | ||
| 973 | (string-append | ||
| 974 | ;; tests timing out | ||
| 975 | "test_create_dynamic_large_object$\n" | ||
| 976 | "test_create_object_index_rax$\n" | ||
| 977 | "test_create_object_skip_checksum$\n" | ||
| 978 | "test_inspect_machine_inspect_failed$\n" | ||
| 979 | "test_inspect_machine_wait$\n" | ||
| 980 | "test_status_fails_different_attribute$\n" | ||
| 981 | "test_status_match$\n" | ||
| 982 | "test_status_match_different_attribute$\n" | ||
| 983 | "test_status_match_with_none$\n" | ||
| 984 | "test_wait_for_baremetal_node_lock_locked$\n" | ||
| 985 | "test_wait_for_task_error_396$\n" | ||
| 986 | "test_wait_for_task_wait$\n")))) | ||
| 987 | (invoke "stestr" "run" | ||
| 988 | "--exclude-list" "exclusion-list.txt"))))))) | ||
| 989 | (native-inputs (list python-ddt | ||
| 990 | python-hacking | ||
| 991 | python-jsonschema | ||
| 992 | python-pbr | ||
| 993 | python-prometheus-client | ||
| 994 | python-requests-mock | ||
| 995 | python-statsd | ||
| 996 | python-stestr | ||
| 997 | python-testscenarios | ||
| 998 | python-oslo.config | ||
| 999 | python-oslotest)) | ||
| 1000 | (propagated-inputs (list python-appdirs | ||
| 1001 | python-cryptography | ||
| 1002 | python-decorator | ||
| 1003 | python-dogpile.cache | ||
| 1004 | python-importlib-metadata | ||
| 1005 | python-iso8601 | ||
| 1006 | python-jmespath | ||
| 1007 | python-jsonpatch | ||
| 1008 | python-keystoneauth1 | ||
| 1009 | python-munch | ||
| 1010 | python-netifaces | ||
| 1011 | python-os-service-types | ||
| 1012 | python-pbr ; run-time dependency actually | ||
| 1013 | python-pyyaml | ||
| 1014 | python-requestsexceptions)) | ||
| 1015 | (home-page "https://docs.openstack.org/openstacksdk/latest/") | ||
| 1016 | (synopsis "SDK for building applications to work with OpenStack") | ||
| 1017 | (description "This package provides a client library for building | ||
| 1018 | applications to work with OpenStack clouds. The SDK aims to provide a | ||
| 1019 | consistent and complete set of interactions with OpenStack’s many services, | ||
| 1020 | along with complete documentation, examples, and tools.") | ||
| 1021 | (license asl2.0))) | ||
