diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-24 03:55:19 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-27 00:25:51 +0100 |
| commit | 808e3ebc596427ac008d68ddc0121fe8ff6ffa53 (patch) | |
| tree | 9c73238ece2a850ef23e01e7f778f017f19864bc /gnu | |
| parent | 501f5ebe057829427da4b0e1962ca4aa13e2f683 (diff) | |
gnu: python-os-testr: Update to 3.0.0.
* gnu/packages/openstack.scm (python-os-testr): Update to 3.0.0.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Add 'relax-requirements phase.
[native-inputs]: Add python-setuptools, python-wheel, python-ddt,
python-oslotest, python-testscenarios.
Change-Id: Icda2bb640078e765bad4f3d81b14a02c900122cc
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/openstack.scm | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index ae11f6a51c3..017372310cf 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm | |||
| @@ -307,24 +307,35 @@ is for some reason not possible and local caching of the fetched data.") | |||
| 307 | (define-public python-os-testr | 307 | (define-public python-os-testr |
| 308 | (package | 308 | (package |
| 309 | (name "python-os-testr") | 309 | (name "python-os-testr") |
| 310 | (version "2.0.1") | 310 | (version "3.0.0") |
| 311 | (source | 311 | (source |
| 312 | (origin | 312 | (origin |
| 313 | (method url-fetch) | 313 | (method url-fetch) |
| 314 | (uri (pypi-uri "os-testr" version)) | 314 | (uri (pypi-uri "os-testr" version)) |
| 315 | (sha256 | 315 | (sha256 |
| 316 | (base32 | 316 | (base32 "0vik5sjl0qhz6xqqg6gnaf5jva31m7xykyc0azb53jfq7y57ladv")))) |
| 317 | "10xaqg3wxly13652hdvh9c69y4s12ird0ircffya3kvpl5pky0pz")))) | 317 | (build-system pyproject-build-system) |
| 318 | (build-system python-build-system) | ||
| 319 | (arguments | 318 | (arguments |
| 320 | ;; os-testr uses itself to run the tests. It seems like pbr writes the | 319 | (list |
| 321 | ;; exectuable in the virtualenv when using tox. Not sure how to do this | 320 | #:phases |
| 322 | ;; when building the package. Skip the tests for now. | 321 | #~(modify-phases %standard-phases |
| 323 | `(#:tests? #f)) | 322 | (add-after 'unpack 'relax-requirements |
| 323 | (lambda _ | ||
| 324 | (substitute* "test-requirements.txt" | ||
| 325 | (("(coverage|hacking).*") | ||
| 326 | ""))))))) | ||
| 324 | (propagated-inputs | 327 | (propagated-inputs |
| 325 | (list python-stestr)) | 328 | (list python-stestr)) |
| 326 | (native-inputs | 329 | (native-inputs |
| 327 | (list python-babel python-pbr python-testrepository python-testtools)) | 330 | (list python-babel |
| 331 | python-ddt | ||
| 332 | python-oslotest | ||
| 333 | python-pbr | ||
| 334 | python-setuptools | ||
| 335 | python-testrepository | ||
| 336 | python-testscenarios | ||
| 337 | python-testtools | ||
| 338 | python-wheel)) | ||
| 328 | (home-page "https://www.openstack.org/") | 339 | (home-page "https://www.openstack.org/") |
| 329 | (synopsis "Testr wrapper to provide functionality for OpenStack projects") | 340 | (synopsis "Testr wrapper to provide functionality for OpenStack projects") |
| 330 | (description | 341 | (description |
