1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-06-07 06:21:33 +02:00

gnu: grokmirror: Update to 2.0.12.

* gnu/packages/version-control.scm (grokmirror): Update to 2.0.12.
[source]<file-name>: Refresh it.
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style.
<#:phases>: Refresh phase 'install-manpages.
[native-inputs]: Add python-setuptools.

Change-Id: I9ccec338eda46227b44d5f5435e648978e7820fb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
This commit is contained in:
Nicolas Graves
2025-12-30 18:46:12 +01:00
committed by Rutherther
parent b61896c4b8
commit cfa2edf13b
+16 -16
View File
@@ -3571,7 +3571,7 @@ Mercurial, Bazaar, Darcs, CVS, Fossil, and Veracity.")
(define-public grokmirror
(package
(name "grokmirror")
(version "2.0.11")
(version "2.0.12")
(source
(origin
(method git-fetch)
@@ -3579,23 +3579,23 @@ Mercurial, Bazaar, Darcs, CVS, Fossil, and Veracity.")
(url (string-append "https://git.kernel.org/pub/scm/"
"utils/grokmirror/grokmirror.git"))
(commit (string-append "v" version))))
(file-name (string-append name "-" version "-checkout"))
(file-name (git-file-name name version))
(sha256
(base32 "0c6nnfzzyl247r1dcjnsyx16d34nyra9ikjjhi0xzlrbiwnb0w32"))))
(build-system python-build-system)
(base32 "0plmd753pjqficvqk4jn8rjp43j775c4rjq6ja04jqa89rq1ak71"))))
(build-system pyproject-build-system)
(arguments
`(#:tests? #f ; no test suite
#:phases
(modify-phases %standard-phases
(add-after 'install 'install-manpages
(lambda* (#:key outputs #:allow-other-keys)
(let* ((man (string-append (assoc-ref outputs "out")
"/man/man1/")))
(mkdir-p man)
(for-each (lambda (file) (install-file file man))
(find-files "." "\\.1$"))))))))
(propagated-inputs
(list python-packaging python-requests))
(list
#:tests? #f ;no test suite
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'install-manpages
(lambda _
(let* ((man (string-append #$output "/man/man1/")))
(for-each (lambda (file)
(install-file file man))
(find-files "." "\\.1$"))))))))
(native-inputs (list python-setuptools))
(propagated-inputs (list python-packaging python-requests))
(home-page
"https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git")
(synopsis "Framework to smartly mirror git repositories")