~ruther/guix-local

af7d01852011c3d9408353e90cdcf3e78ff9f537 — Aaron Covrig 2 months ago 06d7223
gnu: python-liblarch: Update to 3.2.0-0.fe06860.

* gnu/packages/gnome.scm (python-liblarch): Update to 3.2.0-0.fe06860.
[version]: Change to git-version for latest code using pytest.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:check>: Enable project tests.
[native-inputs]: Add python-pytest, and python-setuptools.
[home-page]: Update url.

Change-Id: Ia9614c6f840cb77ce6100ec3fd95d316bc0eefe7
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
1 files changed, 22 insertions(+), 15 deletions(-)

M gnu/packages/gnome.scm
M gnu/packages/gnome.scm => gnu/packages/gnome.scm +22 -15
@@ 2733,18 2733,22 @@ schemas for settings shared by various components of the GNOME desktop.")
    (license license:lgpl2.1+)))

(define-public python-liblarch
  ;; The merge request replacing nose with pytest has not been released yet.
  ;; Temporarily use a git snapshot.
  (let ((commit "fe06860ea6f1cd339b5b38485879ec5d9512698c")
        (revision "0"))
  (package
    (name "python-liblarch")
    (version "3.2.0")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/getting-things-gnome/liblarch")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "125rmrdbc84lapfh8c77zxnmwas20xdfamqmilhv1smkxn2q4sh3"))))
    (version (git-version "3.2.0" revision commit))
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/getting-things-gnome/liblarch")
             (commit commit)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1hvwhqhanwkmavnqxbl276nncvnrhgz92pa8z417d8bk3cirmj0b"))))
    (build-system pyproject-build-system)
    (arguments
     (list


@@ 2757,12 2761,15 @@ schemas for settings shared by various components of the GNOME desktop.")
                         (list (search-input-file inputs "/bin/Xvfb")
                               xorg-display "&")
                         " "))
                (setenv "DISPLAY" xorg-display)))))))
    (native-inputs
     (list xorg-server-for-tests python-pytest python-setuptools))
                (setenv "DISPLAY" xorg-display))))
          (replace 'check
            (lambda* (#:key tests? test-flags #:allow-other-keys)
              (when tests?
                (invoke "./run-tests")))))))
    (native-inputs (list python-pytest python-setuptools xorg-server-for-tests))
    (inputs (list gtk+))
    (propagated-inputs (list python-pygobject))
    (home-page "https://wiki.gnome.org/Projects/liblarch")
    (home-page "https://getting-things-gnome.github.io/liblarch")
    (synopsis "Library to easily handle complex data structures")
    (description
     "Liblarch is a Python library built to easily handle data structures such


@@ 2772,7 2779,7 @@ allow you to use your data structure in a @code{Gtk.Treeview}.
Liblarch support multiple views of one data structure and complex filtering.
That way, you have a clear separation between your data themselves (Model)
and how they are displayed (View).")
    (license license:lgpl3+)))
      (license license:lgpl3+))))

(define-public gtg
  (package