Subject: bug#28020: closed (Re: [bug#28020] [PATCH] gnu: Add emacs-gitpatch.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 10 Aug 2017 09:13:02 +0000

Your bug report

#28020: [PATCH] gnu: Add emacs-gitpatch.

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].

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

Subject: Re: [bug#28020] [PATCH] gnu: Add emacs-gitpatch.
From: Arun Isaac <[email-masked]>
To: Oleg Pykhalov <[email-masked]>
Cc: tumashu <[email-masked]>, [email-masked]
Date: Thu, 10 Aug 2017 14:42:23 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks for the patch! I have pushed it with changes to the synopsis and
description.

Oleg Pykhalov writes:

> By the way, “gitpatch.el” says different version than release tarball.
> Do I need to ask a developer?
> --8<---------------cut here---------------start------------->8---
> ;; Author: Feng Shu <[email-masked]>
> ;; Homepage: https://github.com/tumashu/gitpatch
> ;; Keywords: convenience
> ;; Package-Requires: ((emacs "24.3"))
> ;; Version: 0.10
> --8<---------------cut here---------------end--------------->8---

Yes, please report this problem upstream. I have also CCed the author in
this thread. The author happens to contribute to Guix as well. :-)

Subject: [PATCH] gnu: Add emacs-gitpatch.
From: Oleg Pykhalov <[email-masked]>
To: [email-masked]
Date: Tue, 08 Aug 2017 21:02:32 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

By the way, “gitpatch.el” says different version than release tarball.
Do I need to ask a developer?
--8<---------------cut here---------------start------------->8---
;; Author: Feng Shu <[email-masked]>
;; Homepage: https://github.com/tumashu/gitpatch
;; Keywords: convenience
;; Package-Requires: ((emacs "24.3"))
;; Version: 0.10
--8<---------------cut here---------------end--------------->8---

>From 9eddf07fa401468738c2f48a25e51ddef2a3ceed Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <[email-masked]>
Date: Sat, 29 Jul 2017 14:22:48 +0300
Subject: [PATCH] gnu: Add emacs-gitpatch.

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 917c511f3..37a4129a1 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -5231,3 +5231,25 @@ multiplexer.")
     (description "@code{emacs-rpm-spec-mode} provides an Emacs major mode for
 editing RPM spec files.")
     (license license:gpl2+)))
+
+(define-public emacs-gitpatch
+  (package
+    (name "emacs-gitpatch")
+    (version "0.5.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/tumashu/gitpatch/archive/"
+                                  "v" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1yj6pmic541lcnscjin300k380qp9xdfprs55xg1q57jrkq6f6k7"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/tumashu/gitpatch")
+    (synopsis "Send git-format patch from Emacs")
+    (description "@code{emacs-gitpatch} is git-format patch toolkit, which let
+user easy handle git-format patch without exit Emacs.
+
+@code{M-x gitpatch-mail} can send a git-format patch file from @code{magit},
+@code{dired}, @code{ibuffer} buffers.")
+    (license license:gpl2+)))
-- 
2.14.0