~ruther/guix-local

09effee863a2bcec0d675aa0ffba50e8be4330cb — Sharlatan Hellseher 1 year, 2 months ago 81be05a
gnu: python-asynckivy: Update to 0.8.1.

* gnu/packages/python-xyz.scm (python-asynckivy): Update to 0.8.1.
[source]: Switch to git-fetch containing tests.
[build-system]: Switch to pyproejct.
[native-inputs]: Add python-poetry-core and python-pytest.

Change-Id: Ie7145f020e0487799ca8af0ce4506a5ffc290191
1 files changed, 21 insertions(+), 13 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +21 -13
@@ 24793,23 24793,31 @@ pytest-fixtures-style dependency injection.")
(define-public python-asynckivy
  (package
    (name "python-asynckivy")
    (version "0.5.3")
    (version "0.8.1")
    (source
     (origin
       (method url-fetch)
       (uri
        (pypi-uri "asynckivy" version))
       (method git-fetch)               ; no tests in PyPI release
       (uri (git-reference
             (url "https://github.com/asyncgui/asynckivy")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0ivjvch8yn3k1ybfp7c1nm8mhc0ymg7d04mq54lly7yjvg0jvcni"))))
    (build-system python-build-system)
        (base32 "0gjddv6d7bbjymvly2x5zaay1gyihls1c4bh7y1ppbvz15152lkj"))))
    (build-system pyproject-build-system)
    (arguments
       `(#:phases
         (modify-phases %standard-phases
           (add-before 'check 'set-home
             (lambda _
               ;; 'kivy/__init__.py' wants to create $HOME/.kivy.
               (setenv "HOME" (getcwd)))))))
    (propagated-inputs (list python-kivy python-asyncgui))
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'check 'set-home
            (lambda _
              ;; 'kivy/__init__.py' wants to create $HOME/.kivy.
              (setenv "HOME" "/tmp"))))))
    (native-inputs
     (list python-poetry-core
           python-pytest))
    (propagated-inputs
     (list python-kivy
           python-asyncgui))
    (home-page "https://github.com/gottadiveintopython/asynckivy")
    (synopsis "Async library for Kivy")
    (description