summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2008-06-17 05:44:06 +0000
committerHans de Graaff <graaff@gentoo.org>2008-06-17 05:44:06 +0000
commit7bff8a3a55a16b9df310a2c087816815fd1e8871 (patch)
tree126442746ec23aba04ccd0dbaf5d9b9a03fc99f6 /dev-ruby/rails
parentNew version that knows about rails 2.1.x (diff)
downloadhistorical-7bff8a3a55a16b9df310a2c087816815fd1e8871.tar.gz
historical-7bff8a3a55a16b9df310a2c087816815fd1e8871.tar.bz2
historical-7bff8a3a55a16b9df310a2c087816815fd1e8871.zip
Version bump for Rails 2.1.0
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-ruby/rails')
-rw-r--r--dev-ruby/rails/ChangeLog7
-rw-r--r--dev-ruby/rails/rails-2.1.0.ebuild48
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-ruby/rails/ChangeLog b/dev-ruby/rails/ChangeLog
index 32ccbefd835d..5dfbcfa0f4ce 100644
--- a/dev-ruby/rails/ChangeLog
+++ b/dev-ruby/rails/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rails
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.106 2008/05/16 17:37:47 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.107 2008/06/17 05:44:06 graaff Exp $
+
+*rails-2.1.0 (17 Jun 2008)
+
+ 17 Jun 2008; Hans de Graaff <graaff@gentoo.org> +rails-2.1.0.ebuild:
+ Version bump for Rails 2.1.0
16 May 2008; nixnut <nixnut@gentoo.org> rails-2.0.2.ebuild:
Stable on ppc wrt bug 221309
diff --git a/dev-ruby/rails/rails-2.1.0.ebuild b/dev-ruby/rails/rails-2.1.0.ebuild
new file mode 100644
index 000000000000..cc09865ed565
--- /dev/null
+++ b/dev-ruby/rails/rails-2.1.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-2.1.0.ebuild,v 1.1 2008/06/17 05:44:06 graaff Exp $
+
+inherit ruby gems
+
+DESCRIPTION="ruby on rails is a web-application and persistance framework"
+HOMEPAGE="http://www.rubyonrails.org"
+
+LICENSE="MIT"
+SLOT="2.1"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+IUSE="fastcgi"
+DEPEND=">=dev-lang/ruby-1.8.5
+ >=app-admin/eselect-rails-0.12
+ >=dev-ruby/rake-0.7.2
+ ~dev-ruby/activerecord-2.1.0
+ ~dev-ruby/activeresource-2.1.0
+ ~dev-ruby/activesupport-2.1.0
+ ~dev-ruby/actionmailer-2.1.0
+ ~dev-ruby/actionpack-2.1.0
+ !<dev-ruby/rails-1.1.6-r1"
+
+RDEPEND="${DEPEND}
+ fastcgi? ( >=dev-ruby/ruby-fcgi-0.8.6 )"
+
+src_install() {
+ gems_src_install
+ # Rename slotted files that may clash so that eselect can handle
+ # them
+ mv "${D}/usr/bin/rails" "${D}/usr/bin/rails-${PV}"
+ mv "${D}/${GEMSDIR}/bin/rails" "${D}/${GEMSDIR}/bin/rails-${PV}"
+}
+
+pkg_postinst() {
+ einfo "To select between slots of rails, use:"
+ einfo "\teselect rails"
+ # Bring users to rails 2.1.x by default when updating
+ eselect rails update 2.1
+
+ ewarn "All database USE flags have been moved to dev-ruby/activerecord"
+}
+
+pkg_postrm() {
+ # Drop users back to rails 2.0.x when they remove 2.1.x
+ eselect rails update 2
+}