GNU bug report logs -
#55308
[PATCH 0/2] Packaging kivymd
Previous Next
Reported by: Ryan Prior <rprior <at> protonmail.com>
Date: Sun, 8 May 2022 01:40:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#55308: [PATCH 0/2] Packaging kivymd
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 55308 <at> debbugs.gnu.org.
--
55308: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55308
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Hello,
Ryan Prior <rprior <at> protonmail.com> skribis:
> * gnu/packages/python-xyz.scm (python-kivymd): New symbol.
Applied both patches, with the changes below on this one (suggested by
‘guix lint’).
Thanks!
Ludo’.
[Message part 4 (text/x-patch, inline)]
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 19daf8cd05..b8fd857fd6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18682,17 +18682,18 @@ (define-public python-kivymd
(base32 "04lwy6j0agrdwa4a6dl6qs97nx9ysmscmm8psvdzjpyj8aa1zg4p"))))
(build-system python-build-system)
(arguments
- `(#:tests? #f
+ `(#:tests? #f ;tests require network
#:phases
(modify-phases %standard-phases
(add-before 'sanity-check 'set-home
(lambda _
;; 'kivy/__init__.py' wants to create $HOME/.kivy.
- (setenv "HOME" (getcwd))))))) ; Tests require network
+ (setenv "HOME" (getcwd)))))))
+ (native-inputs (list python-docutils))
(propagated-inputs
- (list python-kivy python-pillow python-pygments python-docutils python-kivy-garden))
+ (list python-kivy python-pillow python-pygments python-kivy-garden))
(home-page "https://github.com/kivymd/KivyMD")
- (synopsis "A collection of Material Design compliant widgets for use with Kivy")
+ (synopsis "Material Design compliant widgets for use with Kivy")
(description
"This package provides Kivy widgets that approximate Google's Material
Design spec without sacrificing ease of use or application performance.")
[Message part 5 (message/rfc822, inline)]
The kivymd package requires a major version bump of our python-kivy package, so I had to tweak a few things around. Hopefully that should not be disruptive; kivy doesn't have many dependencies in Guix. I tested that this kivy+kivymd work in practice, even though neither of their tests run in Guix due to heavy requirements.
Ryan Prior (2):
gnu: python-kivy: Update to 2.1.0.
gnu: Add python-kivymd.
gnu/packages/python-xyz.scm | 34 +++++++++++++++++++++++++++++++---
1 file changed, 31 insertions(+), 3 deletions(-)
--
2.36.0
This bug report was last modified 3 years and 4 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.