summaryrefslogtreecommitdiff
path: root/gnu/packages/openstack.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-07-24 04:28:43 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-27 00:25:54 +0100
commit6901133f4b671900c4974c45e840eaecf592c4a4 (patch)
tree1477f265cba5c31363afd4425973e70661dda96e /gnu/packages/openstack.scm
parentff5484a774302750aa7e9e30e0fb5d13c1eddfd2 (diff)
gnu: python-requestsexceptions: Switch to pyproject.
* gnu/packages/openstack.scm (python-requestsexceptions): [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Enable them. <#:phases>: Add 'relax-requirements phase. [native-inputs]: Add python-pbr, python-setuptools, python-wheel. Change-Id: I65418e50cfd9263257adb95fb83ea0662bf15803 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/openstack.scm')
-rw-r--r--gnu/packages/openstack.scm25
1 files changed, 16 insertions, 9 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 968c102b80d..81149066231 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -1215,16 +1215,23 @@ Gerrit for review, or fetching existing ones.")
1215 (package 1215 (package
1216 (name "python-requestsexceptions") 1216 (name "python-requestsexceptions")
1217 (version "1.4.0") 1217 (version "1.4.0")
1218 (source (origin 1218 (source
1219 (method url-fetch) 1219 (origin
1220 (uri (pypi-uri "requestsexceptions" version)) 1220 (method url-fetch)
1221 (sha256 1221 (uri (pypi-uri "requestsexceptions" version))
1222 (base32 1222 (sha256
1223 "0r9hp9yzgj8r81q5gc6r8sgxldqc09xi6ax0b7a6dw0qfv3wp5dh")))) 1223 (base32 "0r9hp9yzgj8r81q5gc6r8sgxldqc09xi6ax0b7a6dw0qfv3wp5dh"))))
1224 (build-system python-build-system) 1224 (build-system pyproject-build-system)
1225 (arguments 1225 (arguments
1226 '(#:tests? #f)) ; no tests 1226 (list
1227 (native-inputs (list python-pbr)) 1227 #:phases
1228 #~(modify-phases %standard-phases
1229 (add-after 'unpack 'relax-requirements
1230 (lambda _
1231 (substitute* "test-requirements.txt"
1232 (("hacking.*")
1233 "")))))))
1234 (native-inputs (list python-pbr python-setuptools python-wheel))
1228 (home-page "https://www.openstack.org/") 1235 (home-page "https://www.openstack.org/")
1229 (synopsis "Import exceptions from potentially bundled packages in requests") 1236 (synopsis "Import exceptions from potentially bundled packages in requests")
1230 (description "The Python requests library bundles the urllib3 library, 1237 (description "The Python requests library bundles the urllib3 library,