diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-08-31 05:57:01 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-08-31 05:57:01 +0000 |
commit | 6cdd72350a85e35756fe0470366821da36afb913 (patch) | |
tree | 770a0ec44ed56d8f81621a7c6b7c43de8668eb9d /dev-ruby | |
parent | Version bump for sec bug #323777. (diff) | |
download | gentoo-2-6cdd72350a85e35756fe0470366821da36afb913.tar.gz gentoo-2-6cdd72350a85e35756fe0470366821da36afb913.tar.bz2 gentoo-2-6cdd72350a85e35756fe0470366821da36afb913.zip |
Convert to ruby-fakegem.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/gettext_rails/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/gettext_rails/gettext_rails-2.1.0-r1.ebuild | 42 |
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-ruby/gettext_rails/ChangeLog b/dev-ruby/gettext_rails/ChangeLog index 2ad77e70fc4d..edac9a382fac 100644 --- a/dev-ruby/gettext_rails/ChangeLog +++ b/dev-ruby/gettext_rails/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/gettext_rails # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gettext_rails/ChangeLog,v 1.9 2010/06/25 19:49:30 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gettext_rails/ChangeLog,v 1.10 2010/08/31 05:57:01 graaff Exp $ + +*gettext_rails-2.1.0-r1 (31 Aug 2010) + + 31 Aug 2010; Hans de Graaff <graaff@gentoo.org> + +gettext_rails-2.1.0-r1.ebuild: + Convert to ruby-fakegem. 25 Jun 2010; Hans de Graaff <graaff@gentoo.org> -gettext_rails-2.0.4.ebuild: diff --git a/dev-ruby/gettext_rails/gettext_rails-2.1.0-r1.ebuild b/dev-ruby/gettext_rails/gettext_rails-2.1.0-r1.ebuild new file mode 100644 index 000000000000..aab0944339b8 --- /dev/null +++ b/dev-ruby/gettext_rails/gettext_rails-2.1.0-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gettext_rails/gettext_rails-2.1.0-r1.ebuild,v 1.1 2010/08/31 05:57:01 graaff Exp $ + +EAPI=2 +USE_RUBY="ruby18" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="data po" + +inherit ruby-fakegem + +DESCRIPTION="An L10 library for Ruby on Rails." +HOMEPAGE="http://www.yotabanana.com/hiki/ruby-gettext-rails.html" +LICENSE="Ruby" + +KEYWORDS="~amd64 ~ppc ~x86" +SLOT="0" +IUSE="" + +# Tests are broken right now. Restrict them for now since we did not +# run them at all before. +RESTRICT="test" + +ruby_add_rdepend " + >=dev-ruby/gettext_activerecord-2.1.0 + >=dev-ruby/locale_rails-2.0.5 + >=dev-ruby/rails-2.3.2" + +all_ruby_prepare() { + # Avoid allison even when installed because it causes sandbox violations. + sed -i -e 's/`allison --path`/""/' Rakefile || die +} + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF} + doins -r sample +} |