all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Roel Janssen <roel@gnu.org>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 2/2] gnu: Add emacs-org-trello.
Date: Thu, 27 Oct 2016 10:31:13 +0200	[thread overview]
Message-ID: <877f8udwha.fsf@gnu.org> (raw)
In-Reply-To: <87bmy8glwz.fsf@elephly.net>


Ricardo Wurmus writes:

> Hi Roel,
>
> funny, this has also been on my pile of unsubmitted, bit-rotting patches
> (because I must use Trello at work and I much rather use org-mode).  I
> remember that this wasn’t straight-forward to package and required a lot
> more (build-time) inputs.

We seem to have quite some overlap between our packages and preference
for the software programs we want to use. :)

> The cask file says:
>
> (development
>  (depends-on "dash-functional")
>  (depends-on "dash")

@code{dash} provides @code{dash-functional}.

>  (depends-on "undercover")

This one is needed to run the tests.

>  (depends-on "ert-runner")
>  (depends-on "ert")
>  (depends-on "ert-expectations")

These should be built-in.  See:
https://www.gnu.org/software/emacs/manual/html_node/ert/

(Or M-x ert)

>  (depends-on "el-mock")
>  (depends-on "helm"))

These should be added too, to run the tests.

I added undercover, el-mock and helm to the inputs.


>> * gnu/packages/emacs.scm (emacs-org-trello): New variable.
>> ---
>>  gnu/packages/emacs.scm | 26 ++++++++++++++++++++++++++
>>  1 file changed, 26 insertions(+)
>>
>> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
>> index 69fd10f..964ba59 100644
>> --- a/gnu/packages/emacs.scm
>> +++ b/gnu/packages/emacs.scm
>> @@ -2086,6 +2086,32 @@ number.")
>>  @code{org-mode} to be rendered as UTF-8 characters.")
>>      (license license:gpl3+)))
>>  
>> +(define-public emacs-org-trello
>> +  (package
>> +    (name "emacs-org-trello")
>> +    (version "0.7.9")
>> +    (source (origin
>> +              (method url-fetch)
>> +              (uri (string-append
>> +                    "https://github.com/org-trello/org-trello/archive/"
>> +                    version ".tar.gz"))
>> +              (file-name (string-append name "-" version ".tar.gz"))
>> +              (sha256
>> +               (base32
>> +                "074dka8g673bj1ck5vavbjaij5jyniygdlw51mdds005wd2br9wf"))))
>> +    (build-system emacs-build-system)
>> +    (propagated-inputs
>> +     `(("emacs-deferred" ,emacs-deferred)
>> +       ("emacs-request" ,emacs-request)
>> +       ("emacs-dash" ,emacs-dash)
>> +       ("emacs-s" ,emacs-s)))
>> +    (home-page "https://org-trello.github.io")
>> +    (synopsis "Emacs minor mode for interacting with Trello")
>> +    (description "This package provides an emacs minor mode to extend
>
> Please capitalize “Emacs”.

Whoops.  Fixed in the new patch.

>
>> +@code{org-mode} with Trello abilities.  Trello is an online project
>> +organizer.")
>> +    (license license:gpl3+)))
>> +
>>  (define-public emacs-zenburn-theme
>>    (package
>>      (name "emacs-zenburn-theme")
>
> Other than that it looks good!
>
> Thanks!

There are three failing tests, because it cannot find the test
function definitions of itself, or it cannot find the built-in
functions: hash-table-keys, hash-table-values, and string-at-pt.

I think the tests are malfunctioning, not the functionality, because I
can synchronize my Trello boards and lists just fine.

Here's the updated patch:

From de2e2f3a5b293d75b5e65fc3081a2ead75149e4c Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Thu, 27 Oct 2016 10:28:51 +0200
Subject: [PATCH] gnu: Add emacs-org-trello.

* gnu/packages/emacs.scm (emacs-org-trello): 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 2a275d0..6af1325 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -2086,6 +2086,35 @@ number.")
 @code{org-mode} to be rendered as UTF-8 characters.")
     (license license:gpl3+)))
 
+(define-public emacs-org-trello
+  (package
+    (name "emacs-org-trello")
+    (version "0.7.9")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/org-trello/org-trello/archive/"
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "074dka8g673bj1ck5vavbjaij5jyniygdlw51mdds005wd2br9wf"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-deferred" ,emacs-deferred)
+       ("emacs-request" ,emacs-request)
+       ("emacs-dash" ,emacs-dash)
+       ("emacs-s" ,emacs-s)
+       ("emacs-undercover" ,emacs-undercover)
+       ("emacs-el-mock" ,emacs-el-mock)
+       ("emacs-helm" ,emacs-helm)))
+    (home-page "https://org-trello.github.io")
+    (synopsis "Emacs minor mode for interacting with Trello")
+    (description "This package provides an Emacs minor mode to extend
+@code{org-mode} with Trello abilities.  Trello is an online project
+organizer.")
+    (license license:gpl3+)))
+
 (define-public emacs-zenburn-theme
   (package
     (name "emacs-zenburn-theme")
-- 
2.10.0


Kind regards,
Roel Janssen

  reply	other threads:[~2016-10-27  8:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-25 21:09 [PATCH 2/2] gnu: Add emacs-org-trello Roel Janssen
2016-10-25 21:26 ` Ricardo Wurmus
2016-10-27  8:31   ` Roel Janssen [this message]
2016-10-27 14:09     ` Ricardo Wurmus
2016-10-27 18:22       ` Alex Kost
2016-10-27 18:48         ` Ricardo Wurmus
2016-10-28  9:30           ` Alex Kost
2016-10-28 13:03             ` Roel Janssen
2016-10-28 16:35               ` Ricardo Wurmus
2016-10-28 17:52                 ` Roel Janssen
2016-10-28 16:21             ` Federico Beffa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877f8udwha.fsf@gnu.org \
    --to=roel@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.