/[gentoo-x86]/dev-ruby/arel/arel-2.2.3.ebuild
Gentoo

Contents of /dev-ruby/arel/arel-2.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Apr 4 11:21:09 2012 UTC (2 years, 3 months ago) by graaff
Branch: MAIN
Changes since 1.1: +6 -1 lines
Fix version number in gemspec.

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 graaff 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 graaff 1.2 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/arel/arel-2.2.3.ebuild,v 1.1 2012/04/04 11:12:58 graaff Exp $
4 graaff 1.1
5     EAPI="2"
6     USE_RUBY="ruby18 ruby19 ree18 jruby"
7    
8     RUBY_FAKEGEM_TASK_DOC="docs"
9     RUBY_FAKEGEM_DOCDIR="doc"
10     RUBY_FAKEGEM_EXTRADOC="History.txt README.markdown"
11    
12     # Generating the gemspec from metadata causes a crash in jruby
13     RUBY_FAKEGEM_GEMSPEC="arel.gemspec"
14    
15     inherit ruby-fakegem
16    
17     DESCRIPTION="Arel is a Relational Algebra for Ruby."
18     HOMEPAGE="http://github.com/rails/arel"
19     LICENSE="MIT"
20     SLOT="2.1"
21     KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
22     IUSE=""
23    
24     ruby_add_bdepend "
25     doc? ( >=dev-ruby/hoe-2.10 )
26     test? (
27     >=dev-ruby/hoe-2.10
28     virtual/ruby-minitest
29     )"
30 graaff 1.2
31     all_ruby_prepare() {
32     # Put the proper version number in the gemspec.
33     sed -i -e 's/2.2.3.20120221150435/2.2.3/' arel.gemspec || die
34     }

  ViewVC Help
Powered by ViewVC 1.1.20