diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-04-25 12:40:25 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-04-25 12:40:25 +0000 |
commit | 3efbbf21c5e49525ce2662783bde2e3cbdf5c5a6 (patch) | |
tree | b884ac77e90c1a8c8bd51bca18f92f22995bba26 /dev-ruby/tidy_table | |
parent | Remove "examples" use flag from sptk (diff) | |
download | historical-3efbbf21c5e49525ce2662783bde2e3cbdf5c5a6.tar.gz historical-3efbbf21c5e49525ce2662783bde2e3cbdf5c5a6.tar.bz2 historical-3efbbf21c5e49525ce2662783bde2e3cbdf5c5a6.zip |
Initial import of tidy_table, test dependency for sparklines.
Package-Manager: portage-2.2_rc31/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/tidy_table')
-rw-r--r-- | dev-ruby/tidy_table/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/tidy_table/Manifest | 15 | ||||
-rw-r--r-- | dev-ruby/tidy_table/files/tidy_table.gemspec | 12 | ||||
-rw-r--r-- | dev-ruby/tidy_table/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ruby/tidy_table/tidy_table-0.0.5.ebuild | 49 |
5 files changed, 91 insertions, 0 deletions
diff --git a/dev-ruby/tidy_table/ChangeLog b/dev-ruby/tidy_table/ChangeLog new file mode 100644 index 000000000000..d16dee99577b --- /dev/null +++ b/dev-ruby/tidy_table/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/tidy_table +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tidy_table/ChangeLog,v 1.1 2009/04/25 12:40:25 flameeyes Exp $ + +*tidy_table-0.0.5 (25 Apr 2009) + + 25 Apr 2009; Diego E. Pettenò <flameeyes@gentoo.org> + +files/tidy_table.gemspec, +metadata.xml, +tidy_table-0.0.5.ebuild: + Initial import of tidy_table, test dependency for sparklines. + diff --git a/dev-ruby/tidy_table/Manifest b/dev-ruby/tidy_table/Manifest new file mode 100644 index 000000000000..68785479d24b --- /dev/null +++ b/dev-ruby/tidy_table/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX tidy_table.gemspec 376 RMD160 161596bcef1ffc9aa1297124a66fa7afb8c2c0ca SHA1 75cf224e74d28a0e579bf256626612534ef717b8 SHA256 c62d7834aa4074071637a66273c7d9931b4dc52675ed414b27a8cc4373a6cb33 +DIST tidy_table-0.0.5.tgz 4310 RMD160 f28f2d6b7bc5c6a3b397573fd3f8ce5c1d59ad32 SHA1 ef1c34336b9638812c9adcb2be275ee7ce4c1187 SHA256 d17ee0075b20b92ffb7fea2e6f7ce1ec27844d231bbadfdc2ee13d0f62547374 +EBUILD tidy_table-0.0.5.ebuild 1246 RMD160 aa05c29a6048f014dcb8f2e8c8a07887423d34c1 SHA1 058c99b5e7fd33318d4234a9dcb5c2e2611c8c7b SHA256 20fb1a5ae976b5329a4c9092efd6b521fa06eae9f404cc71a003f2634b2525d2 +MISC ChangeLog 438 RMD160 9986d00ba17603ece9689b52eecc949ba2248d07 SHA1 e4deab527396687c42babf5c5f9f5857428ad399 SHA256 858452d3cc3c4eed1addcbac92c978f938606e3a5f355dbc199423b9184875f4 +MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.11 (GNU/Linux) + +iEYEARECAAYFAknzBL8ACgkQAiZjviIA2Xgs+ACfUxtP3CwvH9TymoMvsU9pUOIR +4DAAoPCvNTAynS9/dUPGvgA2ccaUfe76 +=CdJi +-----END PGP SIGNATURE----- diff --git a/dev-ruby/tidy_table/files/tidy_table.gemspec b/dev-ruby/tidy_table/files/tidy_table.gemspec new file mode 100644 index 000000000000..c663eba07955 --- /dev/null +++ b/dev-ruby/tidy_table/files/tidy_table.gemspec @@ -0,0 +1,12 @@ +# -*- encoding: utf-8 -*- + +Gem::Specification.new do |s| + s.name = "tidy_table" + s.version = "@VERSION@" + s.author = 'Geoffrey Grosenbach' + s.email = 'boss@topfunky.com' + s.summary = 'Yet another library for converting a struct into an HTML table.' + s.homepage = "http://rubyforge.org/projects/seattlerb" + s.require_path = "lib" + s.rubyforge_project = 'seattlerb' +end diff --git a/dev-ruby/tidy_table/metadata.xml b/dev-ruby/tidy_table/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/tidy_table/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/tidy_table/tidy_table-0.0.5.ebuild b/dev-ruby/tidy_table/tidy_table-0.0.5.ebuild new file mode 100644 index 000000000000..576951cbc798 --- /dev/null +++ b/dev-ruby/tidy_table/tidy_table-0.0.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tidy_table/tidy_table-0.0.5.ebuild,v 1.1 2009/04/25 12:40:25 flameeyes Exp $ + +inherit ruby + +DESCRIPTION="Tool to convert an array of struct into an HTML table." +HOMEPAGE="http://seattlerb.rubyforge.org/${PN}/" +SRC_URI="mirror://rubyforge/seattlerb/${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" + +RDEPEND="" +DEPEND="doc? ( dev-ruby/rake ) + test? ( dev-ruby/rake + dev-ruby/rspec )" + +USE_RUBY="ruby18 ruby19" + +src_compile() { + if use doc; then + rake docs || die "rake docs 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" +} |