dev-ruby/unf: cleanup

Package-Manager: portage-2.2.24
This commit is contained in:
Hans de Graaff
2016-01-02 07:39:21 +01:00
parent c15ae05fd5
commit 195c312fb2
2 changed files with 0 additions and 48 deletions

View File

@@ -1,2 +1 @@
DIST unf-0.1.3.gem 120320 SHA256 550bc894b05a85a769f0668ca162f83fddace095aa9b8c80c1e83ddb7b4558b8 SHA512 eac742e51bb32305c73c9cc5cd5c8b4ca1b6b83f2d17df134728befe2f8b9e043b3a01de35cee9cd86ea328142a02cc375d54311b551c7747c2661a0e7a6af16 WHIRLPOOL a4c921657787f37d23ad659df18153e689d9d2cd7eb2f6d54b77b1e7897196351460f2aba7c16e7b7cf93ae8bf92cc425fa1e824b4ff592bcce3d066e4384f29
DIST unf-0.1.4.gem 120320 SHA256 4999517a531f2a955750f8831941891f6158498ec9b6cb1c81ce89388e63022e SHA512 a4784afa8b852497f758d1b6cdcf095eb9e5397a36c97b1f22b53cf8077cfedbf83fdcda36f359acf59ba61f1ab8b706ddd31d097afbc98a40d2dbd0f934292b WHIRLPOOL 10528155b0377d171a040ddf47f48fc65e9fa38ab83bdc37a39f5c18c72b70414bcd109e9866996dbe82f3a35de208d0a488ce20bc9a8c959433bf52ffaacc30

View File

@@ -1,47 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
USE_RUBY="ruby19 ruby20"
RUBY_FAKEGEM_RECIPE_TEST="none"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
inherit ruby-fakegem
DESCRIPTION="A wrapper library to bring Unicode Normalization Form support to Ruby/JRuby"
HOMEPAGE="https://github.com/knu/ruby-unf"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE="test"
ruby_add_rdepend "dev-ruby/unf_ext"
ruby_add_bdepend "
test? (
>=dev-ruby/test-unit-2.5.1-r1
dev-ruby/shoulda
)"
all_ruby_prepare() {
sed -i -e '/bundler/,/end/ d' test/helper.rb || die
# Remove development dependencies; also remove platform as we don't
# care about it as it is, they only use it to avoid the unf_ext dep
# that we tackle on our own; finally remove git ls-files usage.
sed -i -e '/dependency.*\(shoulda\|bundler\|jeweler\|rcov\)/d' \
-e '/platform/d' \
-e '/git ls/d' \
${RUBY_FAKEGEM_GEMSPEC} || die
}
each_ruby_test() {
ruby-ng_testrb-2 test/test_*.rb
}