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

Contents of /dev-ruby/arel/arel-3.0.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Apr 5 06:41:38 2012 UTC (2 years, 8 months ago) by graaff
Branch: MAIN
Fix version number in gemspec.

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/arel/arel-3.0.2.ebuild,v 1.1 2012/04/01 18:09:07 graaff Exp $
4
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 versionator
16
17 DESCRIPTION="Arel is a Relational Algebra for Ruby."
18 HOMEPAGE="http://github.com/rails/arel"
19 LICENSE="MIT"
20 SLOT="$(get_version_component_range 1-2)"
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
31 all_ruby_prepare() {
32 # Put the proper version number in the gemspec.
33 sed -i -e "s/ s.version = \".*\"/ s.version = \"${PV}\"/" arel.gemspec || die
34 }

  ViewVC Help
Powered by ViewVC 1.1.20