guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 62b28614c9744be25c61f39e81e4c38667ade3ec
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Sep 5 15:55:14 2025 +0100

    gnu: python-bson: Switch to pyproject.
    
    * gnu/packages/python-xyz.scm (python-bson)[build-system]: Switch to
    pyproject-build-system.
    [native-inputs]: Add python-pytest and python-setuptools.
    
    Change-Id: I66e4fcd4cbaef2a32f76a2161dfa08fcedabebae
---
 gnu/packages/python-xyz.scm | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 22eee15373..5600a70025 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24769,15 +24769,13 @@ pytest-fixtures-style dependency injection.")
        (sha256
         (base32
          "1vpy4rsvm3hhawvbg9rbw4j36ck8qylkhm8cjy0q6imvinkd2als"))))
-    (build-system python-build-system)
-    (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "./test.py")))))))
-    (propagated-inputs (list python-dateutil python-six))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-pytest
+           python-setuptools))
+    (propagated-inputs
+     (list python-dateutil
+           python-six))
     (home-page "https://github.com/py-bson/bson";)
     (synopsis "BSON (Binary JSON) codec for Python")
     (description "@code{bson} is a Python library implementing a BSON (Binary

Reply via email to