summaryrefslogtreecommitdiff
path: root/gnu/packages/openstack.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-07-24 04:01:08 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-27 00:25:52 +0100
commit16882bd2e7d898813bbe35409336967097135560 (patch)
tree5d6e004d5ba262a36fcf98182da16a8c6852be7a /gnu/packages/openstack.scm
parentf64d8a651e1ef9e80f6e2a8f80e1638f0edd784d (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.scm60
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.")
(version "1.0.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "tempest-lib" version))
- (sha256
- (base32
- "1cpp2vwmawpd29hjsklsps181lq2ah91cl412qvpnz228nf9sqn5"))))
- (build-system python-build-system)
+ (method url-fetch)
+ (uri (pypi-uri "tempest-lib" version))
+ (sha256
+ (base32 "1cpp2vwmawpd29hjsklsps181lq2ah91cl412qvpnz228nf9sqn5"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:tests? #f ; FIXME: Requires oslo.log >= 1.14.0.
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'relax-requirements
- (lambda _
- (substitute* "requirements.txt"
- (("jsonschema[<>!=].*") "jsonschema\n"))))
- (add-before
- 'check 'pre-check
- (lambda _
- (substitute* "tempest_lib/tests/cli/test_execute.py"
- (("/bin/ls") (which "ls"))))))))
+ (list
+ #:tests? #f ; FIXME: Requires a lot of ancient packages.
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "requirements.txt"
+ (("jsonschema[<>!=].*") "jsonschema\n"))))
+ (add-before 'check 'pre-check
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "tempest_lib/tests/cli/test_execute.py"
+ (("/bin/ls")
+ (search-input-file inputs "bin/ls"))))))))
(propagated-inputs
- (list python-fixtures
- python-httplib2
- python-iso8601
- python-jsonschema
- python-oslo-log
- python-paramiko
- python-six))
+ (list python-fixtures
+ python-httplib2
+ python-iso8601
+ python-jsonschema
+ python-oslo-log
+ python-paramiko))
(native-inputs
- (list python-babel python-mock python-os-testr python-oslotest
- python-pbr))
+ (list python-babel
+ python-mock
+ python-os-testr
+ python-oslotest
+ python-pbr
+ python-setuptools
+ python-wheel))
(home-page "https://www.openstack.org/")
(synopsis "OpenStack functional testing library")
(description
- "Tempest-lib is a functional testing library for OpenStack. It provides
+ "Tempest-lib is a functional testing library for OpenStack. It provides
common features used in Tempest.")
(license asl2.0)))