GNU bug report logs - #50582
[PATCH 0/4] Julia-documenter

Previous Next

Package: guix-patches;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Tue, 14 Sep 2021 13:11:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

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 50582 in the body.
You can then email your comments to 50582 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#50582; Package guix-patches. (Tue, 14 Sep 2021 13:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Efraim Flashner <efraim <at> flashner.co.il>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 14 Sep 2021 13:11:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/4] Julia-documenter
Date: Tue, 14 Sep 2021 16:08:58 +0300
[Message part 1 (text/plain, inline)]
Julia-documenter is a bit hard because there's a lot of javascript
packages which it expects to download at runtime.

The julia-documenter patch adds 4 packages in one go, julia-documenter
depends on two of them, and those two depend on julia-documenter. I was
able to use an older version of julia-documenter to bootstrap the
process, but it doesn't make a nice chain to apply that one separately.

Efraim Flashner (4):
  gnu: Add julia-libsass-jll.
  gnu: Add julia-sass.
  gnu: Add julia-ansicoloredprinters.
  gnu: Add julia-documenter.

 gnu/packages/julia-jll.scm |  43 +++++++++
 gnu/packages/julia-xyz.scm | 188 ++++++++++++++++++++++++++++++++++++-
 2 files changed, 230 insertions(+), 1 deletion(-)


base-commit: e4f8bfb3488cca0593327a983a368acceae6b352
-- 
2.33.0

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

Information forwarded to guix-patches <at> gnu.org:
bug#50582; Package guix-patches. (Tue, 14 Sep 2021 13:15:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: 50582 <at> debbugs.gnu.org
Subject: [PATCH 2/4] gnu: Add julia-sass.
Date: Tue, 14 Sep 2021 16:12:08 +0300
[Message part 1 (text/plain, inline)]
* gnu/packages/julia-xyz.scm (julia-sass): New variable.
---
 gnu/packages/julia-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index a80964c2b0..2f953a33b7 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -3403,6 +3403,28 @@ (define-public julia-safetestsets
 a loadable module.")
       (license license:expat))))
 
