diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-02-11 22:15:13 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-02-11 22:15:13 +0000 |
commit | a7438f8ee4f3cc94a423d9014dc117fe5fd8a1f5 (patch) | |
tree | 6e1eaafa48a71e3db7a9ca0e9dfc950de2cc7763 /dev-ruby/litc | |
parent | Add ~ia64-linux kw, tested to work (diff) | |
download | historical-a7438f8ee4f3cc94a423d9014dc117fe5fd8a1f5.tar.gz historical-a7438f8ee4f3cc94a423d9014dc117fe5fd8a1f5.tar.bz2 historical-a7438f8ee4f3cc94a423d9014dc117fe5fd8a1f5.zip |
Initial import of litc.
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/litc')
-rw-r--r-- | dev-ruby/litc/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/litc/Manifest | 15 | ||||
-rw-r--r-- | dev-ruby/litc/files/litc-1.0.2-tests.patch | 40 | ||||
-rw-r--r-- | dev-ruby/litc/litc-1.0.2.ebuild | 26 | ||||
-rw-r--r-- | dev-ruby/litc/metadata.xml | 5 |
5 files changed, 96 insertions, 0 deletions
diff --git a/dev-ruby/litc/ChangeLog b/dev-ruby/litc/ChangeLog new file mode 100644 index 000000000000..6401aef92cdf --- /dev/null +++ b/dev-ruby/litc/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/litc +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/litc/ChangeLog,v 1.1 2010/02/11 22:15:12 flameeyes Exp $ + +*litc-1.0.2 (11 Feb 2010) + + 11 Feb 2010; Diego E. Pettenò <flameeyes@gentoo.org> +litc-1.0.2.ebuild, + +files/litc-1.0.2-tests.patch, +metadata.xml: + Initial import of litc. + diff --git a/dev-ruby/litc/Manifest b/dev-ruby/litc/Manifest new file mode 100644 index 000000000000..90ebae236c22 --- /dev/null +++ b/dev-ruby/litc/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX litc-1.0.2-tests.patch 1039 RMD160 952af8278000126c93d4a292147792bc75944e8e SHA1 40c43a54b0ca18aab49578ecf536a7d1db1a1f42 SHA256 76eccfeca9687e320a1d4ead019629008834bc56197782b64fed6c267b443a2e +DIST litc-1.0.2.gem 9216 RMD160 12aee6e7a9f6842924ef5e5b0433227484d7c6da SHA1 0b5b276840d5b68c8672b10141d00dbd0f9583e6 SHA256 f2c1019cda9d775f2ff5aaadad118526c75f1032cae142c046c4da5b9d7d7e99 +EBUILD litc-1.0.2.ebuild 664 RMD160 16a9018dad0e1ca83d6ba2d4aae4188c33639536 SHA1 cfc91e6140b653f1af42e849672b1195985f694e SHA256 d28977878f25dfb9aaf9bd72b19daf01df0bf24cd9b6b049e8680865dd224209 +MISC ChangeLog 380 RMD160 459c36c84ce0dfdf2d01002fa80064be33558d92 SHA1 460ddcd4b56816e929ee4eacee5e293ad9764672 SHA256 fa68981c987f02302275f0f034b8fc312ee745bebbd23189667f09e8c68f57f0 +MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEYEARECAAYFAkt0gVEACgkQAiZjviIA2Xg53QCeLbbVSzBxn7Pn8drwpBUn7LVL +z/MAn0OxL6/fGloDZ53jc1XpxwPpWdWW +=MWvb +-----END PGP SIGNATURE----- diff --git a/dev-ruby/litc/files/litc-1.0.2-tests.patch b/dev-ruby/litc/files/litc-1.0.2-tests.patch new file mode 100644 index 000000000000..c0b152705804 --- /dev/null +++ b/dev-ruby/litc/files/litc-1.0.2-tests.patch @@ -0,0 +1,40 @@ +diff --git a/Rakefile b/Rakefile +index 31392f3..910113c 100644 +--- a/Rakefile ++++ b/Rakefile +@@ -13,6 +13,8 @@ begin + gem.add_development_dependency "thoughtbot-shoulda" + # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings + end ++ ++ task :test => :check_dependencies + rescue LoadError + puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" + end +@@ -20,7 +22,7 @@ end + require 'rake/testtask' + Rake::TestTask.new(:test) do |test| + test.libs << 'lib' << 'test' +- test.pattern = 'test/**/*_test.rb' ++ test.pattern = 'test/**/test_*.rb' + test.verbose = true + end + +@@ -28,7 +30,7 @@ begin + require 'rcov/rcovtask' + Rcov::RcovTask.new do |test| + test.libs << 'test' +- test.pattern = 'test/**/*_test.rb' ++ test.pattern = 'test/**/test_*.rb' + test.verbose = true + end + rescue LoadError +@@ -37,8 +39,6 @@ rescue LoadError + end + end + +-task :test => :check_dependencies +- + task :default => :test + + require 'rake/rdoctask' diff --git a/dev-ruby/litc/litc-1.0.2.ebuild b/dev-ruby/litc/litc-1.0.2.ebuild new file mode 100644 index 000000000000..2c3df20ccb51 --- /dev/null +++ b/dev-ruby/litc/litc-1.0.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/litc/litc-1.0.2.ebuild,v 1.1 2010/02/11 22:15:12 flameeyes Exp $ + +EAPI=2 +USE_RUBY="ruby18 jruby" + +RUBY_FAKEGEM_TASK_DOC="rerdoc" +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A tiny ruby module for Amazon EC2 intance metadata" +HOMEPAGE="http://github.com/bkaney/litc" + +IUSE="" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +ruby_add_bdepend test "dev-ruby/shoulda dev-ruby/fakeweb dev-ruby/ruby-debug" + +all_ruby_prepare() { + epatch "${FILESDIR}"/${P}-tests.patch +} diff --git a/dev-ruby/litc/metadata.xml b/dev-ruby/litc/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/litc/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> |