gnu: python-oslotest: Fix build.

* gnu/packages/openstack.scm (python-oslotest)[arguments] <phases>: Add
'remove-sub-package.
[native-inputs]: Remove python-coverage and python-wheel.

Change-Id: Ibefd7e2bd7d60477931e38ba790fa01dfcae9403
This commit is contained in:
Sharlatan Hellseher 2025-09-19 15:46:50 +01:00
parent 76ba800cf5
commit c7fec22b91
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -911,15 +911,24 @@ documentation from the OpenStack project.")
(sha256 (sha256
(base32 "1vp85v81p2vx66j973hc7fa65shp0ilhaypyyny01jwcip94152s")))) (base32 "1vp85v81p2vx66j973hc7fa65shp0ilhaypyyny01jwcip94152s"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(propagated-inputs (arguments
(list python-fixtures python-subunit python-testtools)) (list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-sub-package
;; error: Multiple top-level packages discovered in a flat-layout:
;; ['oslotest', 'releasenotes'].
(lambda _
(delete-file-recursively "releasenotes"))))))
(native-inputs (native-inputs
(list python-coverage (list python-debtcollector
python-debtcollector
python-oslo-config python-oslo-config
python-stestr python-stestr
python-setuptools python-setuptools))
python-wheel)) (propagated-inputs
(list python-fixtures
python-subunit
python-testtools))
(home-page "https://launchpad.net/oslo") (home-page "https://launchpad.net/oslo")
(synopsis "Oslo test framework") (synopsis "Oslo test framework")
(description "The Oslo Test framework provides common fixtures, support (description "The Oslo Test framework provides common fixtures, support