git: 15a1d6623aab - main - textproc/rubygem-asciidoctor-pdf: Update to 2.3.13

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:36:12 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=15a1d6623aabe51d0e538998fc480d1d2aedf894

commit 15a1d6623aabe51d0e538998fc480d1d2aedf894
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:58:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:10:47 +0000

    textproc/rubygem-asciidoctor-pdf: Update to 2.3.13
    
    - Update WWW
    - Fix gemspec for rubygem-prawn-svg 0.34.0 update
    - Fix af747c350b9477460c7d606dc0a2a801ce803663
      - Fix version requirement of RUN_DEPENDS
      - Rename patch files
    
    Changes:        https://github.com/asciidoctor/asciidoctor-pdf/releases
---
 textproc/rubygem-asciidoctor-pdf/Makefile                 |  8 ++++----
 textproc/rubygem-asciidoctor-pdf/distinfo                 |  6 +++---
 textproc/rubygem-asciidoctor-pdf/files/patch-gemspec      | 11 +++++++++++
 .../{patch-asciidoctor-pdf.gemspec => patch-prawn-icon}   | 15 +++++----------
 4 files changed, 23 insertions(+), 17 deletions(-)

diff --git a/textproc/rubygem-asciidoctor-pdf/Makefile b/textproc/rubygem-asciidoctor-pdf/Makefile
index db7da37051e4..a68dd092a0b6 100644
--- a/textproc/rubygem-asciidoctor-pdf/Makefile
+++ b/textproc/rubygem-asciidoctor-pdf/Makefile
@@ -1,12 +1,12 @@
 PORTNAME=	asciidoctor-pdf
-PORTVERSION=	2.3.10
-PORTREVISION=	1
+PORTVERSION=	2.3.13
 CATEGORIES=	textproc rubygems
 MASTER_SITES=	RG
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Convert AsciiDoc documents to PDF
-WWW=		https://github.com/asciidoctor/asciidoctor-pdf
+WWW=		https://docs.asciidoctor.org/pdf-converter/latest/ \
+		https://github.com/asciidoctor/asciidoctor-pdf
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -16,7 +16,7 @@ RUN_DEPENDS=	rubygem-asciidoctor>=2.0<3:textproc/rubygem-asciidoctor \
 		rubygem-matrix>=0.4<1:math/rubygem-matrix \
 		rubygem-prawn>=2.4.0<2.5:print/rubygem-prawn \
 		rubygem-prawn-icon>=3.1.0<3.2:print/rubygem-prawn-icon \
-		rubygem-prawn-svg>=0.31.0<1:print/rubygem-prawn-svg \
+		rubygem-prawn-svg>=0.34.0<0.35:print/rubygem-prawn-svg \
 		rubygem-prawn-table>=0.2.0<0.3:print/rubygem-prawn-table \
 		rubygem-prawn-templates>=0.1.0<0.2:print/rubygem-prawn-templates \
 		rubygem-treetop>=1.6.0<1.7:devel/rubygem-treetop
