[PATCH 0/3] gnu: Add cl-tar.

  • Done
  • quality assurance status badge
Details
2 participants
  • Guillaume Le Vaillant
  • Paul A. Patience
Owner
unassigned
Submitted by
Paul A. Patience
Severity
normal
P
P
Paul A. Patience wrote on 23 Nov 2022 04:25
(address . guix-patches@gnu.org)(name . Paul A. Patience)(address . paul@apatience.com)
20221123032456.106598-1-paul@apatience.com
Paul A. Patience (3):
gnu: Add cl-40ants-doc.
gnu: Add cl-tar-file.
gnu: Add cl-tar.

gnu/packages/lisp-xyz.scm | 180 ++++++++++++++++++++++++++++++++++++++
1 file changed, 180 insertions(+)

--
2.38.0
P
P
Paul A. Patience wrote on 23 Nov 2022 04:26
[PATCH 1/3] gnu: Add cl-40ants-doc.
(address . 59500@debbugs.gnu.org)(name . Paul A. Patience)(address . paul@apatience.com)
20221123032653.106845-1-paul@apatience.com
* gnu/packages/lisp-xyz.scm (sbcl-40ants-doc, cl-40ants-doc,
ecl-40ants-doc): New variables.
---
gnu/packages/lisp-xyz.scm | 83 +++++++++++++++++++++++++++++++++++++++
1 file changed, 83 insertions(+)

