~ruther/guix-local

f45883c051bdaeeb13edfeeee3f4ae3c56aab3db — Nicolas Graves 5 months ago c09bc11
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 <sharlatanus@gmail.com>
1 files changed, 13 insertions(+), 9 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +13 -9
@@ 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)))