mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: python-git-multimail: Update to 1.6.0-0.747fad4.
* gnu/packages/version-control.scm (python-git-multimail): Update to 1.6.0-0.747fad4. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them for now. <#:phases>: Improve style, add 'check phase replacement. [native-inputs]: Add python-setuptools. Change-Id: I0bde82b066878252b54404ad973d327fdd677302 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
693e765bb3
commit
82dd94b3f9
1 changed files with 44 additions and 34 deletions
|
|
@ -1853,46 +1853,56 @@ built-in cache to decrease server I/O pressure. cgit-pink is a fork of
|
|||
cgit.")))
|
||||
|
||||
(define-public python-git-multimail
|
||||
(package
|
||||
(name "python-git-multimail")
|
||||
(version "1.6.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "git-multimail" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0hwgf2p2dd4z397wj0y558s8xxbkzbsa6yb9n1iax624y7swjng1"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "setup.py"
|
||||
(("'git-multimail', 'README.rst'")
|
||||
"'README.rst'"))
|
||||
(substitute* "git-multimail/git_multimail.py"
|
||||
(("GIT_EXECUTABLE = 'git'")
|
||||
(string-append "GIT_EXECUTABLE = '"
|
||||
(assoc-ref inputs "git") "/bin/git"
|
||||
"'"))
|
||||
(("/usr/sbin/sendmail")
|
||||
(search-input-file inputs
|
||||
"/sbin/sendmail"))))))))
|
||||
(inputs
|
||||
(list git 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
|
||||
(let ((commit "747fad49038b1f0eea12ab4ad453fb404111fe11")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "python-git-multimail")
|
||||
(version (git-version "1.6.0" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/git-multimail/git-multimail")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "101lm3sxdi844bj91x1sqnjw1lmqv1ir1m2dr2nfv9gap94pvaiw"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; Some tests are failing, but the test suite is not configurable.
|
||||
#:tests? #f
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "setup.py"
|
||||
(("'git-multimail', 'README.rst'")
|
||||
"'README.rst'"))
|
||||
(substitute* "git-multimail/git_multimail.py"
|
||||
(("GIT_EXECUTABLE = 'git'")
|
||||
(format #f "GIT_EXECUTABLE = '~a'"
|
||||
(search-input-file inputs "bin/git")))
|
||||
(("/usr/sbin/sendmail")
|
||||
(search-input-file inputs "/sbin/sendmail")))))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(with-directory-excursion "t"
|
||||
(invoke "make" "test"))))))))
|
||||
(native-inputs (list python-setuptools))
|
||||
(inputs (list git 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 ReferenceChange
|
||||
email summarizing how the reference was changed, followed by one Revision
|
||||
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)))
|
||||
(license license:gpl2))))
|
||||
|
||||
(define-public python-ghp-import
|
||||
(package
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue