summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-08-12 06:31:32 +0200
committerHans de Graaff <graaff@gentoo.org>2017-08-12 07:09:59 +0200
commitbd2b494b88f58f458fd17342f537dd56d0f00bb2 (patch)
treef00260a86e361a2eebc155848fb8672351d7a601 /dev-ruby/asciidoctor-diagram
parentdev-python/PyGithub: update upstream metadata (diff)
downloadgentoo-bd2b494b88f58f458fd17342f537dd56d0f00bb2.tar.gz
gentoo-bd2b494b88f58f458fd17342f537dd56d0f00bb2.tar.bz2
gentoo-bd2b494b88f58f458fd17342f537dd56d0f00bb2.zip
dev-ruby/asciidoctor-diagram: add 1.5.5
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/asciidoctor-diagram')
-rw-r--r--dev-ruby/asciidoctor-diagram/Manifest1
-rw-r--r--dev-ruby/asciidoctor-diagram/asciidoctor-diagram-1.5.5.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/asciidoctor-diagram/Manifest b/dev-ruby/asciidoctor-diagram/Manifest
index d52a4de0785d..c121843d4829 100644
--- a/dev-ruby/asciidoctor-diagram/Manifest
+++ b/dev-ruby/asciidoctor-diagram/Manifest
@@ -1 +1,2 @@
DIST asciidoctor-diagram-1.5.4.tar.gz 5203713 SHA256 8094c2f65f881512b47f402a23cb75a9490ee6c0cb7850bf1346a5481fd8b0e6 SHA512 1c75d0633235a50daf1ed7514d59df0d33272086b278dbcf75b9be641834a2569d2ee56e41cdc3abc66d3c6b1631dfc1f6483e36f6041824ca5f8ec41821c5d2 WHIRLPOOL 820e132a74cb7ef8b13a2c1cfe98324cf8d1ea9dd784e9a249a8a71e7926a10e08d61b61c47bb00729c6bac9d6495b2ec21ad226ab774914880e228123a27e57
+DIST asciidoctor-diagram-1.5.5.tar.gz 9061248 SHA256 b0c16e273556fb8b3bf207d2ce6237205da68bd7d1b11815edaabcbe58c95118 SHA512 e3d27496ee0c9a245e3672c278b5da690a9c9d7052c5e162190028e4aed71e370ed30b48e174e3298705551b9f265172593d5d3403eea0f9e4f4cad80b7357f4 WHIRLPOOL 50cc2e99cd9bed106c053993b9cdb87592ca0a7a887b5413c9b732b2cbad941bc2838a247bd7578ae8a47ff2cd4aede613d17e5379567cda305fbbf52e90ee58
diff --git a/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-1.5.5.ebuild b/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-1.5.5.ebuild
new file mode 100644
index 000000000000..b5ca75480aa5
--- /dev/null
+++ b/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-1.5.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+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*"
+
+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/{blockdiag,erd,mermaid,shaape,umlet,wavedrom}_spec.rb || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+}