diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2007-09-01 05:35:18 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2007-09-01 05:35:18 +0000 |
commit | e7982ca765639ceb216b24824765e5a731e62383 (patch) | |
tree | 17ddb8fe456034db6408783bf51a26ba9170051a /dev-ruby | |
parent | Updated chappa-all patchset. (diff) | |
download | gentoo-2-e7982ca765639ceb216b24824765e5a731e62383.tar.gz gentoo-2-e7982ca765639ceb216b24824765e5a731e62383.tar.bz2 gentoo-2-e7982ca765639ceb216b24824765e5a731e62383.zip |
Revision bumps for both slots. No longer installs /usr/bin/rails. Instead, uses app-admin/eselect-rails to manage the symlink.
(Portage version: 2.1.3.7)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rails/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/rails/files/digest-rails-1.1.6-r2 | 3 | ||||
-rw-r--r-- | dev-ruby/rails/files/digest-rails-1.2.3-r1 | 3 | ||||
-rw-r--r-- | dev-ruby/rails/rails-1.1.6-r2.ebuild | 49 | ||||
-rw-r--r-- | dev-ruby/rails/rails-1.2.3-r1.ebuild | 49 |
5 files changed, 113 insertions, 1 deletions
diff --git a/dev-ruby/rails/ChangeLog b/dev-ruby/rails/ChangeLog index 9ada5a40d49e..9d22151ee08a 100644 --- a/dev-ruby/rails/ChangeLog +++ b/dev-ruby/rails/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-ruby/rails # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.73 2007/03/14 14:49:26 rbrown Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.74 2007/09/01 05:35:18 nichoj Exp $ + +*rails-1.2.3-r1 (01 Sep 2007) +*rails-1.1.6-r2 (01 Sep 2007) + + 01 Sep 2007; Joshua Nichols <nichoj@gentoo.org> +rails-1.1.6-r2.ebuild, + +rails-1.2.3-r1.ebuild: + Revision bumps for both slots. No longer installs /usr/bin/rails. Instead, + uses app-admin/eselect-rails to manage the symlink. 14 Mar 2007; Richard Brown <rbrown@gentoo.org> rails-1.2.3.ebuild: Fix rails-1.2.3 rake dependency diff --git a/dev-ruby/rails/files/digest-rails-1.1.6-r2 b/dev-ruby/rails/files/digest-rails-1.1.6-r2 new file mode 100644 index 000000000000..cdc394aac2ce --- /dev/null +++ b/dev-ruby/rails/files/digest-rails-1.1.6-r2 @@ -0,0 +1,3 @@ +MD5 dee64ab90efedbbe900944fac754d72d rails-1.1.6.gem 144896 +RMD160 f7460a881eeb8f8c2cbc6a31e99127d1cb867871 rails-1.1.6.gem 144896 +SHA256 f78cc3dfe77ceaa3cdd808735dcb81c8d3bdbd8e4d6b72ecc3a1b7fc19f1bd49 rails-1.1.6.gem 144896 diff --git a/dev-ruby/rails/files/digest-rails-1.2.3-r1 b/dev-ruby/rails/files/digest-rails-1.2.3-r1 new file mode 100644 index 000000000000..461eb4bb5612 --- /dev/null +++ b/dev-ruby/rails/files/digest-rails-1.2.3-r1 @@ -0,0 +1,3 @@ +MD5 73ddfb89852c4b4ee749a3842d9d8f91 rails-1.2.3.gem 168448 +RMD160 4a2e95cdbee45b331205a7f5c1f1c278cc6ffdd0 rails-1.2.3.gem 168448 +SHA256 dcf51cc3bbf8ba79e998239d2bce66059d2be101210580e194b7af36b7d5319a rails-1.2.3.gem 168448 diff --git a/dev-ruby/rails/rails-1.1.6-r2.ebuild b/dev-ruby/rails/rails-1.1.6-r2.ebuild new file mode 100644 index 000000000000..07015461b669 --- /dev/null +++ b/dev-ruby/rails/rails-1.1.6-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-1.1.6-r2.ebuild,v 1.1 2007/09/01 05:35:18 nichoj Exp $ + +inherit ruby gems + +USE_RUBY="ruby18" +DESCRIPTION="ruby on rails is a web-application and persistance framework" +HOMEPAGE="http://www.rubyonrails.org" +# The URL depends implicitly on the version, unfortunately. Even if you +# change the filename on the end, it still downloads the same file. +SRC_URI="http://gems.rubyforge.org/gems/${P}.gem" + +LICENSE="MIT" +SLOT="1.1" +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" + +IUSE="mysql sqlite sqlite3 postgres fastcgi" +DEPEND=">=dev-lang/ruby-1.8.2 + >=dev-ruby/rake-0.7.1 + =dev-ruby/activerecord-1.14.4 + =dev-ruby/actionmailer-1.2.5 + =dev-ruby/actionwebservice-1.1.6 + fastcgi? ( >=dev-ruby/ruby-fcgi-0.8.6 ) + sqlite? ( >=dev-ruby/sqlite-ruby-2.2.2 ) + sqlite3? ( dev-ruby/sqlite3-ruby ) + mysql? ( >=dev-ruby/mysql-ruby-2.7 ) + postgres? ( >=dev-ruby/ruby-postgres-0.7.1 )" +PDEPEND="app-admin/eselect-rails" + +src_install() { + gems_src_install + cd ${D}/${GEMSDIR}/gems/${P} + epatch ${FILESDIR}/1.1.6-deprecate-old-lighttpd.patch + + # 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" + eselect rails update ${SLOT} +} + +pkg_postrm() { + eselect rails update ${SLOT} +} diff --git a/dev-ruby/rails/rails-1.2.3-r1.ebuild b/dev-ruby/rails/rails-1.2.3-r1.ebuild new file mode 100644 index 000000000000..e669beb3a347 --- /dev/null +++ b/dev-ruby/rails/rails-1.2.3-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-1.2.3-r1.ebuild,v 1.1 2007/09/01 05:35:18 nichoj Exp $ + +inherit ruby gems + +USE_RUBY="ruby18" +DESCRIPTION="ruby on rails is a web-application and persistance framework" +HOMEPAGE="http://www.rubyonrails.org" +SRC_URI="http://gems.rubyonrails.org/gems/${P}.gem" + +LICENSE="MIT" +SLOT="1.2" +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" + +IUSE="mysql sqlite sqlite3 postgres fastcgi" +DEPEND=">=dev-lang/ruby-1.8.5 + >=dev-ruby/rake-0.7.2 + =dev-ruby/activerecord-1.15.3 + =dev-ruby/actionmailer-1.3.3 + =dev-ruby/actionwebservice-1.2.3 + =dev-ruby/activesupport-1.4.2 + =dev-ruby/actionpack-1.13.3" +PDEPEND="app-admin/eselect-rails" + +RDEPEND="${DEPEND} + fastcgi? ( >=dev-ruby/ruby-fcgi-0.8.6 ) + sqlite? ( >=dev-ruby/sqlite-ruby-2.2.2 ) + sqlite3? ( dev-ruby/sqlite3-ruby ) + mysql? ( >=dev-ruby/mysql-ruby-2.7 ) + postgres? ( >=dev-ruby/ruby-postgres-0.7.1 )" + +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" + eselect rails update --if-unset +} + +pkg_postrm() { + eselect rails update --if-unset +} |