gnu: Add python-oslo-log-bootstrap.

This partial package can only work in the context of the native-input
of python-oslo-config.

* gnu/packages/openstack.scm (python-oslo-log-bootstrap): New variable.

Change-Id: Ie02c90ef64ad230072066f8ab00e1d0bde68d594
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-07-23 22:25:58 +02:00 committed by Sharlatan Hellseher
parent 6d650b56e1
commit 3e38b6a57f
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -47,6 +47,7 @@
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix download)
#:use-module (guix utils)
#:use-module ((guix licenses)
#:select (asl2.0))
#:use-module (guix packages)
@ -597,6 +598,20 @@ configuration for all OpenStack projects. It also provides custom formatters,
handlers and support for context specific logging (like resource ids etc).")
(license asl2.0)))
(define-public python-oslo-log-bootstrap
(hidden-package
(package/inherit python-oslo-log
(arguments
(substitute-keyword-arguments (package-arguments python-oslo-log)
((#:tests? t? #t)
#f)
((#:phases phases #~%standard-phases)
#~(modify-phases #$phases
(delete 'sanity-check)))))
(propagated-inputs
(modify-inputs (package-propagated-inputs python-oslo-log)
(delete "python-oslo-config"))))))
(define-public python-oslo-serialization
(package
(name "python-oslo-serialization")