summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-19 15:46:50 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:33 +0100
commitc7fec22b91877ee339462780a644330898bddcaf (patch)
tree454723354987e541353be3657572f71136cc9298 /gnu/packages
parent76ba800cf54f20cabcd2bc633fea37a72cf92d6c (diff)
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
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/openstack.scm21
1 files changed, 15 insertions, 6 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 85a5a5ab205..9a1c26feb1a 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -911,15 +911,24 @@ documentation from the OpenStack project.")
(sha256
(base32 "1vp85v81p2vx66j973hc7fa65shp0ilhaypyyny01jwcip94152s"))))
(build-system pyproject-build-system)
- (propagated-inputs
- (list python-fixtures python-subunit python-testtools))
+ (arguments
+ (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
- (list python-coverage
- python-debtcollector
+ (list python-debtcollector
python-oslo-config
python-stestr
- python-setuptools
- python-wheel))
+ python-setuptools))
+ (propagated-inputs
+ (list python-fixtures
+ python-subunit
+ python-testtools))
(home-page "https://launchpad.net/oslo")
(synopsis "Oslo test framework")
(description "The Oslo Test framework provides common fixtures, support