GNU bug report logs -
#31234
[PATCH] gnu: Add src.
Previous Next
Reported by: 宋文武 <iyzsong <at> member.fsf.org>
Date: Sun, 22 Apr 2018 03:10:01 UTC
Severity: normal
Tags: patch
Done: iyzsong <at> member.fsf.org (宋文武)
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31234 in the body.
You can then email your comments to 31234 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#31234
; Package
guix-patches
.
(Sun, 22 Apr 2018 03:10:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
宋文武 <iyzsong <at> member.fsf.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 22 Apr 2018 03:10:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/version-control.scm (src): New variable.
---
gnu/packages/version-control.scm | 50 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 71ede4f54..b82abaf9e 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2017, 2018 Marius Bakke <mbakke <at> fastmail.com>
;;; Copyright © 2017 Stefan Reichör <stefan <at> xsteve.at>
;;; Copyright © 2017 Oleg Pykhalov <go.wigust <at> gmail.com>
+;;; Copyright © 2018 Sou Bunnbu <iyzsong <at> member.fsf.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1912,3 +1913,52 @@ repository is the centre, directories are branches and files are leaves.
Contributors to the source code appear and disappear as they contribute to
specific files and directories.")
(license license:gpl3+)))
+
+(define-public src
+ (package
+ (name "src")
+ (version "1.18")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://www.catb.org/~esr/src/src-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0n0skhvya8w2az45h2gsafxy8m2mvqas64nrgxifcmrzfv0rf26c"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:make-flags
+ (list (string-append "prefix=" (assoc-ref %outputs "out")))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure) ; no 'configure' script
+ (add-after 'install 'wrap-program
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (prog (string-append out "/bin/src"))
+ (rcs (assoc-ref inputs "rcs")))
+ (wrap-program prog
+ `("PATH" ":" prefix (,(string-append rcs "/bin"))))
+ #t)))
+ (replace 'check
+ (lambda _
+ (setenv "HOME" (getenv "TMPDIR"))
+ (invoke "git" "config" "--global" "user.name" "guix")
+ (invoke "git" "config" "--global" "user.email" "guix")
+ (invoke "./srctest"))))))
+ (native-inputs
+ ;; For testing.
+ `(("git" ,git)
+ ("perl" ,perl)))
+ (inputs
+ `(("python" ,python-wrapper)
+ ("rcs" ,rcs)))
+ (synopsis "Simple revision control")
+ (home-page "http://www.catb.org/~esr/src/")
+ (description
+ "SRC (or src) is simple revision control, a version-control system for
+single-file projects by solo developers and authors. It modernizes the
+venerable RCS, hence the anagrammatic acronym. The design is tuned for use
+cases like all those little scripts in your @file{~/bin} directory, or a
+directory full of HOWTOs.")
+ (license license:bsd-2)))
--
2.13.3
Information forwarded
to
guix-patches <at> gnu.org
:
bug#31234
; Package
guix-patches
.
(Sun, 22 Apr 2018 21:51:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 31234 <at> debbugs.gnu.org (full text, mbox):
Hello 宋文武,
宋文武 <iyzsong <at> member.fsf.org> skribis:
> * gnu/packages/version-control.scm (src): New variable.
LGTM, thanks!
Ludo'.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#31234
; Package
guix-patches
.
(Mon, 23 Apr 2018 03:27:04 GMT)
Full text and
rfc822 format available.
Message #11 received at 31234 <at> debbugs.gnu.org (full text, mbox):
ludo <at> gnu.org (Ludovic Courtès) writes:
> Hello 宋文武,
>
> 宋文武 <iyzsong <at> member.fsf.org> skribis:
>
>> * gnu/packages/version-control.scm (src): New variable.
>
> LGTM, thanks!
Pushed, thanks!
Reply sent
to
iyzsong <at> member.fsf.org (宋文武)
:
You have taken responsibility.
(Thu, 26 Apr 2018 01:30:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
宋文武 <iyzsong <at> member.fsf.org>
:
bug acknowledged by developer.
(Thu, 26 Apr 2018 01:30:03 GMT)
Full text and
rfc822 format available.
Message #16 received at 31234-done <at> debbugs.gnu.org (full text, mbox):
Done in commit 0ed7498a460af9b0175d3f6919858d0d40d5ccc1.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 24 May 2018 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 338 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.