summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-04 00:52:54 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-04 08:32:18 +0100
commit84607539b5af49df776174c965061b2cdd02df0c (patch)
treed1959d1c18997ce191938e1496e3e1f1d7e61a74
parent398deec53b0b6a27bd52a97ec1a60fa25d940331 (diff)
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>
-rw-r--r--gnu/packages/python-xyz.scm33
1 files changed, 20 insertions, 13 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7323c656ed..fb9e875bf7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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