Revision bump which also installs the components of the default Rails asset pipeline...
authorHans de Graaff <graaff@gentoo.org>
Mon, 2 Jan 2012 20:15:45 +0000 (20:15 +0000)
committerHans de Graaff <graaff@gentoo.org>
Mon, 2 Jan 2012 20:15:45 +0000 (20:15 +0000)
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64

dev-ruby/rails/ChangeLog
dev-ruby/rails/Manifest
dev-ruby/rails/metadata.xml
dev-ruby/rails/rails-3.1.3-r1.ebuild [new file with mode: 0644]

index 2542309ecb5c448b50b1f14e9d4eb8f2f8f5a435..cc81db3cce6b1069d91c25e776a6d391136bee18 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for dev-ruby/rails
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.211 2011/12/31 21:46:49 grobian Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.212 2012/01/02 20:15:45 graaff Exp $
+
+*rails-3.1.3-r1 (02 Jan 2012)
+
+  02 Jan 2012; Hans de Graaff <graaff@gentoo.org> +rails-3.1.3-r1.ebuild,
+  metadata.xml:
+  Revision bump which also installs the components of the default Rails asset
+  pipeline by default.
 
   31 Dec 2011; Fabian Groffen <grobian@gentoo.org> rails-3.1.3.ebuild:
   Add Prefix keywords, bug #396547
index 1ebf6223a01ff5620bb518bff6f841b753c5e7c4..4d448f99605ad02b0ad17729262706731c18d068 100644 (file)
@@ -1,5 +1,5 @@
 -----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
 
 DIST rails-2.3.14.gem 243200 RMD160 1149c42eb67d1fb00f92313264c9ad62ee41b986 SHA1 35f63d0e26aa9771779fc0e4f9163ff4e7390f34 SHA256 d73302e2ba500ac8efef9d0397c341c0c40b055a67a5fc43503df67d1df29852
 DIST rails-3.0.10.gem 3584 RMD160 e4af2761da084faf30ea2a29874853a0d5c92143 SHA1 c3482e6a97983e0e38d295d43591acbff07569b7 SHA256 834755313f61aae189be2c288702fbb0d64897d0c69ea49899e6509eb3f6601c
@@ -8,13 +8,14 @@ DIST rails-3.1.3.gem 3584 RMD160 e8c8a24314690f73800f546f894e1a5be2f1de4c SHA1 c
 EBUILD rails-2.3.14.ebuild 1711 RMD160 1f9935bb31e1b64c112cf9d53a3c0fc6c5ba486a SHA1 e1ee52cb665ba7d435cc9d1c1f43189b6322cc00 SHA256 178be58ef22018a5b16ae4ec0df7dd3c444500af3c114a23defb62fbe40582f5
 EBUILD rails-3.0.10.ebuild 1138 RMD160 aee11709ee79fce019b23c66cff6023a852e282a SHA1 f426384dc48381035e59fb90f73ee5045f7584c2 SHA256 2bd2bfa283b92782f5dfcfd303d86a4b99711a6871859cb0a262ac781e75d847
 EBUILD rails-3.0.11.ebuild 1138 RMD160 1f72c8dea1d57c3e8d1b62c71f0d38aa19bbffeb SHA1 20f221ee9ce2b592a5fb5b6906405c36ede4cfce SHA256 f7d1ebc05fc7d7c33e80100fabae2b24578e38eccd2f4fc675793994e4fb988f
+EBUILD rails-3.1.3-r1.ebuild 1270 RMD160 7c438c4408366ec9856f50225e0540bf57a89165 SHA1 2b559ba73df2f521b789bcc78b8cc1281fce1379 SHA256 85ad160df246c6d795eb18d152ae55c0b5332ff31f09f312335dc8f4c3ca6b8e
 EBUILD rails-3.1.3.ebuild 1141 RMD160 2ed97ac8a41a75334f014477e68d92a608e029f3 SHA1 836714978f62b96052e479a99e5351d5669a8eee SHA256 f978f0db97705bffc21603048358c42b102ff68dffcace26a3be7b0c8fe0c2d9
