guix_mirror_bot pushed a commit to branch master
in repository guix.

commit f45883c051bdaeeb13edfeeee3f4ae3c56aab3db
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 19 19:12:08 2025 +0200

    gnu: python-atomicwrites: Switch to pyproject.
    
    * gnu/packages/python-xyz.scm (python-atomicwrites):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Remove them.
    [native-inputs]: Add python-setuptools.
    [description]: Improve style.
    
    Change-Id: I1cc040e89d1971b77def03502b95b173b860df35
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1b4496b5b3..0c5fd7746f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19838,16 +19838,20 @@ tables.")
   (package
     (name "python-atomicwrites")
     (version "1.4.0")
-    (source (origin
-             (method url-fetch)
-             (uri (pypi-uri "atomicwrites" version))
-             (sha256
-              (base32
-               "0yla2svfhfqrcj8qbyqzx7wi4jy0dwcxvlkg0k3zjd54s5m3jw5f"))))
-    (build-system python-build-system)
-    (arguments `(#:tests? #f))          ;avoid circular dependency with pytest
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/untitaker/python-atomicwrites";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1f21l5fyh8qmsacbsknwwgnd1b9x4i0aw0zpczr05wklkkbvd58y"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-pytest python-setuptools))
     (synopsis "Atomic file writes in Python")
-    (description "Library for atomic file writes using platform dependent tools
+    (description
+     "Library for atomic file writes using platform dependent tools
 for atomic file system operations.")
     (home-page "https://github.com/untitaker/python-atomicwrites";)
     (license license:expat)))

Reply via email to