GNU bug report logs - #48287
[PATCH] gnu: Add guile-raw-strings.

Previous Next

Package: guix-patches;

Reported by: Xinglu Chen <public <at> yoctocell.xyz>

Date: Sat, 8 May 2021 14:03:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.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 48287 in the body.
You can then email your comments to 48287 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#48287; Package guix-patches. (Sat, 08 May 2021 14:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Xinglu Chen <public <at> yoctocell.xyz>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 08 May 2021 14:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add guile-raw-strings.
Date: Sat, 08 May 2021 16:01:50 +0200
* gnu/packages/guile-xyz.scm (guile-raw-strings): New variable.
---
 gnu/packages/guile-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index f908fb8a3b..f596defe44 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -2106,6 +2106,37 @@ microAdapton.  Both miniAdapton and microAdapton are designed to be easy to
 understand, extend, and port to host languages other than Scheme.")
       (license license:expat))))
 
+(define-public guile-raw-strings
+  (let ((commit "aa1cf783f2542811b473f797e12490920b779baa")
+        (revision "0"))
+    (package
+      (name "guile-raw-strings")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/lloda/guile-raw-strings")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1r2gx86zw5hb6byllra3nap3fw9p7q7rvdmg6qn9myrdxyjpns3l"))))
+      (build-system guile-build-system)
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (add-after 'build 'check
+             (lambda _
+               (invoke "guile" "-L" "." "-s" "test.scm"))))))
+      (native-inputs
+       `(("guile" ,guile-3.0)))
+      (home-page "https://github.com/lloda/guile-raw-strings")
+      (synopsis "Guile reader extension for `raw strings'")
+      (description "This package provides A Guile reader extension for `raw
+strings', it lets you write verbatim strings without having to escape double
+quotes. ")
+      (license license:public-domain))))
+
 (define-public guile-reader
   (package
     (name "guile-reader")

base-commit: e5adaf6c2de917f33f90e24b551a8991e55b3eb6
-- 
2.31.1






Information forwarded to guix-patches <at> gnu.org:
bug#48287; Package guix-patches. (Sat, 08 May 2021 21:19:02 GMT) Full text and rfc822 format available.

Message #8 received at 48287 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Xinglu Chen <public <at> yoctocell.xyz>, 48287 <at> debbugs.gnu.org
Subject: Re: [bug#48287] [PATCH] gnu: Add guile-raw-strings.
Date: Sat, 08 May 2021 23:18:49 +0200
[Message part 1 (text/plain, inline)]
> +           (add-after 'build 'check
> +             (lambda _
> +               (invoke "guile" "-L" "." "-s" "test.scm"))))))

To support "guix build --without-tests", make this

> +           (add-after 'build 'check
> +             (lambda* (#:key tests? #:allow-other-keys)
> +               (when tests?
> +                 (invoke "guile" "-L" "." "-s" "test.scm")))))))

Greetings,Maxime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#48287; Package guix-patches. (Sun, 09 May 2021 08:13:02 GMT) Full text and rfc822 format available.

Message #11 received at 48287 <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: Maxime Devos <maximedevos <at> telenet.be>, 48287 <at> debbugs.gnu.org
Subject: Re: [bug#48287] [PATCH] gnu: Add guile-raw-strings.
Date: Sun, 09 May 2021 10:12:44 +0200
On Sat, May 08 2021, Maxime Devos wrote:

>> +           (add-after 'build 'check
>> +             (lambda _
>> +               (invoke "guile" "-L" "." "-s" "test.scm"))))))
>
> To support "guix build --without-tests", make this
>
>> +           (add-after 'build 'check
>> +             (lambda* (#:key tests? #:allow-other-keys)
>> +               (when tests?
>> +                 (invoke "guile" "-L" "." "-s" "test.scm")))))))

Thanks for taking a look. :)





Information forwarded to guix-patches <at> gnu.org:
bug#48287; Package guix-patches. (Sun, 09 May 2021 08:19:02 GMT) Full text and rfc822 format available.

Message #14 received at 48287 <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: 48287 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add guile-raw-strings.
Date: Sun, 09 May 2021 10:18:12 +0200
* gnu/packages/guile-xyz.scm (guile-raw-strings): New variable.
---
Changes since v1:
- Respect the ‘--without-tests’ package tranformation.

 gnu/packages/guile-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index f908fb8a3b..35e580a804 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -2106,6 +2106,38 @@ microAdapton.  Both miniAdapton and microAdapton are designed to be easy to
 understand, extend, and port to host languages other than Scheme.")
       (license license:expat))))
 
+(define-public guile-raw-strings
+  (let ((commit "aa1cf783f2542811b473f797e12490920b779baa")
+        (revision "0"))
+    (package
+      (name "guile-raw-strings")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/lloda/guile-raw-strings")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1r2gx86zw5hb6byllra3nap3fw9p7q7rvdmg6qn9myrdxyjpns3l"))))
+      (build-system guile-build-system)
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (add-after 'build 'check
+             (lambda* (#:key tests? #:allow-other-keys)
+               (when tests?
+                 (invoke "guile" "-L" "." "-s" "test.scm")))))))
+      (native-inputs
+       `(("guile" ,guile-3.0)))
+      (home-page "https://github.com/lloda/guile-raw-strings")
+      (synopsis "Guile reader extension for `raw strings'")
+      (description "This package provides A Guile reader extension for `raw
+strings', it lets you write verbatim strings without having to escape double
+quotes. ")
+      (license license:public-domain))))
+
 (define-public guile-reader
   (package
     (name "guile-reader")

base-commit: e5adaf6c2de917f33f90e24b551a8991e55b3eb6
-- 
2.31.1






Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 14 May 2021 10:15:02 GMT) Full text and rfc822 format available.

Notification sent to Xinglu Chen <public <at> yoctocell.xyz>:
bug acknowledged by developer. (Fri, 14 May 2021 10:15:02 GMT) Full text and rfc822 format available.

Message #19 received at 48287-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Xinglu Chen <public <at> yoctocell.xyz>
Cc: 48287-done <at> debbugs.gnu.org
Subject: Re: bug#48287: [PATCH] gnu: Add guile-raw-strings.
Date: Fri, 14 May 2021 12:14:32 +0200
Hi,

Xinglu Chen <public <at> yoctocell.xyz> skribis:

> * gnu/packages/guile-xyz.scm (guile-raw-strings): New variable.

Applied!  Thank you, and thanks, Maxime!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 11 Jun 2021 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 319 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.