diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-07-20 07:25:00 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-07-20 07:25:00 +0000 |
commit | db819e90d120f045c584d262e373c70f222bcd82 (patch) | |
tree | d2a3b5e36ddfa78ec8d8719c1b9f6cf95b7ba6eb /dev-ruby/i18n | |
parent | Update license wrt #471010 (diff) | |
download | gentoo-2-db819e90d120f045c584d262e373c70f222bcd82.tar.gz gentoo-2-db819e90d120f045c584d262e373c70f222bcd82.tar.bz2 gentoo-2-db819e90d120f045c584d262e373c70f222bcd82.zip |
Cleanup.
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/i18n')
-rw-r--r-- | dev-ruby/i18n/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/i18n/i18n-0.6.0-r1.ebuild | 93 | ||||
-rw-r--r-- | dev-ruby/i18n/i18n-0.6.1.ebuild | 31 |
3 files changed, 5 insertions, 125 deletions
diff --git a/dev-ruby/i18n/ChangeLog b/dev-ruby/i18n/ChangeLog index b19135945a97..39fbe3a7b383 100644 --- a/dev-ruby/i18n/ChangeLog +++ b/dev-ruby/i18n/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/i18n # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/ChangeLog,v 1.53 2013/03/27 13:49:35 moult Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/ChangeLog,v 1.54 2013/07/20 07:25:00 graaff Exp $ + + 20 Jul 2013; Hans de Graaff <graaff@gentoo.org> -i18n-0.6.0-r1.ebuild, + -i18n-0.6.1.ebuild: + Cleanup. 27 Mar 2013; Dion Moult <moult@gentoo.org> -i18n-0.5.0-r1.ebuild: Remove dev-ruby/i18n:0.5 due to lack of upstream support diff --git a/dev-ruby/i18n/i18n-0.6.0-r1.ebuild b/dev-ruby/i18n/i18n-0.6.0-r1.ebuild deleted file mode 100644 index 9b436502e96b..000000000000 --- a/dev-ruby/i18n/i18n-0.6.0-r1.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/i18n-0.6.0-r1.ebuild,v 1.7 2013/01/16 01:08:23 zerochaos Exp $ - -EAPI=4 - -USE_RUBY="ruby18 jruby ree18 ruby19" - -# doc regeneration seem to need Jeweler, which is not currently -# available -RUBY_FAKEGEM_TASK_DOC="" - -RUBY_FAKEGEM_EXTRADOC="README.textile CHANGELOG.textile" - -inherit ruby-fakegem versionator - -DESCRIPTION="Add Internationalization support to your Ruby application." -HOMEPAGE="http://rails-i18n.org/" - -SRC_URI="http://github.com/svenfuchs/${PN}/tarball/v${PV} -> ${PN}-git-${PV}.tgz" -RUBY_S="svenfuchs-${PN}-*" - -LICENSE="MIT" -SLOT="$(get_version_component_range 1-2)" -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -DEPEND="" -RDEPEND="${DEPEND}" - -# The testsuite uses the activerecord gem to run some tests; they -# require sqlite3-ruby, and that is not available on JRuby. -#USE_RUBY="${USE_RUBY/jruby/}" \ -# ruby_add_bdepend " -# test? ( -# dev-ruby/activerecord -# dev-ruby/sqlite3 -# dev-ruby/ruby2ruby -# )" - -# mocha is optionally used by the testsuite, try to increase coverage -# of testing by depending on it. -# -# One further test dependency would be ruby-cldr -# (http://rubygems.org/gems/ruby-cldr) but we don't have it in tree -# yet. -ruby_add_bdepend " - test? ( - dev-ruby/mocha - dev-ruby/test_declarative - )" - -all_ruby_prepare() { - sed -i -e '/bundler/ s:^:#:' test/test_helper.rb || die -} - -each_ruby_prepare() { - case ${RUBY} in - *ruby19) - # Remove tests that require a UTF-8 locale. - rm test/gettext/backend_test.rb || die - - # Remove tests that contains a 1.9.3-specific failure. - # https://github.com/svenfuchs/i18n/issues/114 - rm test/i18n/load_path_test.rb || die - ;; - *) - ;; - esac -} - -src_compile() { - # permissions need to be stricter for Ruby-Inline to work properly. - chmod 0755 "${HOME}" || die "Failed to fix permissions on home" - ruby-ng_src_compile -} - -src_test() { - # permissions need to be stricter for Ruby-Inline to work properly. - chmod 0755 "${HOME}" || die "Failed to fix permissions on home" - ruby-ng_src_test -} - -each_ruby_test() { - # Make sure the optional activerecord tests are not run for jruby - # because we don't ship a compatible sqlite3 - case ${RUBY} in - *jruby) - ;; - *) - each_fakegem_test - esac -} diff --git a/dev-ruby/i18n/i18n-0.6.1.ebuild b/dev-ruby/i18n/i18n-0.6.1.ebuild deleted file mode 100644 index 1d13a6fe5bc7..000000000000 --- a/dev-ruby/i18n/i18n-0.6.1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/i18n-0.6.1.ebuild,v 1.2 2013/01/16 01:08:23 zerochaos Exp $ - -EAPI=4 - -USE_RUBY="ruby18 jruby ree18 ruby19" - -RUBY_FAKEGEM_RECIPE_TEST="test" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.textile README.textile" - -inherit ruby-fakegem - -DESCRIPTION="Add Internationalization support to your Ruby application." -HOMEPAGE="http://rails-i18n.org/" - -LICENSE="MIT" -SLOT="0.6" -KEYWORDS="~amd64 ~arm ~hppa ~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/activesupport dev-ruby/mocha dev-ruby/test_declarative )" - -each_ruby_test() { - ${RUBY} -w -Ilib -Itest test/all.rb -} - -all_ruby_prepare() { - #Bundler isn't really necessary here, and it doesn't work with jruby - sed -i -e "15s/require 'bundler\/setup'//" test/test_helper.rb || die -} |