summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/i18n/ChangeLog7
-rw-r--r--dev-ruby/i18n/i18n-0.3.3.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-ruby/i18n/ChangeLog b/dev-ruby/i18n/ChangeLog
index b137481a5ce5..01bf0f3846dd 100644
--- a/dev-ruby/i18n/ChangeLog
+++ b/dev-ruby/i18n/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/i18n
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/ChangeLog,v 1.1 2010/01/02 00:28:19 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/ChangeLog,v 1.2 2010/01/14 17:09:00 flameeyes Exp $
+
+*i18n-0.3.3 (14 Jan 2010)
+
+ 14 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org> +i18n-0.3.3.ebuild:
+ Version bump.
*i18n-0.3.2 (02 Jan 2010)
diff --git a/dev-ruby/i18n/i18n-0.3.3.ebuild b/dev-ruby/i18n/i18n-0.3.3.ebuild
new file mode 100644
index 000000000000..1bd485f3f23f
--- /dev/null
+++ b/dev-ruby/i18n/i18n-0.3.3.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/i18n/i18n-0.3.3.ebuild,v 1.1 2010/01/14 17:09:00 flameeyes Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_EXTRAINSTALL="vendor"
+
+# 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
+
+DESCRIPTION="Add Internationalization support to your Ruby application."
+HOMEPAGE="http://rails-i18n.org/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="!<dev-ruby/activesupport-2.3.5-r2"
+RDEPEND="${DEPEND}"
+
+# This is an optional runtime dependency, for now consider it only a
+# dependency for tests.
+ruby_add_bdepend test dev-ruby/activerecord
+
+src_prepare() {
+ ruby-ng_src_prepare
+ chmod 0755 ${WORKDIR/work/homedir} || die "Failed to fix permissions on home"
+}
+
+src_test() {
+ chmod 0755 ${WORKDIR/work/homedir} || die "Failed to fix permissions on home"
+ ruby-ng_src_test
+}