guix_mirror_bot pushed a commit to branch master
in repository guix.

commit c84a67e449dd70cfd53b5d0776004a30d9f21d59
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Jul 24 04:12:07 2025 +0200

    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 <[email protected]>
---
 gnu/packages/openstack.scm | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 4708a94c70..768f455b52 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -742,31 +742,33 @@ in an application or library.")
       (method url-fetch)
       (uri (pypi-uri "oslo_log" version))
       (sha256
-        (base32
-          "1siw60x15ysfbf88hiisdn556y4anixj3clciky4xcwsiz8a6gwn"))))
-  (build-system python-build-system)
+        (base32 "1siw60x15ysfbf88hiisdn556y4anixj3clciky4xcwsiz8a6gwn"))))
+  (build-system pyproject-build-system)
   (arguments
-   '(#:phases (modify-phases %standard-phases
-                (replace 'check
-                  (lambda* (#:key tests? #:allow-other-keys)
-                    (when tests? (invoke "stestr" "run")))))))
+   (list
+    #:phases
+    #~(modify-phases %standard-phases
+        (replace 'check
+          (lambda* (#:key tests? test-flags #:allow-other-keys)
+            (when tests?
+              (apply invoke "stestr" "run" test-flags)))))))
   (propagated-inputs
    (list python-dateutil
-         python-debtcollector
          python-oslo-config
          python-oslo-context
-         python-oslo-i18n
+         python-oslo-i18n-bootstrap
          python-oslo-serialization
-         python-oslo-utils
-         python-pbr))
+         python-oslo-utils))
   (native-inputs
    (list python-coverage
          python-eventlet
          python-fixtures
-         python-oslotest
-         python-pbr
+         python-oslotest-bootstrap
+         python-pbr-next
+         python-setuptools
          python-stestr
-         python-testtools))
+         python-testtools
+         python-wheel))
   (home-page "https://launchpad.net/oslo";)
   (synopsis "Python logging library of the Oslo project")
   (description

Reply via email to