all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#50490] [PATCH 0/5] Some julia packages
@ 2021-09-09 18:16 Efraim Flashner
  2021-09-14 17:38 ` zimoun
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Efraim Flashner @ 2021-09-09 18:16 UTC (permalink / raw)
  To: 50490; +Cc: Efraim Flashner

Here are some julia packages. I'm still working on julia-documenter with
all the javascript it downloads at runtime, but these ones are ready.

Efraim Flashner (5):
  gnu: Add julia-quadgk.
  gnu: Add julia-measurements.
  gnu: Add julia-mlstyle.
  gnu: Add julia-pycall.
  gnu: Add julia-ansicoloredprinters.

 gnu/packages/julia-xyz.scm | 177 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 176 insertions(+), 1 deletion(-)


base-commit: bae57cc7d2917c4a67e9afb68ed61ad7117ea7ea
-- 
2.33.0





^ permalink raw reply	[flat|nested] 13+ messages in thread

* [bug#50490] [PATCH 0/5] Some julia packages
  2021-09-09 18:16 [bug#50490] [PATCH 0/5] Some julia packages Efraim Flashner
@ 2021-09-14 17:38 ` zimoun
  2021-09-22 12:13 ` [bug#50490] [PATCH 1/5] gnu: Add julia-quadgk Efraim Flashner
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 13+ messages in thread
From: zimoun @ 2021-09-14 17:38 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 50490

Hi Efraim,

Cool!

On Thu, 9 Sept 2021 at 20:20, Efraim Flashner <efraim@flashner.co.il> wrote:

> Here are some julia packages. I'm still working on julia-documenter with
> all the javascript it downloads at runtime, but these ones are ready.
>
> Efraim Flashner (5):
>   gnu: Add julia-quadgk.
>   gnu: Add julia-measurements.
>   gnu: Add julia-mlstyle.
>   gnu: Add julia-pycall.
>   gnu: Add julia-ansicoloredprinters.

Have you send this?

Cheers,
simon




^ permalink raw reply	[flat|nested] 13+ messages in thread

* [bug#50490] [PATCH 1/5] gnu: Add julia-quadgk.
  2021-09-09 18:16 [bug#50490] [PATCH 0/5] Some julia packages Efraim Flashner
  2021-09-14 17:38 ` zimoun
