~ruther/guix-local

84607539b5af49df776174c965061b2cdd02df0c — Nicolas Graves 4 months ago 398deec
gnu: python-easygui: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-easygui):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Add python-pytest, python-setuptools.
[description]: Improve style.

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

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +20 -13
@@ 4140,21 4140,28 @@ interacting with the low-level LibRaw C APIs.")
  (package
    (name "python-easygui")
    (version "0.98.1")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "easygui" version))
              (sha256
               (base32
                "1zmvmwgxyzvm83818skhn8b4wrci4kmnixaax8q3ia5cn7xrmj6v"))))
    (build-system python-build-system)
    (propagated-inputs
     (list `(,python "tk")))
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/robertlugg/easygui")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1vwd0dvldl993sp7b24h5yn269vykq7mmp9khdssqryfchfbajx6"))))
    (build-system pyproject-build-system)
    (arguments
     ;; XXX: There seem to be no tests upstream, although the package itself
     ;; seems to provide a lot of demo elements.
     (list #:tests? #f))
    (native-inputs (list python-pytest python-setuptools))
    (propagated-inputs (list `(,python "tk")))
    (home-page "https://github.com/robertlugg/easygui")
    (synopsis "GUI programming module for Python")
    (description "EasyGUI is a module for very simple, very easy GUI
programming in Python.  EasyGUI is different from other GUI generators in that
EasyGUI is NOT event-driven.  Instead, all GUI interactions are invoked by
simple function calls.")
    (description
     "EasyGUI is a module for easy GUI programming in Python.  EasyGUI is
different from other GUI generators in that EasyGUI is NOT event-driven.
Instead, all GUI interactions are invoked by simple function calls.")
    (license license:bsd-3)))

(define-public python-echo