Subject: [PATCH] Update Postmoder to 1.32.6

From: Sharlatan Hellseher <[email-masked]>
Date: Thu, 14 Jan 2021 17:27:57 +0000

Hi Guilaume!

Last dependencies package update for pgloader.

* pgloader

- https://issues.guix.gnu.org/44993
- https://issues.guix.gnu.org/45025
- https://issues.guix.gnu.org/45107
- https://issues.guix.gnu.org/45189
- https://issues.guix.gnu.org/45263
- https://issues.guix.gnu.org/45324
- https://issues.guix.gnu.org/45356
- https://issues.guix.gnu.org/45452
- https://issues.guix.gnu.org/45602
- https://issues.guix.gnu.org/45639
- https://issues.guix.gnu.org/45678
- https://issues.guix.gnu.org/45719
- https://issues.guix.gnu.org/45740
- https://issues.guix.gnu.org/45775
- https://issues.guix.gnu.org/45846

- [-] pgloader [32/34] [94%]
  1. [X] abnf [100%]
     - [X] :packed <2020-12-05 Sat>
     - [X] :patch-sent <2020-12-07 Mon>
     - [X] :patch-applied-upstream <2020-12-11 Fri>
     - [X] :depends-on [2/2]
       + [X] esrap
       + [X] cl-ppcre
  2. [X] alexandria
  3. [X] cl-base64
  4. [X] cl-csv
  5. [X] cl-fad
  6. [X] cl-log [100%]
     - [X] :packed <2020-12-02 Wed>
     - [X] :patch-sent <2020-12-02 Wed>
     - [X] :patch-applied-upstream <2020-12-05 Sat>
  7. [X] cl-markdown [100%]
     - version-0.10.4
     - [X] :packed <2021-01-07 Thu>
     - [X] :patch-sent <2021-01-07 Thu>
     - [X] :patch-applied-upstream <2021-01-08 Fri>
     - [X] :depends-on [6/6]
       + [X] dynamic-classes [100%]
         - https://github.com/gwkkwg/dynamic-classes
         - [X] :packed <2021-01-07 Thu>
         - [X] :patch-sent <2021-01-07 Thu>
         - [X] :patch-applied-upstream <2021-01-08 Fri>
         - [X] :depends-on [1/1]Э
           + [X] metatilities-base
       + [X] anaphora
       + [X] cl-containers "0.11.5"
       + [X] cl-ppcre
       + [X] metabang-bind
       + [X] metatilities-base "0.6.0"
  8. [X] cl-mustache [100%]
     - https://github.com/kanru/cl-mustache
       - WRONG: https://github.com/osa1/cl-mustache
     - [X] :packed <2020-12-21 Mon>
     - [X] :patch-sent <2020-12-21 Mon>
     - [X] :patch-applied-upstream <2020-12-22 Tue>
  9. [X] closer-mop
  10. [-] cl-postgres [75%] - part of Postmodern
      - [X] :packed <2021-01-14 Thu>
      - [X] :patch-sent <2021-01-14 Thu>
      - [ ] :patch-applied-upstream
      - [X] :depends-on [4/4]
        - [X] md5
        - [X] split-sequence
        - [X] cl-base64
        - [X] uax-15 [100%]
          + [X] :packed <2020-12-26 Sat>
          + [X] :patch-sent <2020-12-26 Sat>
          + [X] :patch-applied-upstream <2020-12-28 Mon>
          + [X] :depends-on [3/3]
            - [X] split-sequence
            - [X] cl-ppcre
            - [X] uiop - part of ASDF
  11. [X] cl-ppcre
  12. [X] command-line-arguments [100%]
      - https://github.com/fare/command-line-arguments
      - [X] :packed <2020-12-12 Sat>
      - [X] :patch-sent <2020-12-12 Sat>
      - [X] :patch-applied-upstream <2020-12-12 Sat>
  13. [X] db3 [100%]
      - [X] :packed <2021-01-03 Sun>
      - [X] :patch-sent <2021-01-03 Sun>
      - [X] :patch-applied-upstream <2021-01-04 Mon>
  14. [X] drakma
  15. [X] esrap
  16. [X] flexi-streams
  17. [X] ixf [100%]
      - [X] :packed <2021-01-01 Fri>
      - [X] :patch-sent <2021-01-01 Fri>
      - [X] :patch-applied-upstream <2021-01-02 Sat>
      - [X] :depends-on
        - [X] split-sequence
        - [X] md5
        - [X] alexandria
        - [X] babel
        - [X] local-time
        - [X] cl-ppcre
        - [X] ieee-floats
  18. [X] local-time
  19. [X] lparallel
  20. [X] metabang-bind
  21. [X] mssql [100%]
      - [X] :packed <2021-01-13 Wed>
      - [X] :patch-sent <2021-01-13 Wed>
      - [X] :patch-applied-upstream <2021-01-14 Thu>
      - [X] :depends-on [5/5]
        + [X] libsybdb
          - https://github.com/FreeTDS/freetds
          - [X] :packed <2021-01-10 Sun>
          - [X] :patch-sent <2021-01-10 Sun>
          - [X] :patch-applied-upstream <2021-01-14 Thu>
        + [X] cffi
        + [X] iterate
        + [X] garbage-pools
          - https://github.com/archimag/garbage-pools
          - [X] :packed <2021-01-08 Fri>
          - [X] :patch-sent <2021-01-09 Sat>
          - [X] :patch-applied-upstream <2021-01-10 Sun>
        + [X] parse-number
  22. [X] postmodern
  23. [X] py-configparser [100%]
      - [X] :packed <2020-12-24 Thu>
      - [X] :patch-sent <2021-01-05 Tue>
      - [X] :patch-applied-upstream <2021-01-06 Wed>
      - [X] :depends-on [1/1]
        + [X] parse-number
  24. [X] qmynd [100%]
      - [X] :packed <2020-12-19 Sat>
      - [X] :patch-sent <2020-12-19 Sat>
      - [X] :patch-applied-upstream <2020-12-19 Sat>
      - [X] :depends-on [6/6]
        - [X] babel
        - [X] flexi-streams
        - [X] ironclad
        - [X] list-of - part of asdf-finalizers
          - https://gitlab.common-lisp.net/asdf/asdf-finalizers
          - [X] :packed <2020-12-15 Tue>
          - [X] :patch-sent <2020-12-15 Tue>
          - [X] :patch-applied-upstream <2020-12-19 Sat>
          - [X] :depends-on [1/1]
            - [X] asdf-finalizers
              - [X] :packed <2020-12-15 Tue>
              - [X] :patch-sent <2020-12-15 Tue>
              - [X] :patch-applied-upstream <2020-12-19 Sat>
        - [X] trivial-gray-streams
        - [X] usocket
      - [X] :weakly-depends-on [3/3]
        - [X] chipz
        - [X] cl+ssl
        - [X] salza2
  25. [X] quri
  26. [-] simple-date [66%] - part of Postmodern
      - [X] :packed <2021-01-14 Thu>
      - [X] :patch-sent <2021-01-14 Thu>
      - [ ] :patch-applied-upstream
  27. [X] split-sequence
  28. [X] sqlite
  29. [X] trivial-backtrace
  30. [X] uiop
  31. [X] usocket
  32. [X] uuid
  33. [X] yason
  34. [X] zs3 [100%]
      - [X] :packed <2020-12-03 Thu>
      - [X] :patch-sent <2020-12-03 Thu>
      - [X] :patch-applied-upstream <2020-12-05 Sat>
      - [X] :depends-on [6/6]
        + [X] drakma
        + [X] alexandria
        + [X] cxml
        + [X] ironclad
        + [X] puri
        + [X] cl-base64

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.
From fd583ac1306049a207254cf297ad4e204e5ddf53 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <[email-masked]>
Date: Thu, 14 Jan 2021 17:20:08 +0000
Subject: [PATCH] Update sbcl-postmodern to v1.32.6

