diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-12-21 10:38:28 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-12-21 10:38:28 +0000 |
commit | 6ac4508420365ec725e4d06f3ef54e5b2035bb3f (patch) | |
tree | 1790b9094085a1551907d93b1152d8df705e9eda /dev-ruby/actionwebservice | |
parent | Bump EAPI as well. (diff) | |
download | gentoo-2-6ac4508420365ec725e4d06f3ef54e5b2035bb3f.tar.gz gentoo-2-6ac4508420365ec725e4d06f3ef54e5b2035bb3f.tar.bz2 gentoo-2-6ac4508420365ec725e4d06f3ef54e5b2035bb3f.zip |
Bump EAPI and fix gem specification to accept more than just 2.3.5 versions of Rails gems (in the 2.3 slot).
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/actionwebservice')
-rw-r--r-- | dev-ruby/actionwebservice/ChangeLog | 11 | ||||
-rw-r--r-- | dev-ruby/actionwebservice/actionwebservice-2.3.5-r1.ebuild (renamed from dev-ruby/actionwebservice/actionwebservice-2.3.5.ebuild) | 17 |
2 files changed, 19 insertions, 9 deletions
diff --git a/dev-ruby/actionwebservice/ChangeLog b/dev-ruby/actionwebservice/ChangeLog index 79263003940b..1486c489eaed 100644 --- a/dev-ruby/actionwebservice/ChangeLog +++ b/dev-ruby/actionwebservice/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-ruby/actionwebservice -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionwebservice/ChangeLog,v 1.78 2010/06/12 19:06:56 graaff Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionwebservice/ChangeLog,v 1.79 2011/12/21 10:38:28 flameeyes Exp $ + +*actionwebservice-2.3.5-r1 (21 Dec 2011) + + 21 Dec 2011; Diego E. Pettenò <flameeyes@gentoo.org> + +actionwebservice-2.3.5-r1.ebuild, -actionwebservice-2.3.5.ebuild: + Bump EAPI and fix gem specification to accept more than just 2.3.5 versions of + Rails gems (in the 2.3 slot). 12 Jun 2010; Hans de Graaff <graaff@gentoo.org> -actionwebservice-2.3.2.ebuild, -actionwebservice-2.3.3.ebuild, diff --git a/dev-ruby/actionwebservice/actionwebservice-2.3.5.ebuild b/dev-ruby/actionwebservice/actionwebservice-2.3.5-r1.ebuild index 5e8312aafa89..a57e1cec5006 100644 --- a/dev-ruby/actionwebservice/actionwebservice-2.3.5.ebuild +++ b/dev-ruby/actionwebservice/actionwebservice-2.3.5-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionwebservice/actionwebservice-2.3.5.ebuild,v 1.2 2010/06/12 19:05:41 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionwebservice/actionwebservice-2.3.5-r1.ebuild,v 1.1 2011/12/21 10:38:28 flameeyes Exp $ -EAPI=2 +EAPI=4 USE_RUBY="ruby18" MY_OWNER="panztel" @@ -24,16 +24,19 @@ SLOT="2.3" KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" -ruby_add_rdepend "=dev-ruby/actionpack-2.3* - =dev-ruby/activerecord-2.3*" +ruby_add_rdepend ">=dev-ruby/actionpack-2.3.5:2.3 + >=dev-ruby/activerecord-2.3.5:2.3" # it uses activerecord when running tests, but they don't work so # ignore them for now. #ruby_add_bdepend test 'dev-ruby/sqlite3-ruby' RESTRICT=test -each_ruby_install() { - each_fakegem_install +all_ruby_prepare() { + # fix dependencies so that instead of requiring _exactly_ versions + # 2.3.5 of Rails gems, it requires the 2.3 slot as we do above. + sed -i -e 's:"=":"~>":' \ + ../metadata || die } all_ruby_install() { |