~ruther/guix-local

148f6c11477ff6eb85adc0311fc563d1253f8cae — Nicolas Graves 6 months ago f2cea4e
gnu: python-editor: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-editor):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
[description]: Improve style.

Change-Id: Ifbe40deb7d6a67419b62d7de906d1cc5cb108750
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 20 insertions(+), 18 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +20 -18
@@ 21492,24 21492,26 @@ by providing an implementation of the PEP 3156 event-loop.")

(define-public python-editor
  (package
  (name "python-editor")
  (version "1.0.4")
  (source
    (origin
      (method url-fetch)
      (uri (pypi-uri "python-editor" version))
      (sha256
        (base32
          "0yrjh8w72ivqxi4i7xsg5b1vz15x8fg51xra7c3bgfyxqnyadzai"))))
  (build-system python-build-system)
  (arguments
   '(#:tests? #f))   ;XXX: needs a TTY and an editor
  (home-page "https://github.com/fmoo/python-editor")
  (synopsis "Programmatically open an editor, capture the result")
  (description
    "python-editor is a library that provides the editor module for
programmatically interfacing with your system's $EDITOR.")
  (license license:asl2.0)))
    (name "python-editor")
    (version "1.0.4")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/fmoo/python-editor")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0hm5gcz5117dsq39bqfxpwazk4khqd272ran0n12x0x84mnqvfxa"))))
    (build-system pyproject-build-system)
    (arguments (list #:tests? #f))      ;XXX: needs a TTY and an editor
    (native-inputs (list python-setuptools))
    (home-page "https://github.com/fmoo/python-editor")
    (synopsis "Programmatically open an editor, capture the result")
    (description
     "This package provides the editor module for programmatically interfacing
with your system's $EDITOR.")
    (license license:asl2.0)))

(define-public python-multiprocessing-logging
  (package