diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-24 03:52:34 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-27 00:25:51 +0100 |
| commit | 501f5ebe057829427da4b0e1962ca4aa13e2f683 (patch) | |
| tree | 69f1503203b417fb40810ba0cad478da3aa2c0a1 /gnu/packages/openstack.scm | |
| parent | 3f8b7079725d89e83c0defd455e3ccec530a40a4 (diff) | |
gnu: python-os-service-types: Update to 1.8.0.
* gnu/packages/openstack.scm (python-os-service-types): Update to 1.8.0.
[source]: Also improve style.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Add phases 'check and 'relax-requirements.
[native-inputs]: Replace python-pbr by python-pbr-next. Add
python-keystoneauth1, python-oslotest, python-pbr-next,
python-requests-mock, python-setuptools, python-stestr,
python-testscenarios, python-wheel.
Change-Id: Iad9a3fa79ef7f345affe36d0f801582da33a7bfb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/openstack.scm')
| -rw-r--r-- | gnu/packages/openstack.scm | 41 |
1 files changed, 29 insertions, 12 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 5b8f6ff86f4..ae11f6a51c3 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm | |||
| @@ -251,19 +251,36 @@ to docs.openstack.org and developer.openstack.org.") | |||
| 251 | (define-public python-os-service-types | 251 | (define-public python-os-service-types |
| 252 | (package | 252 | (package |
| 253 | (name "python-os-service-types") | 253 | (name "python-os-service-types") |
| 254 | (version "1.7.0") | 254 | (version "1.8.0") |
| 255 | (source (origin | 255 | (source |
| 256 | (method url-fetch) | 256 | (origin |
| 257 | (uri (pypi-uri "os-service-types" version)) | 257 | (method url-fetch) |
| 258 | (sha256 | 258 | (uri (pypi-uri "os_service_types" version)) |
| 259 | (base32 | 259 | (sha256 |
| 260 | "0v4chwr5jykkvkv4w7iaaic7gb06j6ziw7xrjlwkcf92m2ch501i")))) | 260 | (base32 "0gk0lgg862pwpisjz36jlrnr5ij75c8ja01znb1398rc2d7yf349")))) |
| 261 | (build-system python-build-system) | 261 | (build-system pyproject-build-system) |
| 262 | (arguments | 262 | (arguments |
| 263 | ;; The tests are disabled to avoid a circular dependency with | 263 | (list |
| 264 | ;; python-keystoneauth1. | 264 | #:phases |
| 265 | `(#:tests? #f)) | 265 | #~(modify-phases %standard-phases |
| 266 | (native-inputs (list python-pbr)) | 266 | (add-after 'unpack 'relax-requirements |
| 267 | (lambda _ | ||
| 268 | (substitute* "test-requirements.txt" | ||
| 269 | (("(coverage|hacking).*") | ||
| 270 | "")))) | ||
| 271 | (replace 'check | ||
| 272 | (lambda* (#:key tests? test-flags #:allow-other-keys) | ||
| 273 | (when tests? | ||
| 274 | (apply invoke "stestr" "run" test-flags))))))) | ||
| 275 | (native-inputs | ||
| 276 | (list python-keystoneauth1 | ||
| 277 | python-oslotest | ||
| 278 | python-pbr-next | ||
| 279 | python-requests-mock | ||
| 280 | python-setuptools | ||
| 281 | python-stestr | ||
| 282 | python-testscenarios | ||
| 283 | python-wheel)) | ||
| 267 | (home-page "https://docs.openstack.org/os-service-types/latest/") | 284 | (home-page "https://docs.openstack.org/os-service-types/latest/") |
| 268 | (synopsis "Library for consuming OpenStack Service Types Authority data") | 285 | (synopsis "Library for consuming OpenStack Service Types Authority data") |
| 269 | (description "The @emph{OpenStack Service Types Authority} contains | 286 | (description "The @emph{OpenStack Service Types Authority} contains |