The latest version of Postmodern has few more systems and slightly more
inputs. I had no luck to make tests enabled, so are still failing but
from other reason now.
---
 gnu/packages/lisp-xyz.scm | 104 ++++++++++++++++++++++++--------------
 1 file changed, 67 insertions(+), 37 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index da6a77b914..3ab7a071c3 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -9170,40 +9170,52 @@ approach to templating.")
   (sbcl-package->ecl-package sbcl-cl-mysql))
 
 (define-public sbcl-postmodern
-  (let ((commit "74469b25bbda990ec9b77e0d0eccdba0cd7e721a")
-        (revision "1"))
-    (package
-      (name "sbcl-postmodern")
-      (version (git-version "1.19" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/marijnh/Postmodern")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32 "0im7ymnyxjhn2w74jfg76k5gpr0gl33n31akx33hl28722ljd0hd"))))
-      (build-system asdf-build-system/sbcl)
-      (native-inputs
-       `(("fiveam" ,sbcl-fiveam)))
-      (inputs
-       `(("alexandria" ,sbcl-alexandria)
-         ("bordeaux-threads" ,sbcl-bordeaux-threads)
-         ("closer-mop" ,sbcl-closer-mop)
-         ("global-vars" ,sbcl-global-vars)
-         ("md5" ,sbcl-md5)
-         ("split-sequence" ,sbcl-split-sequence)
-         ("usocket" ,sbcl-usocket)))
-      (arguments
-       ;; TODO: Fix missing dependency errors for simple-date/postgres-glue,
-       ;; cl-postgres/tests and s-sql/tests.
-       `(#:tests? #f
-         #:asd-systems '("postmodern"
-                         "simple-date/postgres-glue")))
-      (synopsis "Common Lisp library for interacting with PostgreSQL")
-      (description
-       "@code{postmodern} is a Common Lisp library for interacting with
+  (package
+    (name "sbcl-postmodern")
+    (version "1.32.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/marijnh/Postmodern")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0bfx0hcb9wv47qd334xs0fpmisl75dpvasq1zai210s5wqg0km6d"))))
+    (build-system asdf-build-system/sbcl)
+    (native-inputs
+     `(("fiveam" ,sbcl-fiveam)))
+    (inputs
+     `(("alexandria" ,sbcl-alexandria)
+       ("bordeaux-threads" ,sbcl-bordeaux-threads)
+       ("cl-base64" ,sbcl-cl-base64)
+       ("cl-unicode" ,sbcl-cl-unicode)
+       ("closer-mop" ,sbcl-closer-mop)
+       ("global-vars" ,sbcl-global-vars)
+       ("ironclad" ,sbcl-ironclad)
+       ("local-time" ,sbcl-local-time)
+       ("md5" ,sbcl-md5)
+       ("split-sequence" ,sbcl-split-sequence)
+       ("uax-15" ,sbcl-uax-15)
+       ("usocket" ,sbcl-usocket)))
+    (arguments
+     ;; TODO: (Sharlatan-20210114T171037+0000) tests still failing but on other
+     ;; step, some functionality in `local-time' prevents passing tests.
+     ;; Error:
+     ;;
+     ;; Can't create directory
+     ;; /gnu/store
+     ;;  /4f47agf1kyiz057ppy6x5p98i7mcbfsv-sbcl-local-time-1.0.6-2.a177eb9
+     ;;   /lib/common-lisp/sbcl/local-time/src/integration/
+     ;;
+     `(#:tests? #f
+       #:asd-systems '("postmodern"
+                       "cl-postgres"
+                       "s-sql"
+                       "simple-date")))
+    (synopsis "Common Lisp library for interacting with PostgreSQL")
+    (description
+     "@code{postmodern} is a Common Lisp library for interacting with
 PostgreSQL databases.  It provides the following features:
 
 @itemize
@@ -9213,9 +9225,27 @@ foreign libraries.
 @item A syntax for mixing SQL and Lisp code.
 @item Convenient support for prepared statements and stored procedures.
 @item A metaclass for simple database-access objects.
-@end itemize\n")
-      (home-page "https://marijnhaverbeke.nl/postmodern/")
-      (license license:zlib))))
+@end itemize\n
+
+This package produces 4 systems: postmodern, cl-postgres, s-sql, simple-date
+
+@code{SIMPLE-DATE} is a very basic implementation of date and time objects, used
+to support storing and retrieving time-related SQL types.  It is not loaded by
+default and you can use local-time (which has support for timezones) instead.
+
+@code{S-SQL} is used to compile s-expressions to strings of SQL code, escaping
+any Lisp values inside, and doing as much as possible of the work at compile
+time.
+
+@code{CL-POSTGRES} is the low-level library used for interfacing with a PostgreSQL
+server over a socket.
+
+@code{POSTMODERN} itself is a wrapper around these packages and provides higher
+level functions, a very simple data access object that can be mapped directly to
+database tables and some convient utilities.  It then tries to put all these
+things together into a convenient programming interface")
+    (home-page "https://marijnhaverbeke.nl/postmodern/")
+    (license license:zlib)))
 
 (define-public cl-postmodern
   (sbcl-package->cl-source-package sbcl-postmodern))
-- 
2.26.2