diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-24 04:01:08 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-27 00:25:52 +0100 |
| commit | 16882bd2e7d898813bbe35409336967097135560 (patch) | |
| tree | 5d6e004d5ba262a36fcf98182da16a8c6852be7a /gnu/packages/openstack.scm | |
| parent | f64d8a651e1ef9e80f6e2a8f80e1638f0edd784d (diff) | |
gnu: python-tempest-lib: Switch to pyproject.
* gnu/packages/openstack.scm (python-tempest-lib):
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style.
[native-inputs]: Add python-setuptools, python-wheel.
[propagated-inputs]: Remove python-six.
Change-Id: I01cd34b6b5ce70ee93bffc09b470f295820fb743
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/openstack.scm')
| -rw-r--r-- | gnu/packages/openstack.scm | 60 |
1 files changed, 32 insertions, 28 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index eb49814fc15..7c6410ea3b5 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm | |||
| @@ -485,40 +485,44 @@ OpenStack deployment.") | |||
| 485 | (version "1.0.0") | 485 | (version "1.0.0") |
| 486 | (source | 486 | (source |
| 487 | (origin | 487 | (origin |
| 488 | (method url-fetch) | 488 | (method url-fetch) |
| 489 | (uri (pypi-uri "tempest-lib" version)) | 489 | (uri (pypi-uri "tempest-lib" version)) |
| 490 | (sha256 | 490 | (sha256 |
| 491 | (base32 | 491 | (base32 "1cpp2vwmawpd29hjsklsps181lq2ah91cl412qvpnz228nf9sqn5")))) |
| 492 | "1cpp2vwmawpd29hjsklsps181lq2ah91cl412qvpnz228nf9sqn5")))) | 492 | (build-system pyproject-build-system) |
| 493 | (build-system python-build-system) | ||
| 494 | (arguments | 493 | (arguments |
| 495 | `(#:tests? #f ; FIXME: Requires oslo.log >= 1.14.0. | 494 | (list |
| 496 | #:phases | 495 | #:tests? #f ; FIXME: Requires a lot of ancient packages. |
| 497 | (modify-phases %standard-phases | 496 | #:phases |
| 498 | (add-after 'unpack 'relax-requirements | 497 | #~(modify-phases %standard-phases |
| 499 | (lambda _ | 498 | (add-after 'unpack 'relax-requirements |
| 500 | (substitute* "requirements.txt" | 499 | (lambda _ |
| 501 | (("jsonschema[<>!=].*") "jsonschema\n")))) | 500 | (substitute* "requirements.txt" |
| 502 | (add-before | 501 | (("jsonschema[<>!=].*") "jsonschema\n")))) |
| 503 | 'check 'pre-check | 502 | (add-before 'check 'pre-check |
| 504 | (lambda _ | 503 | (lambda* (#:key inputs #:allow-other-keys) |
| 505 | (substitute* "tempest_lib/tests/cli/test_execute.py" | 504 | (substitute* "tempest_lib/tests/cli/test_execute.py" |
| 506 | (("/bin/ls") (which "ls")))))))) | 505 | (("/bin/ls") |
| 506 | (search-input-file inputs "bin/ls")))))))) | ||
| 507 | (propagated-inputs | 507 | (propagated-inputs |
| 508 | (list python-fixtures | 508 | (list python-fixtures |
| 509 | python-httplib2 | 509 | python-httplib2 |
| 510 | python-iso8601 | 510 | python-iso8601 |
| 511 | python-jsonschema | 511 | python-jsonschema |
| 512 | python-oslo-log | 512 | python-oslo-log |
| 513 | python-paramiko | 513 | python-paramiko)) |
| 514 | python-six)) | ||
| 515 | (native-inputs | 514 | (native-inputs |
| 516 | (list python-babel python-mock python-os-testr python-oslotest | 515 | (list python-babel |
| 517 | python-pbr)) | 516 | python-mock |
| 517 | python-os-testr | ||
| 518 | python-oslotest | ||
| 519 | python-pbr | ||
| 520 | python-setuptools | ||
| 521 | python-wheel)) | ||
| 518 | (home-page "https://www.openstack.org/") | 522 | (home-page "https://www.openstack.org/") |
| 519 | (synopsis "OpenStack functional testing library") | 523 | (synopsis "OpenStack functional testing library") |
| 520 | (description | 524 | (description |
| 521 | "Tempest-lib is a functional testing library for OpenStack. It provides | 525 | "Tempest-lib is a functional testing library for OpenStack. It provides |
| 522 | common features used in Tempest.") | 526 | common features used in Tempest.") |
| 523 | (license asl2.0))) | 527 | (license asl2.0))) |
| 524 | 528 | ||
