dev-ruby/ammeter: cleanup

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Hans de Graaff
2017-04-17 11:15:04 +02:00
parent 3061f19dea
commit f4e54a3271
3 changed files with 0 additions and 131 deletions

View File

@@ -1,2 +1 @@
DIST ammeter-1.1.3.gem 18432 SHA256 7161be2080f78b5c41dbeb92ae1f0db450634493795c6b962e68d611ce03086a SHA512 57428515435dc50e6feaf64f647c64d28ea345360e8ef324d4b6c10902658bf30685902e862e4526be105291620aa191e134a80762abbc9625062c485fb45cf0 WHIRLPOOL dad6a009244daaa646ff333fae92f18fe5a09d24cd77ecea15aa87253a72a329f7676e0b578fa009b05ea3a3493897daa55e09e668147bfeecc67df6f5c2bc23
DIST ammeter-1.1.4.gem 19968 SHA256 bc0184bf656533d807acf37267bec3c5b00ad6ad41e7927d0f062e59cfdeada2 SHA512 57d24c67be85fe34ded8feda045771974be7cdd828780a82ff0b2f6b52d0b35b48c2eb7e59dae70700fba676242918ef6463448090d7729d49db0f05f04b0131 WHIRLPOOL 1b306f4ad62fa1ee483272e5f84cd01e53c4c8f2921c815c0ca38a28e012f6128fae225063b99db08ff90d0664ac272042470871f586c8db2b316cba972fc007

View File

@@ -1,65 +0,0 @@
# 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"
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
}

View File

@@ -1,65 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
USE_RUBY="ruby20 ruby21"
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
}