Toggle diff (94 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index ae05f78534..9f0c473d4f 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -2947,6 +2947,89 @@ (define-public cl-mgl-pax
(define-public ecl-mgl-pax
(sbcl-package->ecl-package sbcl-mgl-pax))

+(define-public sbcl-40ants-doc
+ (let ((commit "7725ff67a380e9ebfc6155e14d91e650f256711b")
+ (revision "0"))
+ (package
+ (name "sbcl-40ants-doc")
+ (version (git-version "0.1.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/40ants/doc")
+ (commit commit)))
+ (sha256
+ (base32 "1v6gnhrk02vsixmprzk4wvvj7vh11vp5waxyih0qz2ih8d38r5pg"))
+ (file-name (git-file-name "cl-40ants-doc" version))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ ;; TODO: Add remaining dependencies of 40ants-doc-full and
+ ;; 40ants-doc-test missing from Guix.
+ '(#:asd-systems '("40ants-doc"
+ ;;"40ants-doc-full"
+ )
+ #:tests? #f))
+ ;;(native-inputs
+ ;; (list sbcl-rove))
+ (inputs
+ (list sbcl-named-readtables
+ sbcl-pythonic-string-reader
+ ;; For 40ants-doc-full:
+ ;;sbcl-3bmd
+ ;;sbcl-alexandria
+ ;;sbcl-babel
+ ;;sbcl-cl-cookie
+ ;;sbcl-cl-fad
+ ;;sbcl-cl-ppcre
+ ;;sbcl-common-doc ; Missing from Guix
+ ;;sbcl-common-html ; Missing from Guix
+ ;;sbcl-commondoc-markdown ; Missing from Guix
+ ;;sbcl-dexador
+ ;;sbcl-docs-builder ; Missing from Guix
+ ;;sbcl-fare-utils
+ ;;sbcl-jonathan
+ ;;sbcl-lass
+ ;;sbcl-local-time
+ ;;sbcl-log4cl
+ ;;sbcl-slime-swank
+ ;;sbcl-slynk
+ ;;sbcl-spinneret
+ ;;sbcl-stem ; Missing from Guix; also, license is unconfirmed
+ ;;sbcl-str
+ ;;sbcl-tmpdir ; Missing from Guix
+ ;;sbcl-trivial-extract ; Missing from Guix
+ ;;sbcl-xml-emitter
+ ))
+ (home-page "https://40ants.com/doc/")
+ (synopsis "Exploratory programming environment and documentation generator")
+ (description
+ "@code{40ants-doc} provides a rudimentary explorable programming
+environment. The narrative primarily lives in so-called sections that mix
+Markdown docstrings with references to functions, variables, etc., all of
+which should probably have their own docstrings.
+
+The primary focus is on making code easily explorable by using SLIME's
+@kbd{M-.} (@code{slime-edit-definition}). Generating documentation in
+Markdown or HTML format from sections and all the referenced items is also
+implemented.
+
+With the simplistic tools provided, one may obtain results similar to literate
+programming, but documentation is generated from code, not the other way
+around, and there is no support for chunking. Code comes first, code must
+look pretty, documentation is code.
+
+@code{40ants-doc} is a fork of MGL-PAX with fewer dependencies (only
+@code{named-readtables} and @code{pythonic-string-reader}) for the core
+system, and additional features in the full system.")
+ (license license:expat))))
+
+(define-public cl-40ants-doc
+ (sbcl-package->cl-source-package sbcl-40ants-doc))
+
+(define-public ecl-40ants-doc
+ (sbcl-package->ecl-package sbcl-40ants-doc))
+
(define-public sbcl-mssql
(let ((commit "045602a19a32254108f2b75871049293f49731eb")
(revision "1"))
--
2.38.0
P
P
Paul A. Patience wrote on 23 Nov 2022 04:27
[PATCH 2/3] gnu: Add cl-tar-file.
(address . 59500@debbugs.gnu.org)(name . Paul A. Patience)(address . paul@apatience.com)
20221123032653.106845-2-paul@apatience.com
* gnu/packages/lisp-xyz.scm (sbcl-tar-file, cl-tar-file, ecl-tar-file):
New variables.
---
gnu/packages/lisp-xyz.scm | 49 +++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)

Toggle diff (60 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 9f0c473d4f..1e9b7260e9 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -9334,6 +9334,55 @@ (define-public cl-archive
(define-public ecl-archive
(sbcl-package->ecl-package sbcl-archive))

+(define-public sbcl-tar-file
+ (let ((commit "0c10bc82f14702c97a26dc25ce075b5d3a2347d1")
+ (revision "0"))
+ (package
+ (name "sbcl-tar-file")
+ (version (git-version "0.2.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.common-lisp.net/cl-tar/cl-tar-file")
+ (commit commit)))
+ (file-name (git-file-name "cl-tar-file" version))
+ (sha256
+ (base32 "0i8j05fkgdqy4c4pqj0c68sh4s3klpx9kc5wp73qwzrl3xqd2svy"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs
+ (list sbcl-parachute))
+ (inputs
+ (list sbcl-40ants-doc
+ sbcl-alexandria
+ sbcl-babel
+ sbcl-chipz
+ sbcl-flexi-streams
+ sbcl-salza2
+ sbcl-trivial-gray-streams))
+ (home-page "https://gitlab.common-lisp.net/cl-tar/cl-tar-file")
+ (synopsis "Read and write physical entries to and from tar files")
+ (description
+ "@code{cl-tar-file} is a Common Lisp library that allows reading from
+and writing to various tar archive formats. Currently supported are the POSIX
+ustar, PAX (ustar with a few new entry types), GNU, and v7 (very old) formats.
+
+This library is rather low level and is focused exclusively on reading and
+writing physical tar file entries using streams. Therefore, it contains no
+functionality for automatically building archives from a set of files on the
+filesystem or writing the contents of a file to the filesystem. Additionally,
+there are no smarts that read multiple physical entries and combine them into
+a single logical entry (e.g., with PAX extended headers or GNU long link/path
+name support). For a higher-level library that reads and writes logical
+entries, and also includes filesystem integration, see @code{cl-tar}.")
+ (license license:bsd-3))))
+
+(define-public cl-tar-file
+ (sbcl-package->cl-source-package sbcl-tar-file))
+
+(define-public ecl-tar-file
+ (sbcl-package->ecl-package sbcl-tar-file))
+
(define-public sbcl-misc-extensions
(let ((commit "101c05112bf2f1e1bbf527396822d2f50ca6327a")
(revision "1"))
--
2.38.0
P
P
Paul A. Patience wrote on 23 Nov 2022 04:27
[PATCH 3/3] gnu: Add cl-tar.
(address . 59500@debbugs.gnu.org)(name . Paul A. Patience)(address . paul@apatience.com)
20221123032653.106845-3-paul@apatience.com
* gnu/packages/lisp-xyz.scm (sbcl-tar, cl-tar, ecl-tar): New variables.
---
gnu/packages/lisp-xyz.scm | 48 +++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)

Toggle diff (59 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 1e9b7260e9..55cc90b08a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -9383,6 +9383,54 @@ (define-public cl-tar-file
(define-public ecl-tar-file
(sbcl-package->ecl-package sbcl-tar-file))

+(define-public sbcl-tar
+ (let ((commit "7c6e07a10c93d9e311f087b5f6328cddd481669a")
+ (revision "0"))
+ (package
+ (name "sbcl-tar")
+ (version (git-version "0.2.3" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.common-lisp.net/cl-tar/cl-tar")
+ (commit commit)))
+ (file-name (git-file-name "cl-tar" version))
+ (sha256
+ (base32 "0wp23cs3i6a89dibifiz6559la5nk58d1n17xvbxq4nrl8cqsllf"))))
+ (build-system asdf-build-system/sbcl)
+ ;; TODO: Build the tar program with 'build-program' when the
+ ;; 'asdf-release-ops' library is added to Guix.
+ (arguments
+ '(#:asd-systems '("tar"
+ "tar/common-extract"
+ "tar/create"
+ "tar/docs"
+ "tar/extract"
+ "tar/simple-extract")))
+ (native-inputs
+ (list sbcl-parachute))
+ (inputs
+ (list sbcl-40ants-doc
+ sbcl-alexandria
+ sbcl-babel
+ sbcl-local-time
+ sbcl-osicat
+ sbcl-split-sequence
+ sbcl-tar-file))
+ (home-page "https://gitlab.common-lisp.net/cl-tar/cl-tar")
+ (synopsis "High-level interface for tar files")
+ (description
+ "@code{cl-tar} is a Common Lisp library providing a high-level interface
+for interacting with tar archives.")
+ (license license:expat))))
+
+(define-public cl-tar
+ (sbcl-package->cl-source-package sbcl-tar))
+
+(define-public ecl-tar
+ (sbcl-package->ecl-package sbcl-tar))
+
(define-public sbcl-misc-extensions
(let ((commit "101c05112bf2f1e1bbf527396822d2f50ca6327a")
(revision "1"))
--
2.38.0
G
G
Guillaume Le Vaillant wrote on 24 Nov 2022 10:20
Re: [bug#59500] [PATCH 0/3] gnu: Add cl-tar.
(name . Paul A. Patience)(address . paul@apatience.com)(address . 59500-done@debbugs.gnu.org)
871qps674p.fsf@kitej
Patches pushed as 8a620036d7490766be1822213ed8ab88cbe4f491 and
following.
Thanks.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCY383Zg8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j/ILgD/T7CVZ9J+XPUBCVFg93Ydmu/42wN90I7VgIVV
wH2iBLIBAISouG9hRhubt0Gmh3CHoy8O1ojxt65mCXOb4QGcvAYo
=tcfu
-----END PGP SIGNATURE-----

Closed
?