dev-ruby/crack: cleanup

Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
Hans de Graaff
2018-01-22 21:24:32 +01:00
parent a3320994fc
commit 013e6731a5
2 changed files with 0 additions and 34 deletions
-1
View File
@@ -1,2 +1 @@
DIST crack-0.4.2.gem 37376 BLAKE2B 9bf06d5cd918ed1490be511728b67e1bd51decbcf4a13b1a79f70483867dcf0372f1e63302f731b7eaf2ebc1a605b6bd9d063267878b0abf713bb8f8f8f175b4 SHA512 0c1adfe9cbcf6c5bdabba20819c7ed7dce0a8e360695564927bab447c3d66d786bd9267066efb08732b0fc4687d9dc3ac74c650eb8cec17575926aa9a24f7723
DIST crack-0.4.3.gem 574976 BLAKE2B 4b6f23277ec17a516d06e6e6785889996172b3ec077f022d1a52ab4b8e938b2735abbaecc71288b55654ff09a428c33eb944b627cfdc827ea1f4ddc6289461d9 SHA512 c6577bd86fe2e36b2a37693729da9fc35c5d4deb860ac1873265ccb6fb38056fd76d8c17bb4f779b39f4bc13b9db37c1768433f518c17090ccbb0872a103b386
-33
View File
@@ -1,33 +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_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.md History"
inherit ruby-fakegem
DESCRIPTION="Really simple JSON and XML parsing, ripped from Merb and Rails"
HOMEPAGE="https://github.com/jnunemaker/crack"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
ruby_add_bdepend "test? ( dev-ruby/minitest )"
ruby_add_rdepend ">=dev-ruby/safe_yaml-1.0.0"
each_ruby_prepare() {
# Remove tests which fail when run by portage but pass when run by hand
sed -i -e '/{"regex": \/foo.*\/}/d' test/json_test.rb || die
sed -i -e '/{"regex": \/foo.*\/i}/d' test/json_test.rb || die
sed -i -e '/{"regex": \/foo.*\/mix}/d' test/json_test.rb || die
}
each_ruby_test() {
${RUBY} -Itest -Ilib -e 'Dir["test/*_test.rb"].each { |f| load f }' || die
}