@ 2021-09-22 12:13 ` Efraim Flashner
  2021-09-27 16:51   ` [bug#50490] [PATCH 0/5] Some julia packages zimoun
  2021-09-22 12:13 ` [bug#50490] [PATCH 2/5] gnu: Add julia-measurements Efraim Flashner
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 13+ messages in thread
From: Efraim Flashner @ 2021-09-22 12:13 UTC (permalink / raw)
  To: 50490; +Cc: Efraim Flashner

* gnu/packages/julia-xyz.scm (julia-quadgk): New variable.
---
 gnu/packages/julia-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index a80964c2b0..bd6a296463 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2985,6 +2985,31 @@ everything from run time algorithm choice to code generation at compile time.")
 human-readable format.")
     (license license:expat)))
 
+(define-public julia-quadgk
+  (package
+    (name "julia-quadgk")
+    (version "2.4.1")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaMath/QuadGK.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "1hy0629yai6xflgxaflk9764lzr1lzhlghimxk1aqi212q9c6n33"))))
+    (build-system julia-build-system)
+    (propagated-inputs
+     `(("julia-datastructures" ,julia-datastructures)))
+    (home-page "https://github.com/JuliaMath/QuadGK.jl")
+    (synopsis "Adaptive 1d numerical Gauss–Kronrod integration in Julia")
+    (description "This package provides support for one-dimensional numerical
+integration in Julia using adaptive Gauss-Kronrod quadrature.  The code was
+originally part of Base Julia.  It supports integration of arbitrary numeric
+types, including arbitrary precision (@code{BigFloat}), and even integration of
+arbitrary normed vector spaces (e.g. matrix-valued integrands).")
+    (license license:expat)))
+
 (define-public julia-quadmath
   (package
     (name "julia-quadmath")
-- 
2.33.0





^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [bug#50490] [PATCH 2/5] gnu: Add julia-measurements.
  2021-09-09 18:16 [bug#50490] [PATCH 0/5] Some julia packages Efraim Flashner
  2021-09-14 17:38 ` zimoun
  2021-09-22 12:13 ` [bug#50490] [PATCH 1/5] gnu: Add julia-quadgk Efraim Flashner
@ 2021-09-22 12:13 ` Efraim Flashner
  2021-09-27 16:53   ` [bug#50490] [PATCH 0/5] Some julia packages zimoun
  2021-09-22 12:13 ` [bug#50490] [PATCH 3/5] gnu: Add julia-mlstyle Efraim Flashner
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 13+ messages in thread
From: Efraim Flashner @ 2021-09-22 12:13 UTC (permalink / raw)
  To: 50490; +Cc: Efraim Flashner

* gnu/packages/julia-xyz.scm (julia-measurements): New variable.
---
 gnu/packages/julia-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index bd6a296463..222f9f129e 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2433,6 +2433,37 @@ may include other factorizations such as the LQ factorization.")
 TLS} and cryptography C library for Julia.")
     (license license:expat)))
 
+(define-public julia-measurements
+  (package
+    (name "julia-measurements")
+    (version "2.6.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaPhysics/Measurements.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "05p3f0gr4sv4maq8cix5fi8ldq0zagswqsd43xn6fhy046f936mz"))))
+    (build-system julia-build-system)
+    (propagated-inputs
+     `(("julia-calculus" ,julia-calculus)
+       ("julia-recipesbase" ,julia-recipesbase)
+       ("julia-requires" ,julia-requires)))
+    (native-inputs
+     `(("julia-specialfunctions" ,julia-specialfunctions)
+       ("julia-quadgk" ,julia-quadgk)
+       ("julia-unitful" ,julia-unitful)))
+    (home-page "https://juliaphysics.github.io/Measurements.jl/stable/")
+    (synopsis "Error propagation calculator and library")
+    (description "@code{Measurements.jl} is an error propagation calculator and
+library for physical measurements.  It supports real and complex numbers with
+uncertainty, arbitrary precision calculations, operations with arrays, and
+numerical integration.  The linear error propagation theory is employed to
+propagate the errors.")
+    (license license:expat)))
+
 (define-public julia-measures
   (package
     (name "julia-measures")
-- 
2.33.0





^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [bug#50490] [PATCH 3/5] gnu: Add julia-mlstyle.
  2021-09-09 18:16 [bug#50490] [PATCH 0/5] Some julia packages Efraim Flashner
                   ` (2 preceding siblings ...)
  2021-09-22 12:13 ` [bug#50490] [PATCH 2/5] gnu: Add julia-measurements Efraim Flashner
@ 2021-09-22 12:13 ` Efraim Flashner
  2021-09-27 16:54   ` [bug#50490] [PATCH 0/5] Some julia packages zimoun
  2021-09-22 12:13 ` [bug#50490] [PATCH 4/5] gnu: Add julia-pycall Efraim Flashner
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 13+ messages in thread
From: Efraim Flashner @ 2021-09-22 12:13 UTC (permalink / raw)
  To: 50490; +Cc: Efraim Flashner

* gnu/packages/julia-xyz.scm (julia-mlstyle): 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 222f9f129e..3616ffd006 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2508,6 +2508,28 @@ resolving them into absolute units.")
 with @code{missing} values in Julia.")
     (license license:expat)))
 
+(define-public julia-mlstyle
+  (package
+    (name "julia-mlstyle")
+    (version "0.4.10")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/thautwarm/MLStyle.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0h1cd7cr4c4cnpqyj3180113gdbvcc047lqphp8a8gq5smp3c059"))))
+    (build-system julia-build-system)
+    (native-inputs
+     `(("julia-datastructures" ,julia-datastructures)))
+    (home-page "https://thautwarm.github.io/MLStyle.jl/latest/")
+    (synopsis "Julia functional programming infrastructures")
+    (description "This package provides consistent and extensible functional
+programming infrastructures, and metaprogramming facilities.")
+    (license license:expat)))
+
 (define-public julia-mocking
   (package
     (name "julia-mocking")
-- 
2.33.0





^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [bug#50490] [PATCH 4/5] gnu: Add julia-pycall.
  2021-09-09 18:16 [bug#50490] [PATCH 0/5] Some julia packages Efraim Flashner
                   ` (3 preceding siblings ...)
  2021-09-22 12:13 ` [bug#50490] [PATCH 3/5] gnu: Add julia-mlstyle Efraim Flashner
@ 2021-09-22 12:13 ` Efraim Flashner
  2021-09-27 16:58   ` [bug#50490] [PATCH 0/5] Some julia packages zimoun
  2021-09-22 12:13 ` [bug#50490] [PATCH 5/5] gnu: Add julia-ansicoloredprinters Efraim Flashner
       [not found] ` <handler.50490.B.163121156531751.ack@debbugs.gnu.org>
  6 siblings, 1 reply; 13+ messages in thread
From: Efraim Flashner @ 2021-09-22 12:13 UTC (permalink / raw)
  To: 50490; +Cc: Efraim Flashner

* gnu/packages/julia-xyz.scm (julia-pycall): New variable.
---
 gnu/packages/julia-xyz.scm | 79 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 78 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 3616ffd006..1038d3f80b 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -26,7 +26,9 @@
   #:use-module (guix git-download)
   #:use-module (guix build-system julia)
   #:use-module (gnu packages gcc)
-  #:use-module (gnu packages julia-jll))
+  #:use-module (gnu packages julia-jll)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages python-xyz))
 
 (define-public julia-abstractffts
   (package
@@ -3038,6 +3040,81 @@ everything from run time algorithm choice to code generation at compile time.")
 human-readable format.")
     (license license:expat)))
 
+(define-public julia-pycall
+  (package
+    (name "julia-pycall")
+    (version "1.92.3")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaPy/PyCall.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32
+          "07r99ni6nkxpyrp3wsb5qg4jxz7i2r08dyqbiffy2zm3g0bn88jq"))))
+    (build-system julia-build-system)
+    (arguments
+     `(#:imported-modules ((guix build python-build-system)
+                           ,@%julia-build-system-modules)
+       #:modules ((guix build julia-build-system)
+                  (guix build utils)
+                  ((guix build python-build-system) #:prefix python:))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'remove-conda
+           (lambda _
+             (substitute* "Project.toml"
+               ((".*Conda.*") ""))
+             (substitute* (list "src/PyCall.jl"
+                                "test/runtests.jl")
+               (("import Conda") ""))
+             (substitute* "deps/depsutils.jl"
+               (("Conda.PYTHONDIR") "\"/\""))
+             #t))
+         (add-after 'unpack 'set-python
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let ((python (assoc-ref inputs "python")))
+               (setenv "PYCALL_JL_RUNTIME_PYTHON"
+                       (string-append python "/bin/python3"))
+               (with-output-to-file "deps/deps.jl"
+                 (lambda _
+                   (format #t
+                           "const python = \"~a/bin/python3\"~@
+                           const pyprogramname = \"~a/bin/python3\"~@
+                           const libpython = \"~a/lib/libpython~a.so.1.0\"~@
+                           const PYTHONHOME = \"~a\"~@
+                           const pyversion_build = v\"~a\"~@
+                           const conda = false~%"
+                           python
+                           python
+                           python
+                           (python:python-version python)
+                           python
+                           ,(package-version python))))
+               #t)))
+         (add-before 'check 'pre-check
+           (lambda _
+             (setenv "CI" "true")
+             (setenv "JULIA_PKGEVAL" "true")
+             #t)))))
+    (propagated-inputs
+     `(("julia-macrotools" ,julia-macrotools)
+       ("julia-versionparsing" ,julia-versionparsing)))
+    (inputs
+     `(("python" ,python)))
+    (native-inputs
+     `(("python-numpy" ,python-numpy)))
+    (home-page "https://github.com/JuliaPy/PyCall.jl")
+    (synopsis "Call Python functions from the Julia language")
+    (description "This package provides the ability to directly call and fully
+interoperate with Python from the Julia language.  You can import arbitrary
+Python modules from Julia, call Python functions (with automatic conversion of
+types between Julia and Python), define Python classes from Julia methods, and
+share large data structures between Julia and Python without copying them.")
+    (license license:expat)))
+
 (define-public julia-quadgk
   (package
     (name "julia-quadgk")
-- 
2.33.0





^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [bug#50490] [PATCH 5/5] gnu: Add julia-ansicoloredprinters.
  2021-09-09 18:16 [bug#50490] [PATCH 0/5] Some julia packages Efraim Flashner
                   ` (4 preceding siblings ...)
  2021-09-22 12:13 ` [bug#50490] [PATCH 4/5] gnu: Add julia-pycall Efraim Flashner
@ 2021-09-22 12:13 ` Efraim Flashner
  2021-09-27 16:59   ` [bug#50490] [PATCH 0/5] Some julia packages zimoun
       [not found] ` <handler.50490.B.163121156531751.ack@debbugs.gnu.org>
  6 siblings, 1 reply; 13+ messages in thread
From: Efraim Flashner @ 2021-09-22 12:13 UTC (permalink / raw)
  To: 50490; +Cc: Efraim Flashner

* gnu/packages/julia-xyz.scm (julia-ansicoloredprinters): New variable.
---
 gnu/packages/julia-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 1038d3f80b..ec31d70531 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -100,6 +100,26 @@ acts like @code{convert(T, x)}, but without the restriction of returning a
 be GPU compatible without throwing away the wrapper.")
     (license license:expat)))
 
+(define-public julia-ansicoloredprinters
+  (package
+    (name "julia-ansicoloredprinters")
+    (version "0.0.1")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaDocs/ANSIColoredPrinters.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0dp5agljr0g50s5gn0pr70wrz01ggck6pb40ay3l4szhswq7mqzf"))))
+    (build-system julia-build-system)
+    (home-page "https://github.com/JuliaDocs/ANSIColoredPrinters.jl")
+    (synopsis "ANSI escape code translator")
+    (description "@code{ANSIColoredPrinters.jl} converts a text qualified by
+ANSI escape codes to another format.")
+    (license license:expat)))
+
 (define-public julia-aqua
   (package
     (name "julia-aqua")
-- 
2.33.0





^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [bug#50490] [PATCH 0/5] Some julia packages
  2021-09-22 12:13 ` [bug#50490] [PATCH 1/5] gnu: Add julia-quadgk Efraim Flashner
@ 2021-09-27 16:51   ` zimoun
  0 siblings, 0 replies; 13+ messages in thread
From: zimoun @ 2021-09-27 16:51 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 50490

Hi Efraim,

On mer., 22 sept. 2021 at 15:13, Efraim Flashner <efraim@flashner.co.il> wrote:
> * gnu/packages/julia-xyz.scm (julia-quadgk): New variable.
> ---
>  gnu/packages/julia-xyz.scm | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
>
> diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
> index a80964c2b0..bd6a296463 100644
> --- a/gnu/packages/julia-xyz.scm
> +++ b/gnu/packages/julia-xyz.scm
> @@ -2985,6 +2985,31 @@ everything from run time algorithm choice to code generation at compile time.")
>  human-readable format.")
>      (license license:expat)))
>
> +(define-public julia-quadgk
> +  (package
> +    (name "julia-quadgk")
> +    (version "2.4.1")
> +    (source
> +      (origin
> +        (method git-fetch)
> +        (uri (git-reference
> +               (url "https://github.com/JuliaMath/QuadGK.jl")
> +               (commit (string-append "v" version))))
> +        (file-name (git-file-name name version))
> +        (sha256
> +         (base32 "1hy0629yai6xflgxaflk9764lzr1lzhlghimxk1aqi212q9c6n33"))))
> +    (build-system julia-build-system)
> +    (propagated-inputs
> +     `(("julia-datastructures" ,julia-datastructures)))
> +    (home-page "https://github.com/JuliaMath/QuadGK.jl")
> +    (synopsis "Adaptive 1d numerical Gauss–Kronrod integration in Julia")

I would not write «in Julia».

> +    (description "This package provides support for one-dimensional numerical
> +integration in Julia using adaptive Gauss-Kronrod quadrature.  The code was
> +originally part of Base Julia.  It supports integration of arbitrary numeric
> +types, including arbitrary precision (@code{BigFloat}), and even integration of
> +arbitrary normed vector spaces (e.g. matrix-valued integrands).")
> +    (license license:expat)))

LGTM.

Cheers,
simon




^ permalink raw reply	[flat|nested] 13+ messages in thread

* [bug#50490] [PATCH 0/5] Some julia packages
  2021-09-22 12:13 ` [bug#50490] [PATCH 2/5] gnu: Add julia-measurements Efraim Flashner
@ 2021-09-27 16:53   ` zimoun
  0 siblings, 0 replies; 13+ messages in thread
From: zimoun @ 2021-09-27 16:53 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 50490

Hi Efraim,

On mer., 22 sept. 2021 at 15:13, Efraim Flashner <efraim@flashner.co.il> wrote:
> * gnu/packages/julia-xyz.scm (julia-measurements): New variable.
> ---
>  gnu/packages/julia-xyz.scm | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>
> diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
> index bd6a296463..222f9f129e 100644
> --- a/gnu/packages/julia-xyz.scm
> +++ b/gnu/packages/julia-xyz.scm
> @@ -2433,6 +2433,37 @@ may include other factorizations such as the LQ factorization.")
>  TLS} and cryptography C library for Julia.")
>      (license license:expat)))
>
> +(define-public julia-measurements
> +  (package
> +    (name "julia-measurements")
> +    (version "2.6.0")
> +    (source
> +      (origin
> +        (method git-fetch)
> +        (uri (git-reference
> +               (url "https://github.com/JuliaPhysics/Measurements.jl")
> +               (commit (string-append "v" version))))
> +        (file-name (git-file-name name version))
> +        (sha256
> +         (base32 "05p3f0gr4sv4maq8cix5fi8ldq0zagswqsd43xn6fhy046f936mz"))))
> +    (build-system julia-build-system)
> +    (propagated-inputs
> +     `(("julia-calculus" ,julia-calculus)
> +       ("julia-recipesbase" ,julia-recipesbase)
> +       ("julia-requires" ,julia-requires)))
> +    (native-inputs
> +     `(("julia-specialfunctions" ,julia-specialfunctions)
> +       ("julia-quadgk" ,julia-quadgk)
> +       ("julia-unitful" ,julia-unitful)))

Could we keep alphabetical sorted list?

> +    (home-page "https://juliaphysics.github.io/Measurements.jl/stable/")
> +    (synopsis "Error propagation calculator and library")
> +    (description "@code{Measurements.jl} is an error propagation calculator and
> +library for physical measurements.  It supports real and complex numbers with
> +uncertainty, arbitrary precision calculations, operations with arrays, and
> +numerical integration.  The linear error propagation theory is employed to
> +propagate the errors.")
> +    (license license:expat)))

LGTM.

Cheers,
simon




^ permalink raw reply	[flat|nested] 13+ messages in thread

* [bug#50490] [PATCH 0/5] Some julia packages
  2021-09-22 12:13 ` [bug#50490] [PATCH 3/5] gnu: Add julia-mlstyle Efraim Flashner
@ 2021-09-27 16:54   ` zimoun
  0 siblings, 0 replies; 13+ messages in thread
From: zimoun @ 2021-09-27 16:54 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 50490

Hi Efraim,

On mer., 22 sept. 2021 at 15:13, Efraim Flashner <efraim@flashner.co.il> wrote:
> * gnu/packages/julia-xyz.scm (julia-mlstyle): 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 222f9f129e..3616ffd006 100644
> --- a/gnu/packages/julia-xyz.scm
> +++ b/gnu/packages/julia-xyz.scm
> @@ -2508,6 +2508,28 @@ resolving them into absolute units.")
>  with @code{missing} values in Julia.")
>      (license license:expat)))
>
> +(define-public julia-mlstyle
> +  (package
> +    (name "julia-mlstyle")
> +    (version "0.4.10")
> +    (source
> +      (origin
> +        (method git-fetch)
> +        (uri (git-reference
> +               (url "https://github.com/thautwarm/MLStyle.jl")
> +               (commit (string-append "v" version))))
> +        (file-name (git-file-name name version))
> +        (sha256
> +         (base32 "0h1cd7cr4c4cnpqyj3180113gdbvcc047lqphp8a8gq5smp3c059"))))
> +    (build-system julia-build-system)
> +    (native-inputs
> +     `(("julia-datastructures" ,julia-datastructures)))
> +    (home-page "https://thautwarm.github.io/MLStyle.jl/latest/")
> +    (synopsis "Julia functional programming infrastructures")
> +    (description "This package provides consistent and extensible functional
> +programming infrastructures, and metaprogramming facilities.")
> +    (license license:expat)))

LGTM.  I notice that the package raises warning at the check phase.

Cheers,
simon




^ permalink raw reply	[flat|nested] 13+ messages in thread

* [bug#50490] [PATCH 0/5] Some julia packages
  2021-09-22 12:13 ` [bug#50490] [PATCH 4/5] gnu: Add julia-pycall Efraim Flashner
@ 2021-09-27 16:58   ` zimoun
  0 siblings, 0 replies; 13+ messages in thread
From: zimoun @ 2021-09-27 16:58 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 50490

Hi Efraim,

On mer., 22 sept. 2021 at 15:13, Efraim Flashner <efraim@flashner.co.il> wrote:
> * gnu/packages/julia-xyz.scm (julia-pycall): New variable.
> ---
>  gnu/packages/julia-xyz.scm | 79 +++++++++++++++++++++++++++++++++++++-
>  1 file changed, 78 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
> index 3616ffd006..1038d3f80b 100644
> --- a/gnu/packages/julia-xyz.scm
> +++ b/gnu/packages/julia-xyz.scm
> @@ -26,7 +26,9 @@
>    #:use-module (guix git-download)
>    #:use-module (guix build-system julia)
>    #:use-module (gnu packages gcc)
> -  #:use-module (gnu packages julia-jll))
> +  #:use-module (gnu packages julia-jll)
> +  #:use-module (gnu packages python)
> +  #:use-module (gnu packages python-xyz))
>
>  (define-public julia-abstractffts
>    (package
> @@ -3038,6 +3040,81 @@ everything from run time algorithm choice to code generation at compile time.")
>  human-readable format.")
>      (license license:expat)))
>
> +(define-public julia-pycall
> +  (package
> +    (name "julia-pycall")
> +    (version "1.92.3")
> +    (source
> +      (origin
> +        (method git-fetch)
> +        (uri (git-reference
> +               (url "https://github.com/JuliaPy/PyCall.jl")
> +               (commit (string-append "v" version))))
> +        (file-name (git-file-name name version))
> +        (sha256
> +         (base32
> +          "07r99ni6nkxpyrp3wsb5qg4jxz7i2r08dyqbiffy2zm3g0bn88jq"))))
> +    (build-system julia-build-system)
> +    (arguments
> +     `(#:imported-modules ((guix build python-build-system)
> +                           ,@%julia-build-system-modules)
> +       #:modules ((guix build julia-build-system)
> +                  (guix build utils)
> +                  ((guix build python-build-system) #:prefix python:))
> +       #:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'remove-conda
> +           (lambda _
> +             (substitute* "Project.toml"
> +               ((".*Conda.*") ""))
> +             (substitute* (list "src/PyCall.jl"
> +                                "test/runtests.jl")
> +               (("import Conda") ""))
> +             (substitute* "deps/depsutils.jl"
> +               (("Conda.PYTHONDIR") "\"/\""))
> +             #t))
> +         (add-after 'unpack 'set-python
> +           (lambda* (#:key inputs outputs #:allow-other-keys)
> +             (let ((python (assoc-ref inputs "python")))
> +               (setenv "PYCALL_JL_RUNTIME_PYTHON"
> +                       (string-append python "/bin/python3"))
> +               (with-output-to-file "deps/deps.jl"
> +                 (lambda _
> +                   (format #t
> +                           "const python = \"~a/bin/python3\"~@
> +                           const pyprogramname = \"~a/bin/python3\"~@
> +                           const libpython = \"~a/lib/libpython~a.so.1.0\"~@
> +                           const PYTHONHOME = \"~a\"~@
> +                           const pyversion_build = v\"~a\"~@
> +                           const conda = false~%"
> +                           python
> +                           python
> +                           python
> +                           (python:python-version python)
> +                           python
> +                           ,(package-version python))))
> +               #t)))
> +         (add-before 'check 'pre-check
> +           (lambda _
> +             (setenv "CI" "true")
> +             (setenv "JULIA_PKGEVAL" "true")
> +             #t)))))
> +    (propagated-inputs
> +     `(("julia-macrotools" ,julia-macrotools)
> +       ("julia-versionparsing" ,julia-versionparsing)))
> +    (inputs
> +     `(("python" ,python)))
> +    (native-inputs
> +     `(("python-numpy" ,python-numpy)))
> +    (home-page "https://github.com/JuliaPy/PyCall.jl")
> +    (synopsis "Call Python functions from the Julia language")
> +    (description "This package provides the ability to directly call and fully
> +interoperate with Python from the Julia language.  You can import arbitrary
> +Python modules from Julia, call Python functions (with automatic conversion of
> +types between Julia and Python), define Python classes from Julia methods, and
> +share large data structures between Julia and Python without copying them.")
> +    (license license:expat)))


LGTM!


Cheers,
simon




^ permalink raw reply	[flat|nested] 13+ messages in thread

* [bug#50490] [PATCH 0/5] Some julia packages
  2021-09-22 12:13 ` [bug#50490] [PATCH 5/5] gnu: Add julia-ansicoloredprinters Efraim Flashner
@ 2021-09-27 16:59   ` zimoun
  0 siblings, 0 replies; 13+ messages in thread
From: zimoun @ 2021-09-27 16:59 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 50490

Hi Efraim,

On mer., 22 sept. 2021 at 15:13, Efraim Flashner <efraim@flashner.co.il> wrote:
> * gnu/packages/julia-xyz.scm (julia-ansicoloredprinters): New variable.
> ---
>  gnu/packages/julia-xyz.scm | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>
> diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
> index 1038d3f80b..ec31d70531 100644
> --- a/gnu/packages/julia-xyz.scm
> +++ b/gnu/packages/julia-xyz.scm
> @@ -100,6 +100,26 @@ acts like @code{convert(T, x)}, but without the restriction of returning a
>  be GPU compatible without throwing away the wrapper.")
>      (license license:expat)))
>
> +(define-public julia-ansicoloredprinters
> +  (package
> +    (name "julia-ansicoloredprinters")
> +    (version "0.0.1")
> +    (source
> +      (origin
> +        (method git-fetch)
> +        (uri (git-reference
> +               (url "https://github.com/JuliaDocs/ANSIColoredPrinters.jl")
> +               (commit (string-append "v" version))))
> +        (file-name (git-file-name name version))
> +        (sha256
> +         (base32 "0dp5agljr0g50s5gn0pr70wrz01ggck6pb40ay3l4szhswq7mqzf"))))
> +    (build-system julia-build-system)
> +    (home-page "https://github.com/JuliaDocs/ANSIColoredPrinters.jl")
> +    (synopsis "ANSI escape code translator")
> +    (description "@code{ANSIColoredPrinters.jl} converts a text qualified by
> +ANSI escape codes to another format.")
> +    (license license:expat)))

LGTM!

Cheers,
simon




^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#50490: Acknowledgement ([PATCH 0/5] Some julia packages)
       [not found] ` <handler.50490.B.163121156531751.ack@debbugs.gnu.org>
@ 2021-09-30 12:35   ` Efraim Flashner
  0 siblings, 0 replies; 13+ messages in thread
From: Efraim Flashner @ 2021-09-30 12:35 UTC (permalink / raw)
  To: 50490-done

[-- Attachment #1: Type: text/plain, Size: 230 bytes --]

Patches pushed.

-- 
Efraim Flashner   <efraim@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-09-30 12:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-09 18:16 [bug#50490] [PATCH 0/5] Some julia packages Efraim Flashner
2021-09-14 17:38 ` zimoun
2021-09-22 12:13 ` [bug#50490] [PATCH 1/5] gnu: Add julia-quadgk Efraim Flashner
2021-09-27 16:51   ` [bug#50490] [PATCH 0/5] Some julia packages zimoun
2021-09-22 12:13 ` [bug#50490] [PATCH 2/5] gnu: Add julia-measurements Efraim Flashner
2021-09-27 16:53   ` [bug#50490] [PATCH 0/5] Some julia packages zimoun
2021-09-22 12:13 ` [bug#50490] [PATCH 3/5] gnu: Add julia-mlstyle Efraim Flashner
2021-09-27 16:54   ` [bug#50490] [PATCH 0/5] Some julia packages zimoun
2021-09-22 12:13 ` [bug#50490] [PATCH 4/5] gnu: Add julia-pycall Efraim Flashner
2021-09-27 16:58   ` [bug#50490] [PATCH 0/5] Some julia packages zimoun
2021-09-22 12:13 ` [bug#50490] [PATCH 5/5] gnu: Add julia-ansicoloredprinters Efraim Flashner
2021-09-27 16:59   ` [bug#50490] [PATCH 0/5] Some julia packages zimoun
     [not found] ` <handler.50490.B.163121156531751.ack@debbugs.gnu.org>
2021-09-30 12:35   ` bug#50490: Acknowledgement ([PATCH 0/5] Some julia packages) Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.