From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42021) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioYiO-0007Rc-7y for guix-patches@gnu.org; Mon, 06 Jan 2020 15:11:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ioYiM-0002wx-QX for guix-patches@gnu.org; Mon, 06 Jan 2020 15:11:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40885) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ioYiM-0002wi-O3 for guix-patches@gnu.org; Mon, 06 Jan 2020 15:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ioYiM-0000Qd-Hl for guix-patches@gnu.org; Mon, 06 Jan 2020 15:11:02 -0500 Subject: [bug#38995] [PATCH] gnu: Add python-git-multimail. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:41729) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioYhw-0007RO-FX for guix-patches@gnu.org; Mon, 06 Jan 2020 15:10:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ioYhu-0002Xf-W8 for guix-patches@gnu.org; Mon, 06 Jan 2020 15:10:36 -0500 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:42260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ioYhu-0002W9-Qh for guix-patches@gnu.org; Mon, 06 Jan 2020 15:10:34 -0500 Received: from localhost (unknown [46.237.160.207]) by mira.cbaines.net (Postfix) with ESMTPSA id B8432179FE for ; Mon, 6 Jan 2020 20:10:32 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 431bcabf for ; Mon, 6 Jan 2020 20:10:30 +0000 (UTC) From: Christopher Baines Date: Mon, 6 Jan 2020 20:10:30 +0000 Message-Id: <20200106201030.4520-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38995@debbugs.gnu.org * gnu/packages/version-control.scm (python-git-multimail): New variable. --- gnu/packages/version-control.scm | 43 ++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-cont= rol.scm index d354a807a3..9188e642a7 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -72,6 +72,7 @@ #:use-module (gnu packages guile) #:use-module (gnu packages image) #:use-module (gnu packages linux) + #:use-module (gnu packages mail) #:use-module (gnu packages maths) #:use-module (gnu packages nano) #:use-module (gnu packages ncurses) @@ -782,6 +783,48 @@ collaboration using typical untrusted file hosts or = services.") a built-in cache to decrease server I/O pressure.") (license license:gpl2))) =20 +(define-public python-git-multimail + (package + (name "python-git-multimail") + (version "1.5.0.post1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "git-multimail" version)) + (sha256 + (base32 + "1zkrbsa70anwpw86ysfwalrb7nsr064kygfiyikyq1pl9pcl969y")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "git-multimail/git_multimail.py" + (("GIT_EXECUTABLE =3D 'git'") + (string-append "GIT_EXECUTABLE =3D '" + (assoc-ref inputs "git") "/bin/git" + "'")) + (("/usr/sbin/sendmail") + (string-append (assoc-ref inputs "sendmail") + "/usr/sbin/sendmail', + '/usr/sbin/sendmail"))) + #t))))) + (inputs + `(("git" ,git) + ("sendmail" ,sendmail))) + (home-page "https://github.com/git-multimail/git-multimail") + (synopsis "Send notification emails for Git pushes") + (description + "This hook sends emails describing changes introduced by pushes to = a Git +repository. For each reference that was changed, it emits one Reference= Change +email summarizing how the reference was changed, followed by one Revisio= n +email for each new commit that was introduced by the reference change. + +This script is designed to be used as a post-receive hook in a Git +repository") + (license license:gpl2))) + (define-public python-ghp-import (package (name "python-ghp-import") --=20 2.24.1