-MISC ChangeLog 27771 RMD160 e1580f12f04bfd42e724c33fea009adf3df4fa66 SHA1 b5a3690806658fedec6669a57ce1b339b55bae25 SHA256 c74034f962142d582e1b0fa8c8d852877a788004d4a5ce63cdf4fabe6d6abff9
-MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
+MISC ChangeLog 27993 RMD160 fdf518b2264fb0054a83bae04f3a677a8bcdda8d SHA1 fbbaa230001e6868f77bb75fc0043e71bebe435c SHA256 d1a3616ba541cbb19d6e535af8f209db08845ad144b67f928c49b101c0284efa
+MISC metadata.xml 393 RMD160 a339f72fe37b0eac6949aa44388c3527e9a4292f SHA1 8acfd56b88cec635ddfc3758dedd9f050e0acbe0 SHA256 ab0c7d6f591fe1803349f791b02e9be652e39232117c98f1b173c7ffb0854dee
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (Darwin)
+Version: GnuPG v2.0.17 (GNU/Linux)
 
-iEYEARECAAYFAk7/gs8ACgkQX3X2B8XHTokjUQCeJstquFQgb5UhiAadrLIWoSMQ
-/UUAoIsBsrKrwV6PLf2CskI7h9cDBVSu
-=mEJg
+iF4EAREIAAYFAk8CEHcACgkQiIP6VqMIqNd0ZQEAjylcIMANvl0ZKpdvOQuSHgAZ
+RCLgzuyZn9CHxPCotWwA/i3iSfUqV1NFQ01nwzHdecxm4X1dzMH+qNh7zJTAGdjg
+=czfc
 -----END PGP SIGNATURE-----
index 852136183369e830f0829a821697c00a64a50a45..c021e57a32b71512fcd1a787f32e1e5ea4f7c7e2 100644 (file)
@@ -1,5 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>ruby</herd>
+  <herd>ruby</herd>
+  <use>
+    <flag name="asset-pipeline">
+      Also install the default components for the asset pipeline.
+      These are not required but they are activated automatically
+      in new Rails projects by default.
+    </flag>
+  </use>
 </pkgmetadata>
diff --git a/dev-ruby/rails/rails-3.1.3-r1.ebuild b/dev-ruby/rails/rails-3.1.3-r1.ebuild
new file mode 100644 (file)
index 0000000..80c9871
--- /dev/null
@@ -0,0 +1,56 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-3.1.3-r1.ebuild,v 1.1 2012/01/02 20:15:45 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="ruby on rails is a web-application and persistance framework"
+HOMEPAGE="http://www.rubyonrails.org"
+
+LICENSE="MIT"
+SLOT="3.1"
+KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+IUSE="+asset-pipeline"
+
+RDEPEND=">=app-admin/eselect-rails-0.18"
+
+ruby_add_rdepend "
+       ~dev-ruby/actionmailer-${PV}
+       ~dev-ruby/actionpack-${PV}
+       ~dev-ruby/activerecord-${PV}
+       ~dev-ruby/activeresource-${PV}
+       ~dev-ruby/activesupport-${PV}
+       =dev-ruby/bundler-1*
+       ~dev-ruby/railties-${PV}
+       asset-pipeline? (
+               dev-ruby/jquery-rails
+               dev-ruby/sass-rails
+               dev-ruby/uglifier
+               dev-ruby/coffee-rails
+       )"
+
+all_ruby_install() {
+       all_fakegem_install
+
+       ruby_fakegem_binwrapper rails rails-${PV}
+}
+
+pkg_postinst() {
+       elog "To select between slots of rails, use:"
+       elog "\teselect rails"
+
+       eselect rails update
+}
+
+pkg_postrm() {
+       eselect rails update
+}