diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-19 19:12:08 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-19 21:21:24 +0100 |
| commit | f45883c051bdaeeb13edfeeee3f4ae3c56aab3db (patch) | |
| tree | e2c6176e0b4ef05832cb2274ecbd560ee87e8cb5 /gnu/packages | |
| parent | c09bc113fe0a682a14e4c6db827f9c0ec0eb874f (diff) | |
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>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 22 |
1 files 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))) |
