diff options
| author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2022-07-21 20:24:34 +0200 |
|---|---|---|
| committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2022-08-10 09:38:57 +0200 |
| commit | c037745a4c99a5fc9483f6e0e12e2867d26cf10c (patch) | |
| tree | 11cdabba29d80551c0bf8cf3a44d74d9cbd51213 /gnu/packages/openstack.scm | |
| parent | 0b929d2d239a5e32f2c87e6744105dff34c72c4a (diff) | |
gnu: Add python-requestsexceptions.
* gnu/packages/openstack.scm (python-requestsexceptions): New variable.
Diffstat (limited to 'gnu/packages/openstack.scm')
| -rw-r--r-- | gnu/packages/openstack.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 4e3e9335098..217fcb4a93a 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm | |||
| @@ -924,3 +924,27 @@ permanence.") | |||
| 924 | "Git-review is a command-line tool that helps submitting Git branches to | 924 | "Git-review is a command-line tool that helps submitting Git branches to |
| 925 | Gerrit for review, or fetching existing ones.") | 925 | Gerrit for review, or fetching existing ones.") |
| 926 | (license asl2.0))) | 926 | (license asl2.0))) |
| 927 | |||
| 928 | (define-public python-requestsexceptions | ||
| 929 | (package | ||
| 930 | (name "python-requestsexceptions") | ||
| 931 | (version "1.4.0") | ||
| 932 | (source (origin | ||
| 933 | (method url-fetch) | ||
| 934 | (uri (pypi-uri "requestsexceptions" version)) | ||
| 935 | (sha256 | ||
| 936 | (base32 | ||
| 937 | "0r9hp9yzgj8r81q5gc6r8sgxldqc09xi6ax0b7a6dw0qfv3wp5dh")))) | ||
| 938 | (build-system python-build-system) | ||
| 939 | (arguments | ||
| 940 | '(#:tests? #f)) ; no tests | ||
| 941 | (native-inputs (list python-pbr)) | ||
| 942 | (home-page "https://www.openstack.org/") | ||
| 943 | (synopsis "Import exceptions from potentially bundled packages in requests") | ||
| 944 | (description "The Python requests library bundles the urllib3 library, | ||
| 945 | however, some software distributions modify requests to remove the bundled | ||
| 946 | library. This makes some operations difficult, such as suppressing the | ||
| 947 | “insecure platform warning” messages that urllib emits. This package is a | ||
| 948 | simple library to find the correct path to exceptions in the requests library | ||
| 949 | regardless of whether they are bundled or not.") | ||
| 950 | (license asl2.0))) | ||
