commit:     b800b5126e20796bd3d1c0bb6dc364be338f4826
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 19 05:35:13 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Sep 19 05:35:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b800b512

dev-ruby/asciidoctor-diagram: add 2.0.3

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/asciidoctor-diagram/Manifest              |  1 +
 .../asciidoctor-diagram-2.0.3.ebuild               | 37 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-ruby/asciidoctor-diagram/Manifest 
b/dev-ruby/asciidoctor-diagram/Manifest
index 2dbb0ddaab8..78b14f6cc02 100644
--- a/dev-ruby/asciidoctor-diagram/Manifest
+++ b/dev-ruby/asciidoctor-diagram/Manifest
@@ -1,2 +1,3 @@
 DIST asciidoctor-diagram-1.5.19.tar.gz 11707367 BLAKE2B 
2088d2a7b424b9a716204e607d6e4c3bb7521b2098caad131210c163ade6f8a07872793945829d6b1e6e88a9d04126738eb439c968e99f326baddc310b48de0e
 SHA512 
14270c8ea0e63163e01171695ecb99f5ef9667e2ec50b26e56495a1fc2c0e8af97fc784f5decb8fc75f1830581a9bc658d699af6aeee52adc20adad82cb1aed9
 DIST asciidoctor-diagram-2.0.2.tar.gz 12481283 BLAKE2B 
f0b12514a7b16f6ab8c3a072aa9550ecfe0c8139e8f9ec1ea660a805813f942530519e4d90357e9b28d5d0e6c48bb9aff5dc1d56bfbe1cb15095653a8311c62c
 SHA512 
8a72ee61b7341c516d1d34610a7cd0cd6d0c8dbd4b970b79c3b313f1230a0cc79ff47fcf553c2de144bd3f1f922183f0236354651a255023ce14b04f17195ee7
+DIST asciidoctor-diagram-2.0.3.tar.gz 12483731 BLAKE2B 
b907ff1747b440ddabe83ca9a562ed9ad7b4b04b07d18fe7d3214f0eea035d4a9b340a121c91a7a5d1f5dc9011d6e56958b784b229a571b6cd2d902205eeda13
 SHA512 
19bd0263b6d159685f1d0b7955f11428bcce9afd66157903cb797499652bfd587d41d0bd8493f7e97ccf3ee32cfdebcab10c4001b50a21060a890289573adbf1

diff --git a/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-2.0.3.ebuild 
b/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-2.0.3.ebuild
new file mode 100644
index 00000000000..9a6dfb6b196
--- /dev/null
+++ b/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-2.0.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.adoc LICENSE.txt README.adoc"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="A set of Asciidoctor extensions that enable you to add diagrams"
+HOMEPAGE="https://github.com/asciidoctor/asciidoctor-diagram";
+SRC_URI="https://github.com/asciidoctor/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/asciidoctor-1.5.7 <dev-ruby/asciidoctor-3"
+
+all_ruby_prepare() {
+       rm Gemfile || die
+       sed -i -e '/c.formatter/ s:^:#:' spec/test_helper.rb || die
+
+       # Avoid specs for unpackaged tools
+       rm -f 
spec/{a2s,blockdiag,bpmn,bytefield,dpic,erd,mermaid,msc,nomnoml,pikchr,shaape,smcat,svgbob,symbolator,syntrax,umlet,vega,wavedrom}_spec.rb
 || die
+}
+
+all_ruby_install() {
+       all_fakegem_install
+}

Reply via email to