+(define-public julia-sass
+  (package
+    (name "julia-sass")
+    (version "0.2.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/piever/Sass.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0y7kkkj717h5cj659ssry89i5r64symr6pvhr6vv4qmaxrnjxj92"))))
+    (build-system julia-build-system)
+    (propagated-inputs
+     `(("julia-libsass-jll" ,julia-libsass-jll)))
+    (home-page "https://github.com/piever/Sass.jl")
+    (synopsis "Compile scss and sass file to css in Julia")
+    (description "This library provides a simple Julian API to use the
+@code{libsass} library to compile scss and sass files to css.")
+    (license license:expat)))
+
 (define-public julia-scratch
   (package
     (name "julia-scratch")
-- 
2.33.0

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

Information forwarded to guix-patches <at> gnu.org:
bug#50582; Package guix-patches. (Tue, 14 Sep 2021 13:18:01 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: 50582 <at> debbugs.gnu.org
Subject: [PATCH 1/4] gnu: Add julia-libsass-jll.
Date: Tue, 14 Sep 2021 16:11:55 +0300
[Message part 1 (text/plain, inline)]
* gnu/packages/julia-jll.scm (julia-libsass-jll): New variable.
---
 gnu/packages/julia-jll.scm | 43 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm
index d18971ad48..d3677d0a33 100644
--- a/gnu/packages/julia-jll.scm
+++ b/gnu/packages/julia-jll.scm
@@ -1064,6 +1064,49 @@ (define-public julia-libpng-jll
     (description "This package provides a wrapper for the libpng library.")
     (license license:expat)))
 
+(define-public julia-libsass-jll
+  (let ((commit "69bf10603aad0ebf1f6df088c5fd7c4a5d1eb0ca"))
+    (package
+      (name "julia-libsass-jll")
+      (version "3.5.5+0")                 ;tag not created upstream
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/JuliaBinaryWrappers/libsass_jll.jl")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1fb6rf422533bsmfslvc20ag1hr50bf9xaj32rvh7nv593sbiygn"))))
+      (build-system julia-build-system)
+      (arguments
+       `(#:tests? #f                      ; no runtests.jl
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'override-binary-path
+             (lambda* (#:key inputs #:allow-other-keys)
+               (map
+                (lambda (wrapper)
+                  (substitute* wrapper
+                    (("generate_wrapper_header.*")
+                     (string-append
+                      "generate_wrapper_header(\"libsass\", \""
+                      (assoc-ref inputs "libsass") "\")\n"))))
+                ;; There's a Julia file for each platform, override them all
+                (find-files "src/wrappers/" "\\.jl$"))
+               #t)))))
+      (inputs
+       `(("libsass" ,libsass)))
+      (propagated-inputs
+       `(("julia-jllwrappers" ,julia-jllwrappers)))
+      (home-page "https://github.com/JuliaBinaryWrappers/libsass_jll.jl")
+      (synopsis "Julia wrapper for libsass")
+      (description "This package provides a wrapper for libsass.  It is an
+autogenerated source package constructed using @code{BinaryBuilder.jl}.  The
+originating @code{build_tarballs.jl} script can be found on the community
+build tree Yggdrasil.")
+      (license license:expat))))
+
 (define-public julia-libtiff-jll
   (package
     (name "julia-libtiff-jll")
-- 
2.33.0

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

Information forwarded to guix-patches <at> gnu.org:
bug#50582; Package guix-patches. (Tue, 14 Sep 2021 18:34:01 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: 50582 <at> debbugs.gnu.org
Subject: Re: bug#50582: Acknowledgement ([PATCH 0/4] Julia-documenter)
Date: Tue, 14 Sep 2021 21:31:54 +0300
[Message part 1 (text/plain, inline)]
I seem to be having a hard time sending the patches so I'm attaching
them to this email.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[0001-gnu-Add-julia-libsass-jll.patch (text/plain, attachment)]
[0002-gnu-Add-julia-sass.patch (text/plain, attachment)]
[0003-gnu-Add-julia-ansicoloredprinters.patch (text/plain, attachment)]
[0004-gnu-Add-julia-documenter.patch (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#50582; Package guix-patches. (Mon, 27 Sep 2021 17:16:01 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 50582 <at> debbugs.gnu.org
Subject: Re: bug#50582: [PATCH 0/4] Julia-documenter
Date: Mon, 27 Sep 2021 19:15:12 +0200
Hi Efraim,

On mar., 14 sept. 2021 at 21:31, Efraim Flashner <efraim <at> flashner.co.il> wrote:
> I seem to be having a hard time sending the patches so I'm attaching
> them to this email.

Are they different from the ones in patch#50490; for instance this documenter:

<http://issues.guix.gnu.org/50490#4>


Cheers,
simon




Information forwarded to guix-patches <at> gnu.org:
bug#50582; Package guix-patches. (Wed, 29 Sep 2021 07:22:01 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 50582 <at> debbugs.gnu.org
Subject: Re: bug#50582: [PATCH 0/4] Julia-documenter
Date: Wed, 29 Sep 2021 10:21:10 +0300
[Message part 1 (text/plain, inline)]
On Mon, Sep 27, 2021 at 07:15:12PM +0200, zimoun wrote:
> Hi Efraim,
> 
> On mar., 14 sept. 2021 at 21:31, Efraim Flashner <efraim <at> flashner.co.il> wrote:
> > I seem to be having a hard time sending the patches so I'm attaching
> > them to this email.
> 
> Are they different from the ones in patch#50490; for instance this documenter:
> 
> <http://issues.guix.gnu.org/50490#4>

No, they should be the same. I just re-sent the patch files from my home
directory.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Thu, 30 Sep 2021 11:28:02 GMT) Full text and rfc822 format available.

Notification sent to Efraim Flashner <efraim <at> flashner.co.il>:
bug acknowledged by developer. (Thu, 30 Sep 2021 11:28:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 50590-done <at> debbugs.gnu.org, 50582-done <at> debbugs.gnu.org
Subject: Re: bug#50582: [PATCH 0/4] Julia-documenter
Date: Thu, 30 Sep 2021 14:26:42 +0300
[Message part 1 (text/plain, inline)]
Thanks for the reviews. Patches pushed!

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

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

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

Previous Next


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