summaryrefslogtreecommitdiff
path: root/dev-ruby/sparklines
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/sparklines
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/sparklines')
-rw-r--r--dev-ruby/sparklines/Manifest3
-rw-r--r--dev-ruby/sparklines/metadata.xml8
-rw-r--r--dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild33
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/sparklines/Manifest b/dev-ruby/sparklines/Manifest
new file mode 100644
index 000000000000..a90b5cdf5546
--- /dev/null
+++ b/dev-ruby/sparklines/Manifest
@@ -0,0 +1,3 @@
+DIST sparklines-0.5.2.gem 150016 BLAKE2B 408a8a5348e0bb3a331087066dfccbb42a58f68b839b7ba24b7577e50d5ad8f9c33c8befc60ae4577d2f8b5b809e52d13c5e11f61021a1d3eafff4d5c1fb2a32 SHA512 2666db1c2f4dd97cad10fd6b9b2fc938ab6b2e619b968f93b86090db4a77cc356cb97bd5ec01582804412c214226ed99cc0f65196e2a26ea1a395b29288cc715
+EBUILD sparklines-0.5.2-r6.ebuild 744 BLAKE2B f17e0a55423c55f13bfb531cbdcd97e1c3e2f663e79bb3f879e09ddff1f6000c23cf0a0d692ec720d7fd4519bde44d4ca6272ac695941501d69b949dd09c6c18 SHA512 e387c68de977a9ef799d9aacd2551ab838709b8ceffc876914a1131fafdb4c07b2fd9f22ca0455b569982d445cf7797fd5c81478b90a9110a73369ef75e263f6
+MISC metadata.xml 251 BLAKE2B e8bf2b70161d425791d65052583fd8be03b19ef3bb2a2cde34605bc93224fea9d8c6a91f0f2d630a00094ef54c0871e210da0e0134f52401bc80cb6b2358c13d SHA512 17d4dbd64468a524311a24ca065537a5b21560388efd282f3fa873e6722f70db6f83e3e5615556450905c29d5df2cf0a0855f9c0b38bf23f0f8112501456d4ea
diff --git a/dev-ruby/sparklines/metadata.xml b/dev-ruby/sparklines/metadata.xml
new file mode 100644
index 000000000000..eb1e47f2edfb
--- /dev/null
+++ b/dev-ruby/sparklines/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild b/dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild
new file mode 100644
index 000000000000..d2bd7956746f
--- /dev/null
+++ b/dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Create sparklines, small graphs to be used inline in texts"
+HOMEPAGE="http://sparklines.rubyforge.org/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86 ~x86-macos"
+IUSE=""
+
+RDEPEND="dev-ruby/rmagick"
+
+ruby_add_bdepend test "dev-ruby/tidy_table dev-ruby/dust"
+
+all_ruby_prepare() {
+ # Don't use deprecated rmagick require for compatibility with newer
+ # versions.
+ sed -i -e '/require/ s/RMagick/rmagick/' lib/sparklines.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -I. test/test_all.rb || die
+}