From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-ruby/ammeter/Manifest | 6 +++ dev-ruby/ammeter/ammeter-1.1.4-r1.ebuild | 65 ++++++++++++++++++++++++++++++++ dev-ruby/ammeter/ammeter-1.1.4.ebuild | 65 ++++++++++++++++++++++++++++++++ dev-ruby/ammeter/metadata.xml | 11 ++++++ 4 files changed, 147 insertions(+) create mode 100644 dev-ruby/ammeter/Manifest create mode 100644 dev-ruby/ammeter/ammeter-1.1.4-r1.ebuild create mode 100644 dev-ruby/ammeter/ammeter-1.1.4.ebuild create mode 100644 dev-ruby/ammeter/metadata.xml (limited to 'dev-ruby/ammeter') diff --git a/dev-ruby/ammeter/Manifest b/dev-ruby/ammeter/Manifest new file mode 100644 index 000000000000..7a8cc71f86f5 --- /dev/null +++ b/dev-ruby/ammeter/Manifest @@ -0,0 +1,6 @@ +DIST ammeter-1.1.4.gem 19968 SHA256 bc0184bf656533d807acf37267bec3c5b00ad6ad41e7927d0f062e59cfdeada2 SHA512 57d24c67be85fe34ded8feda045771974be7cdd828780a82ff0b2f6b52d0b35b48c2eb7e59dae70700fba676242918ef6463448090d7729d49db0f05f04b0131 WHIRLPOOL 1b306f4ad62fa1ee483272e5f84cd01e53c4c8f2921c815c0ca38a28e012f6128fae225063b99db08ff90d0664ac272042470871f586c8db2b316cba972fc007 +EBUILD ammeter-1.1.4-r1.ebuild 1599 SHA256 949a75e2ae7757009dfafbb7a3e120697b7731e031be587d059767f347ed8656 SHA512 5f5be519c8ffd3f65441fb869d29649d37c096e906ecaf387ba7fd801e0e9196c05b86f33d58449a5a07fb0d7c50135622d1b5812d3cef621532986dbf74a596 WHIRLPOOL 2adaadcc73dbdad00d62d36e8061c6ea2b2cb734dab4e9fb9d44b22f9c0ccd05f6e3ce13399315c8d438522456d46a3c178ecea309919f2d6433bf45f7657ce4 +EBUILD ammeter-1.1.4.ebuild 1604 SHA256 bf532782a5547bc58be2aa83391109fe50196885cea06df99297ef69d477c5dc SHA512 f7df42ada35ac50f39be4a0322b1d5124a39f513e81f64556c7d2fa0f5f5863f1d855fbc9e7d02229657a9b4862b0303147949346efcef542a3e222a394e2cb6 WHIRLPOOL 9a806f4ef90521bda09989c801aa4892351dd21f6562c3edc785a5f84fcd48dd40eda7a6cc64ad0bbc95001bcb1b926784a189ba7cdca96769dbc9efd3d52e62 +MISC ChangeLog 3318 SHA256 c62d13df34cfc1184f962dedb321106e3a0228ed44e053f96057f33ad926b5c6 SHA512 64a5da3d0c7e164b63bd2d3721384338bebd8e6b3a6176a9d8aa1719493ee5c91a47d07efcf769312d4e9bd5ccd8c570efd324610e4f3e42da1f9882ff587a6a WHIRLPOOL 117ac9fe8c465b82d0f1ae884861f1e684dbf1ae3ae07dfe34a10cfb401793763dabb68cff6ce7d2120e30b116e684b095144c66737eb4a7f7597bf47635ea70 +MISC ChangeLog-2015 2587 SHA256 d7beab6ff7ade4294a056ec9651fa3e17a489464ef0ddd56118ea02bc287e8a5 SHA512 8e903293de31070b7e1a816aa4ff6662ded1e6f8093909ab9a5944d7847bb1a4ba53356efa0519cd0cd3bec2b6237be0f48ad83c0e1eeabd101aceeffa0edfca WHIRLPOOL 2abd0c8138dff38a019f4b209698172bdf49f0bf07e95f970de903a4ea55b03a429e70f3f7c891c8e3d46fd31fb95ed092c0f909387fb587ff918fb49ea42f87 +MISC metadata.xml 348 SHA256 b1771e315dce903c656fd8055201d679482044d20be45c905f88b7af74cb9131 SHA512 f81eb53098c1d67a4d5cfe32c9b3aace294cb90788775c639e189cf3932ef8101466d9a1541ceada391ebdacfedf926d9549f4591b42efd6c391e5fe6b0e72f1 WHIRLPOOL 179c09eb7501506c6f0dd51d7973b3b65421422e89ccdbc0bd092ced82eff00a58629e7eb306b2944b387a9949836f8618a8ffeae43466110f5602775ddae262 diff --git a/dev-ruby/ammeter/ammeter-1.1.4-r1.ebuild b/dev-ruby/ammeter/ammeter-1.1.4-r1.ebuild new file mode 100644 index 000000000000..90c73cf3ff9a --- /dev/null +++ b/dev-ruby/ammeter/ammeter-1.1.4-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Write specs for your Rails 3+ generators" +HOMEPAGE="https://github.com/alexrothenberg/ammeter" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +# Restrict tests since they now require the specific rspec version to be +# provided in an environment variable. +#RESTRICT="test" + +ruby_add_rdepend " + >=dev-ruby/activesupport-3.0:* + >=dev-ruby/railties-3.0:* + >=dev-ruby/rspec-rails-2.2:* +" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rails-4.0 + >=dev-ruby/uglifier-1.3 + >=dev-ruby/rake-0.10 + >=dev-ruby/coffee-rails-4.0 + >=dev-ruby/sass-rails-4.0 + >=dev-ruby/jquery-rails-3.0 + dev-util/cucumber + dev-util/aruba + dev-ruby/sqlite3 + dev-ruby/bundler + )" + +all_ruby_prepare() { + # fix the gemspec; we remove the version dependencies from there, as + # it requires _older_ versions of its dependencies.. it doesn't + # really seem to be the case though. Also remove the references to + # git ls-files to avoid calling it. + sed -i \ + -e '/git ls-files/d' \ + -e '/\(cucumber\|aruba\)/s:,.*$::' \ + ${RUBY_FAKEGEM_GEMSPEC} || die + + # haml-rails is not packaged + sed -i -e '/haml-rails/d' ${RUBY_FAKEGEM_GEMSPEC} Gemfile || die + rm -f spec/ammeter/rspec/generator/matchers/have_correct_syntax_spec.rb || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec ${RUBY} -S rspec-3 spec || die +} diff --git a/dev-ruby/ammeter/ammeter-1.1.4.ebuild b/dev-ruby/ammeter/ammeter-1.1.4.ebuild new file mode 100644 index 000000000000..d7cea2af69ea --- /dev/null +++ b/dev-ruby/ammeter/ammeter-1.1.4.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Write specs for your Rails 3+ generators" +HOMEPAGE="https://github.com/alexrothenberg/ammeter" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +# Restrict tests since they now require the specific rspec version to be +# provided in an environment variable. +#RESTRICT="test" + +ruby_add_rdepend " + >=dev-ruby/activesupport-3.0:* + >=dev-ruby/railties-3.0:* + >=dev-ruby/rspec-rails-2.2:* +" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rails-4.0 + >=dev-ruby/uglifier-1.3 + >=dev-ruby/rake-0.10 + >=dev-ruby/coffee-rails-4.0 + >=dev-ruby/sass-rails-4.0 + >=dev-ruby/jquery-rails-3.0 + dev-util/cucumber + dev-util/aruba + dev-ruby/sqlite3 + dev-ruby/bundler + )" + +all_ruby_prepare() { + # fix the gemspec; we remove the version dependencies from there, as + # it requires _older_ versions of its dependencies.. it doesn't + # really seem to be the case though. Also remove the references to + # git ls-files to avoid calling it. + sed -i \ + -e '/git ls-files/d' \ + -e '/\(cucumber\|aruba\)/s:,.*$::' \ + ${RUBY_FAKEGEM_GEMSPEC} || die + + # haml-rails is not packaged + sed -i -e '/haml-rails/d' ${RUBY_FAKEGEM_GEMSPEC} Gemfile || die + rm -f spec/ammeter/rspec/generator/matchers/have_correct_syntax_spec.rb || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec ${RUBY} -S rspec-3 spec || die +} diff --git a/dev-ruby/ammeter/metadata.xml b/dev-ruby/ammeter/metadata.xml new file mode 100644 index 000000000000..767fba165fb2 --- /dev/null +++ b/dev-ruby/ammeter/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + alexrothenberg/ammeter + + -- cgit v1.2.3