summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-12-13 09:29:25 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-12-21 19:22:47 +0200
commit6f4c87b493b333090d9717db7e8cc4a1a49af094 (patch)
tree89b585b9911641658400db51a547e6f7112af500 /gnu
parent3fb804967a589720b47bbe0d0e1d50ebae55eb84 (diff)
downloadguix-6f4c87b493b333090d9717db7e8cc4a1a49af094.tar.gz
gnu: julia-categoricalarrays: Update to 0.10.7.
* gnu/packages/julia-xyz.scm (julia-categoricalarrays): Update to 0.10.7.
[arguments]: Add phase to skip tests depending on julia-plots.
[native-inputs]: Add julia-json, julia-json3, julia-recipesbase,
julia-sentinelarrays, julia-structtypes.
[propagated-inputs]: Add julia-requires, julia-sentinelarrays.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/julia-xyz.scm23
1 files changed, 20 insertions, 3 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index b38848cfe4..e0cc40e6ca 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -679,7 +679,7 @@ methods.")
 (define-public julia-categoricalarrays
   (package
     (name "julia-categoricalarrays")
-    (version "0.9.7")
+    (version "0.10.7")
     (source
      (origin
        (method git-fetch)
@@ -688,16 +688,33 @@ methods.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1bcfylxdaizgasnmlkjjkf4dgfvy2y9ycnphw2d0z6mm9vx3n04x"))))
+        (base32 "17fix7wlwqbif5jbcrbi0a0ghdl3429km3l6lqa962p7jf1gjd2d"))))
     (build-system julia-build-system)
+    (arguments
+     (list
+       #:phases
+       #~(modify-phases %standard-phases
+           (add-after 'unpack 'adjust-tests
+             (lambda _
+               ;; Plots.jl isn't packaged yet.
+               (substitute* "test/runtests.jl"
+                 ((".*13_arraycommon\\.jl.*") "")))))))
     (native-inputs
-     (list julia-pooledarrays))
+     (list julia-json
+           julia-json3
+           ;julia-plots
+           julia-pooledarrays
+           julia-recipesbase
+           julia-sentinelarrays
+           julia-structtypes))
     (propagated-inputs
      (list julia-dataapi
            julia-json
            julia-json3
            julia-missings
            julia-recipesbase
+           julia-requires
+           julia-sentinelarrays
            julia-structtypes))
     (home-page "https://github.com/JuliaData/CategoricalArrays.jl")
     (synopsis "Arrays for working with categorical data")