summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-06-05 10:35:20 +0200
committerHans de Graaff <graaff@gentoo.org>2016-06-05 10:37:08 +0200
commit1bf54cff77f210dcb75004e773c39b9be18537cc (patch)
tree4a390e99ed92cf8833b057c4362389fa6b729e14 /dev-ruby/asciidoctor-diagram
parentdev-ruby/asciidoctor: add ruby22 (diff)
downloadgentoo-1bf54cff77f210dcb75004e773c39b9be18537cc.tar.gz
gentoo-1bf54cff77f210dcb75004e773c39b9be18537cc.tar.bz2
gentoo-1bf54cff77f210dcb75004e773c39b9be18537cc.zip
dev-ruby/asciidoctor-diagram: initial import, bug 584472
Package-Manager: portage-2.2.28
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.4.0.ebuild38
-rw-r--r--dev-ruby/asciidoctor-diagram/metadata.xml11
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/asciidoctor-diagram/Manifest b/dev-ruby/asciidoctor-diagram/Manifest
new file mode 100644
index 000000000000..fd2fd9c45bab
--- /dev/null
+++ b/dev-ruby/asciidoctor-diagram/Manifest
@@ -0,0 +1 @@
+DIST asciidoctor-diagram-1.4.0.tar.gz 2950518 SHA256 83243bada230f2d71a7aae5df0edea8b418979d5f10a29b46b912f36a96e3edc SHA512 9e392ad419dd73741ec12ff252d48e043151a222b2cb6b0947eef8ef87356bbf184a6caa7ab595862255e5913c2390c3d90f26b20b4a0d2a91dab79a6a65075d WHIRLPOOL 9a5ea2931ee088eab6e8c2d347d1f14a27b86a274e3cead240e9cba8a968bfef52c7fcb008092467c57cc5f99a5efcef21ea6138f4d5cb7e870658b879831ec9
diff --git a/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-1.4.0.ebuild b/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-1.4.0.ebuild
new file mode 100644
index 000000000000..5bdb707c44dc
--- /dev/null
+++ b/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-1.4.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+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.0"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+
+ # Avoid specs for unpackaged tools
+ rm -f spec/{blockdiag,mermaid,shaape,wavedrom}_spec.rb || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+}
diff --git a/dev-ruby/asciidoctor-diagram/metadata.xml b/dev-ruby/asciidoctor-diagram/metadata.xml
new file mode 100644
index 000000000000..29233bd3cd26
--- /dev/null
+++ b/dev-ruby/asciidoctor-diagram/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">asciidoctor/asciidoctor-diagram</remote-id>
+ </upstream>
+</pkgmetadata>