Subject: [bug#60075] [PATCH 19/58] gnu: julia-categoricalarrays: Update to 0.10.7.

From: Efraim Flashner <[email-masked]>
Date: Wed, 14 Dec 2022 22:35:17 +0200

* 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.
---
 gnu/packages/julia-xyz.scm | 23 ++++++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index b579df01ce..3948102a6b 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -679,7 +679,7 @@ (define-public julia-calculus
 (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 @@ (define-public julia-categoricalarrays
              (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")
-- 
2.38.1