/[gentoo-x86]/dev-ruby/mongo/mongo-1.6.2.ebuild
Gentoo

Contents of /dev-ruby/mongo/mongo-1.6.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri May 11 04:13:02 2012 UTC (12 months, 1 week ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Add support for ruby 1.9 (works fine).

(Portage version: 2.2.0_alpha103/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/mongo/mongo-1.6.2.ebuild,v 1.1 2012/04/05 19:40:37 flameeyes Exp $
4
5 EAPI=4
6
7 USE_RUBY="ruby18 ree18 ruby19"
8
9 RUBY_FAKEGEM_TASK_TEST="test:unit"
10
11 RUBY_FAKEGEM_TASK_DOC="rdoc"
12 RUBY_FAKEGEM_DOCDIR="html"
13 RUBY_FAKEGEM_EXTRADOC=""
14
15 RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
16
17 GITHUB_USER="mongodb"
18 GITHUB_PROJECT="mongo-ruby-driver"
19 RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*"
20
21 inherit ruby-fakegem
22
23 DESCRIPTION="A Ruby driver for MongoDB."
24 HOMEPAGE="http://www.mongodb.org/"
25 SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/${PV} -> ${GITHUB_PROJECT}-${PV}.tar.gz"
26
27 LICENSE="APSL-2"
28 SLOT="0"
29 KEYWORDS="~amd64"
30 IUSE="test"
31
32 # This is the same source package as bson, so keep them the same
33 # version, but not revision
34 ruby_add_rdepend "~dev-ruby/bson-${PV}"
35
36 ruby_add_bdepend \
37 "test? (
38 dev-ruby/rake
39 dev-ruby/shoulda
40 dev-ruby/mocha
41 )"
42
43 all_ruby_prepare() {
44 # remove the stuff that is actually part of dev-ruby/bson
45 rm -rf lib/bson* bin/{b2j,j2b}son
46 }

  ViewVC Help
Powered by ViewVC 1.1.13