diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-04-25 12:57:15 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-04-25 12:57:15 +0000 |
commit | 74cd5e3636c58389bdb2639f0de975b4aceccef5 (patch) | |
tree | d861092541cb04e52a324eef1159e34221fbe5bc /dev-ruby/sparklines | |
parent | Initial import of tidy_table, test dependency for sparklines. (diff) | |
download | historical-74cd5e3636c58389bdb2639f0de975b4aceccef5.tar.gz historical-74cd5e3636c58389bdb2639f0de975b4aceccef5.tar.bz2 historical-74cd5e3636c58389bdb2639f0de975b4aceccef5.zip |
Initial import of the sparklines graph generator, with fake gemspec and running testsuite.
Package-Manager: portage-2.2_rc31/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/sparklines')
-rw-r--r-- | dev-ruby/sparklines/ChangeLog | 11 | ||||
-rw-r--r-- | dev-ruby/sparklines/Manifest | 15 | ||||
-rw-r--r-- | dev-ruby/sparklines/files/sparklines.gemspec | 11 | ||||
-rw-r--r-- | dev-ruby/sparklines/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ruby/sparklines/sparklines-0.5.2.ebuild | 52 |
5 files changed, 94 insertions, 0 deletions
diff --git a/dev-ruby/sparklines/ChangeLog b/dev-ruby/sparklines/ChangeLog new file mode 100644 index 000000000000..c9de2042ea0a --- /dev/null +++ b/dev-ruby/sparklines/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-ruby/sparklines +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sparklines/ChangeLog,v 1.1 2009/04/25 12:57:15 flameeyes Exp $ + +*sparklines-0.5.2 (25 Apr 2009) + + 25 Apr 2009; Diego E. Pettenò <flameeyes@gentoo.org> + +files/sparklines.gemspec, +metadata.xml, +sparklines-0.5.2.ebuild: + Initial import of the sparklines graph generator, with fake gemspec and + running testsuite. + diff --git a/dev-ruby/sparklines/Manifest b/dev-ruby/sparklines/Manifest new file mode 100644 index 000000000000..4841ce76b431 --- /dev/null +++ b/dev-ruby/sparklines/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX sparklines.gemspec 297 RMD160 1f9d44412c783de24f96e3ec07f42baccef670e0 SHA1 d908615c0b0d5031decc5dcbecaed192480f136c SHA256 7669e54a993155dc44c65fcb157013477a92fe2d2b52e3e5721cfad09a5a71f6 +DIST sparklines-0.5.2.tgz 146810 RMD160 dc2631f9f3dbdb42c61c8272845ea98f944c68c9 SHA1 612e37ad221d3ea828b23b0a6fb5fd76f2c59e6c SHA256 08fa1830b7498ad6376b4f82805e45c4542610e4be428ea7097396d26e317381 +EBUILD sparklines-0.5.2.ebuild 1306 RMD160 84c73a9044286c7747039b8d6767257aafdab7d1 SHA1 8048846f882fa80e29cb0d2c343e86f94266d95d SHA256 0f78ed5f0e7d378f5a350c4ebe8346bdea3dd9dc0a14282d808d937e4c2466f6 +MISC ChangeLog 469 RMD160 132e327e531d2d9a23ad3ac10cc62744f52d0714 SHA1 e1c4db9b426012b2a318434b4530622e9e043b29 SHA256 cafd5f0d5828e63e54aa0ab8aabbde08f06791cf5915f4db96360a83282a8edf +MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.11 (GNU/Linux) + +iEYEARECAAYFAknzCLEACgkQAiZjviIA2XiR3gCgjixKiexMS4mtCqFkB8wy6eY1 +cLcAn3R7ZUQLZPCOnObvQJ26e54zs8pa +=IyKC +-----END PGP SIGNATURE----- diff --git a/dev-ruby/sparklines/files/sparklines.gemspec b/dev-ruby/sparklines/files/sparklines.gemspec new file mode 100644 index 000000000000..7112bc08cda7 --- /dev/null +++ b/dev-ruby/sparklines/files/sparklines.gemspec @@ -0,0 +1,11 @@ +# -*- encoding: utf-8 -*- + +Gem::Specification.new do |s| + s.name = "sparklines" + s.version = "@VERSION@" + s.author = "Geoffrey Grosenbach" + s.description = "Tiny graphs." + s.email = 'boss@topfunky.com' + s.summary = "Tiny graphs." + s.homepage = "http://nubyonrails.com/pages/sparklines" +end diff --git a/dev-ruby/sparklines/metadata.xml b/dev-ruby/sparklines/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/sparklines/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ruby</herd> +</pkgmetadata> diff --git a/dev-ruby/sparklines/sparklines-0.5.2.ebuild b/dev-ruby/sparklines/sparklines-0.5.2.ebuild new file mode 100644 index 000000000000..41a6c6e96780 --- /dev/null +++ b/dev-ruby/sparklines/sparklines-0.5.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sparklines/sparklines-0.5.2.ebuild,v 1.1 2009/04/25 12:57:15 flameeyes Exp $ + +inherit ruby + +DESCRIPTION="Create sparklines, small graphs to be used inline in texts." +HOMEPAGE="http://sparklines.rubyforge.org/" +SRC_URI="mirror://rubyforge/${PN}/${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" + +RDEPEND="dev-ruby/rmagick" +DEPEND="doc? ( dev-ruby/rake + dev-ruby/hoe ) + test? ( dev-ruby/rake + dev-ruby/hoe + dev-ruby/tidy_table + dev-ruby/dust )" + +USE_RUBY="ruby18" + +src_compile() { + if use doc; then + rake rerocs || die "rake rerdoc failed" + fi +} + +src_test() { + for ruby in $USE_RUBY; do + [[ -n `type -p $ruby` ]] && $ruby $(type -p rake) test || die "testsuite failed" + done +} + +src_install() { + pushd lib + doruby -r * || die "doruby failed" + popd + + if use doc; then + dohtml -r doc/* || die "dohtml failed" + fi + + dodoc History.txt README.txt || die "dodoc failed" + + insinto $(${RUBY} -r rbconfig -e 'print Config::CONFIG["vendorlibdir"]' | sed -e 's:vendor_ruby:gems:')/specifications + sed -e "s:@VERSION@:${PV}:" "${FILESDIR}"/${PN}.gemspec > "${T}"/${P}.gemspec + doins "${T}"/${P}.gemspec || die "Unable to install fake gemspec" +} |