summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-07-24 04:12:07 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-27 00:25:52 +0100
commitc84a67e449dd70cfd53b5d0776004a30d9f21d59 (patch)
tree95de7012b34ca24647f752f6360c2a188ef9a979 /gnu
parent4a7e5dd9e08f2e4e33d7279eaceb4bd0686da8c3 (diff)
gnu: python-oslo-log: Switch to pyproject.
* gnu/packages/openstack.scm (python-oslo-log): [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Replace 'check phase. [propagated-inputs]: Remove python-debtcollector, python-pbr. Replace python-oslo-i18n by its -bootstrap variant. [native-inputs]: Add python-setuptools, python-wheel. Replace python-oslotest by its -bootstrap variant. Replace python-pbr by its -next variant. Change-Id: I4dfce8a729a545c7979b18b26ce6257d717a9515 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/openstack.scm30
1 files changed, 16 insertions, 14 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 4708a94c705..768f455b520 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -742,31 +742,33 @@ in an application or library.")
742 (method url-fetch) 742 (method url-fetch)
743 (uri (pypi-uri "oslo_log" version)) 743 (uri (pypi-uri "oslo_log" version))
744 (sha256 744 (sha256
745 (base32 745 (base32 "1siw60x15ysfbf88hiisdn556y4anixj3clciky4xcwsiz8a6gwn"))))
746 "1siw60x15ysfbf88hiisdn556y4anixj3clciky4xcwsiz8a6gwn")))) 746 (build-system pyproject-build-system)
747 (build-system python-build-system)
748 (arguments 747 (arguments
749 '(#:phases (modify-phases %standard-phases 748 (list
750 (replace 'check 749 #:phases
751 (lambda* (#:key tests? #:allow-other-keys) 750 #~(modify-phases %standard-phases
752 (when tests? (invoke "stestr" "run"))))))) 751 (replace 'check
752 (lambda* (#:key tests? test-flags #:allow-other-keys)
753 (when tests?
754 (apply invoke "stestr" "run" test-flags)))))))
753 (propagated-inputs 755 (propagated-inputs
754 (list python-dateutil 756 (list python-dateutil
755 python-debtcollector
756 python-oslo-config 757 python-oslo-config
757 python-oslo-context 758 python-oslo-context
758 python-oslo-i18n 759 python-oslo-i18n-bootstrap
759 python-oslo-serialization 760 python-oslo-serialization
760 python-oslo-utils 761 python-oslo-utils))
761 python-pbr))
762 (native-inputs 762 (native-inputs
763 (list python-coverage 763 (list python-coverage
764 python-eventlet 764 python-eventlet
765 python-fixtures 765 python-fixtures
766 python-oslotest 766 python-oslotest-bootstrap
767 python-pbr 767 python-pbr-next
768 python-setuptools
768 python-stestr 769 python-stestr
769 python-testtools)) 770 python-testtools
771 python-wheel))
770 (home-page "https://launchpad.net/oslo") 772 (home-page "https://launchpad.net/oslo")
771 (synopsis "Python logging library of the Oslo project") 773 (synopsis "Python logging library of the Oslo project")
772 (description 774 (description