diff --git a/textproc/rubygem-asciidoctor-pdf/distinfo b/textproc/rubygem-asciidoctor-pdf/distinfo
index cfb5df5f1c45..95ca5def6527 100644
--- a/textproc/rubygem-asciidoctor-pdf/distinfo
+++ b/textproc/rubygem-asciidoctor-pdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1702028288
-SHA256 (rubygem/asciidoctor-pdf-2.3.10.gem) = b19076f05e92fbe7cf258575a64781628f285bf8b0d4cce6cb1c4df467694ae2
-SIZE (rubygem/asciidoctor-pdf-2.3.10.gem) = 2271232
+TIMESTAMP = 1708450578
+SHA256 (rubygem/asciidoctor-pdf-2.3.13.gem) = fa03c42e317060b0492005b77665c376d36d75e50859a51fc21b7f85d1030e77
+SIZE (rubygem/asciidoctor-pdf-2.3.13.gem) = 2275328
diff --git a/textproc/rubygem-asciidoctor-pdf/files/patch-gemspec b/textproc/rubygem-asciidoctor-pdf/files/patch-gemspec
new file mode 100644
index 000000000000..ba6fed24f1d0
--- /dev/null
+++ b/textproc/rubygem-asciidoctor-pdf/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- asciidoctor-pdf.gemspec.orig	2024-02-17 20:19:33 UTC
++++ asciidoctor-pdf.gemspec
+@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
+   s.add_runtime_dependency(%q<matrix>.freeze, ["~> 0.4"])
+   s.add_runtime_dependency(%q<prawn-table>.freeze, ["~> 0.2.0"])
+   s.add_runtime_dependency(%q<prawn-templates>.freeze, ["~> 0.1.0"])
+-  s.add_runtime_dependency(%q<prawn-svg>.freeze, ["~> 0.33.0"])
++  s.add_runtime_dependency(%q<prawn-svg>.freeze, ["~> 0.34.0"])
+   s.add_runtime_dependency(%q<prawn-icon>.freeze, ["~> 3.0.0"])
+   s.add_runtime_dependency(%q<concurrent-ruby>.freeze, ["~> 1.1"])
+   s.add_runtime_dependency(%q<treetop>.freeze, ["~> 1.6.0"])
diff --git a/textproc/rubygem-asciidoctor-pdf/files/patch-asciidoctor-pdf.gemspec b/textproc/rubygem-asciidoctor-pdf/files/patch-prawn-icon
similarity index 60%
rename from textproc/rubygem-asciidoctor-pdf/files/patch-asciidoctor-pdf.gemspec
rename to textproc/rubygem-asciidoctor-pdf/files/patch-prawn-icon
index 9e7d617575c8..7965b8ca4cf8 100644
--- a/textproc/rubygem-asciidoctor-pdf/files/patch-asciidoctor-pdf.gemspec
+++ b/textproc/rubygem-asciidoctor-pdf/files/patch-prawn-icon
@@ -1,22 +1,17 @@
-Obtained from:
-https://github.com/asciidoctor/asciidoctor-pdf/commit/631606e91f487e797e73c15467979b0b63c5ff68
-https://github.com/asciidoctor/asciidoctor-pdf/commit/cd71092a5c5c86b9770359a0f1bd7c60b9dce7ea
+Obtained from:	https://github.com/asciidoctor/asciidoctor-pdf/commit/631606e91f487e797e73c15467979b0b63c5ff68
 
-
---- asciidoctor-pdf.gemspec.orig	2023-12-27 02:32:44 UTC
+--- asciidoctor-pdf.gemspec.orig	2023-01-06 06:23:58 UTC
 +++ asciidoctor-pdf.gemspec
-@@ -26,8 +26,8 @@ Gem::Specification.new do |s|
-   s.add_runtime_dependency(%q<matrix>.freeze, ["~> 0.4"])
+@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
    s.add_runtime_dependency(%q<prawn-table>.freeze, ["~> 0.2.0"])
    s.add_runtime_dependency(%q<prawn-templates>.freeze, ["~> 0.1.0"])
--  s.add_runtime_dependency(%q<prawn-svg>.freeze, ["~> 0.32.0"])
+   s.add_runtime_dependency(%q<prawn-svg>.freeze, ["~> 0.34.0"])
 -  s.add_runtime_dependency(%q<prawn-icon>.freeze, ["~> 3.0.0"])
-+  s.add_runtime_dependency(%q<prawn-svg>.freeze, ["~> 0.33.0"])
 +  s.add_runtime_dependency(%q<prawn-icon>.freeze, ["~> 3.1.0"])
    s.add_runtime_dependency(%q<concurrent-ruby>.freeze, ["~> 1.1"])
    s.add_runtime_dependency(%q<treetop>.freeze, ["~> 1.6.0"])
    s.add_development_dependency(%q<rake>.freeze, ["~> 13.0.0"])
---- lib/asciidoctor/pdf/ext/prawn/extensions.rb.orig	2023-12-27 02:32:43 UTC
+--- lib/asciidoctor/pdf/ext/prawn/extensions.rb.orig	2023-01-06 06:23:58 UTC
 +++ lib/asciidoctor/pdf/ext/prawn/extensions.rb
 @@ -16,7 +16,7 @@ module Asciidoctor
        ColumnBox = ::Prawn::Document::ColumnBox