unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55259] [PATCH] gnu: ruby: Add ruby-asciidoctor-multipage
@ 2022-05-04  9:06 Maximilian Heisinger
  2022-05-08 21:44 ` bug#55259: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Maximilian Heisinger @ 2022-05-04  9:06 UTC (permalink / raw)
  To: 55259

[-- Attachment #1: Type: text/plain, Size: 2194 bytes --]

From 11f3d48556204fb881db8824d5c5260804da9d73 Mon Sep 17 00:00:00 2001
From: Maximilian Heisinger <mail@maxheisinger.at>
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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 475 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#55259: [PATCH] gnu: ruby: Add ruby-asciidoctor-multipage
  2022-05-04  9:06 [bug#55259] [PATCH] gnu: ruby: Add ruby-asciidoctor-multipage Maximilian Heisinger
@ 2022-05-08 21:44 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-05-08 21:44 UTC (permalink / raw)
  To: Maximilian Heisinger; +Cc: 55259-done

Hi,

Maximilian Heisinger <mail@maxheisinger.at> skribis:

>>From 11f3d48556204fb881db8824d5c5260804da9d73 Mon Sep 17 00:00:00 2001
> From: Maximilian Heisinger <mail@maxheisinger.at>
> 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’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-08 21:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-04  9:06 [bug#55259] [PATCH] gnu: ruby: Add ruby-asciidoctor-multipage Maximilian Heisinger
2022-05-08 21:44 ` bug#55259: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).