On 13/02/16 22:41, Leo Famulari wrote: > On Sat, Feb 13, 2016 at 04:07:55PM +0000, Christopher Baines wrote: >> * gnu/packages/version-control.scm (vcsh): New variable. > > [...] > >> + (arguments >> + `(#:phases (modify-phases %standard-phases >> + (delete 'configure) >> + (delete 'check) >> + (delete 'build)) > > Can you add comments explaining why the check and build phases are > deleted?
Yep, I have attached an updated patch. > For the former, it can be as simple as "no test suite". There actually is one, I just forgot to enable it. This is now fixed in the attached patch. > I assume the build phase is replaced by the install phase; the comment > can say something like that if it's the case. Done.
From 856eb02a92cfdf3f647ca0198c5038440c2955ba Mon Sep 17 00:00:00 2001 From: Christopher Baines <m...@cbaines.net> Date: Sat, 13 Feb 2016 23:49:25 +0000 Subject: [PATCH] gnu: Add vcsh * gnu/packages/version-control.scm (vcsh): New variable. --- gnu/packages/version-control.scm | 41 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 721a284..ccdffbd 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -1058,3 +1058,44 @@ Mercurial, Bazaar, Darcs, CVS, Fossil, and Veracity.") "This package allows you to use your hubic account as a \"special repository\" with git-annex.") (license gpl3+))) + +(define-public vcsh + (package + (name "vcsh") + (version "1.20151229") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/RichiH/vcsh/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ym3swkh738c3vciffvlr96vqzhwmzkb8ajqzap8f0j9n039a1mf")))) + (build-system gnu-build-system) + (arguments + `(#:test-target "test" + #:phases (modify-phases %standard-phases + ;; vcsh has no configure script + (delete 'configure) + ;; vcsh has no build stage + (delete 'build)) + #:make-flags (list (string-append "PREFIX=" %output)))) + (native-inputs + `(("which" ,which) + ("perl" ,perl))) + (inputs + `(("perl-shell-command" ,perl-shell-command) + ("perl-test-most" ,perl-test-most))) + (propagated-inputs + `(("git" ,git))) + (home-page "https://github.com/RichiH/vcsh") + (synopsis "Version control system for $HOME") + (description + "vcsh provides the @code{vcsh} command, which allows you to maintain +several Git repositories in one single directory. This can be useful when +using version control for files in your home directory, as it allows for +the separation of the files in to different repositories, for example you +may keep your bash configuration in a separate Git repository from your +emacs configuration.") + (license gpl2+))) -- 2.7.0
signature.asc
Description: OpenPGP digital signature