Subject: Re: [bug#27673] Failing tests

From: Oleg Pykhalov <[email-masked]>
Date: Fri, 14 Jul 2017 19:34:56 +0300

Arun Isaac <[email-masked]> writes:

> Sure, we'll ditch the tests. Could you just send me an updated patch
> with the new description?

>From 8c0c77b34b12bffd32947691ee365922ed6f79fb Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <[email-masked]>
Date: Wed, 12 Jul 2017 18:30:56 +0300
Subject: [PATCH] gnu: Add emacs-org-pomodoro.

* gnu/packages/emacs.scm (emacs-org-pomodoro): New variable.
---
 gnu/packages/emacs.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 75122af8b..e2ef257ec 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -2514,6 +2514,35 @@ number.")
 @code{org-mode} to be rendered as UTF-8 characters.")
     (license license:gpl3+)))
 
+(define-public emacs-org-pomodoro
+  (package
+    (name "emacs-org-pomodoro")
+    (version "2.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/lolownia/org-pomodoro/archive/"
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1jalsggw3q5kvj353f84x4nl04a5vmq07h75ggppy1627lb31zm4"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-alert" ,emacs-alert)))
+    (home-page "https://github.com/lolownia/org-pomodoro")
+    (synopsis "Pomodoro technique for org-mode")
+    (description
+     "@code{emacs-org-pomodoro} adds very basic support for Pomodoro
+technique in Emacs org-mode.
+
+Run @code{M-x org-pomodoro} for the task at point or select one of the
+last tasks that you clocked time for.  Each clocked-in pomodoro starts
+a timer of 25 minutes and after each pomodoro a break timer of 5
+minutes is started automatically.  Every 4 breaks a long break is
+started with 20 minutes.  All values are customizable.")
+    (license license:gpl3+)))
+
 (define-public emacs-org-trello
   (package
     (name "emacs-org-trello")
-- 
2.13.2

Leo Famulari <[email-masked]> writes:

> Do the test failures indicate a real problem with the package? Or are
> they spurious? Should we report them upstream?

No, I think they fail because checked variables are not defined during
test and even during running Emacs session.  I passed the test manually
evaluate them in Emacs.