Subject: bug#55259: closed (Re: bug#55259: [PATCH] gnu: ruby: Add ruby-asciidoctor-multipage)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 08 May 2022 21:45:01 +0000

Your bug report

#55259: [PATCH] gnu: ruby: Add ruby-asciidoctor-multipage

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
55259: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55259
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#55259: [PATCH] gnu: ruby: Add ruby-asciidoctor-multipage
From: Ludovic Courtès <[email-masked]>
To: Maximilian Heisinger <[email-masked]>
Cc: [email-masked]
Date: Sun, 08 May 2022 23:44:14 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Maximilian Heisinger <[email-masked]> skribis:

>>>From 11f3d48556204fb881db8824d5c5260804da9d73 Mon Sep 17 00:00:00 2001
> From: Maximilian Heisinger <[email-masked]>
> Date: Wed, 4 May 2022 11:05:24 +0200
> Subject: [PATCH] gnu: ruby: Add ruby-asciidoctor-multipage
>
> * gnu/packages/ruby.scm (ruby-asciidoctor-multipage): Add package.

[...]

> +    (license license:ruby)

I changed that to ‘license:expat’, as per the ‘LICENSE’ file, and
committed.

Thanks!

Ludo’.

Subject: [PATCH] gnu: ruby: Add ruby-asciidoctor-multipage
From: Maximilian Heisinger <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Wed, 4 May 2022 11:06:38 +0200 (CEST)
List-Id: <debbugs-submit.debbugs.gnu.org>

>From 11f3d48556204fb881db8824d5c5260804da9d73 Mon Sep 17 00:00:00 2001
From: Maximilian Heisinger <[email-masked]>
Date: Wed, 4 May 2022 11:05:24 +0200
Subject: [PATCH] gnu: ruby: Add ruby-asciidoctor-multipage

* gnu/packages/ruby.scm (ruby-asciidoctor-multipage): Add package.
---
 gnu/packages/ruby.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index acccc4d4c4..663bda84be 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1298,6 +1298,39 @@ (define-public ruby-asciidoctor
     (home-page "https://asciidoctor.org")
     (license license:expat)))

+(define-public ruby-asciidoctor-multipage
+  (package
+    (name "ruby-asciidoctor-multipage")
+    (version "0.0.15")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/owenh000/asciidoctor-multipage")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "01qqkf00cp4sj82brz8kl02pjirydafwgld3z166slysiq78d1c5"))))
+    (propagated-inputs (list ruby-asciidoctor ruby-slim))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (add-after 'extract-gemspec 'strip-version-requirements
+                    (lambda _
+                      (delete-file "Gemfile")
+                      (substitute* "asciidoctor-multipage.gemspec"
+                        (("(.*add_.*dependency '[_A-Za-z0-9-]+').*" _ stripped)
+                         (string-append stripped "
+"))) #t)))))
+    (synopsis
+     "Asciidoctor extension for generating HTML output using multiple pages")
+    (description
+     "Asciidoctor generates single-page documents.  This extension
+splits documents up into multiple HTML pages according to their headings, with
+configurable levels.")
+    (license license:ruby)
+    (home-page "https://github.com/owenh000/asciidoctor-multipage")))
+
 (define-public ruby-prawn-icon
   (package
     (name "ruby-prawn-icon")
--
2.36.0