Subject: bug#55308: closed (Re: bug#55308: [PATCH 0/2] Packaging kivymd)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 20 May 2022 18:14:01 +0000

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 [email-masked].

-- 
55308: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55308
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#55308: [PATCH 0/2] Packaging kivymd
From: Ludovic Courtès <[email-masked]>
To: Ryan Prior <[email-masked]>
Cc: [email-masked]
Date: Fri, 20 May 2022 20:13:20 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Ryan Prior <[email-masked]> 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’.

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.")

Subject: [PATCH 0/2] Packaging kivymd
From: Ryan Prior <[email-masked]>
To: [email-masked]
Date: Sun, 08 May 2022 01:38:56 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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