graaff      14/06/16 14:22:16

  Modified:             ChangeLog
  Added:                bson-2.3.0.ebuild
  Removed:              bson-2.2.4.ebuild
  Log:
  Version bump with fixed SRC_URI. Remove old version with SRC_URI without 
arrow.
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
0x8883FA56A308A8D7!)

Revision  Changes    Path
1.13                 dev-ruby/bson/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bson/ChangeLog?rev=1.13&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bson/ChangeLog?rev=1.13&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bson/ChangeLog?r1=1.12&r2=1.13

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/bson/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ChangeLog   16 Jun 2014 14:19:48 -0000      1.12
+++ ChangeLog   16 Jun 2014 14:22:16 -0000      1.13
@@ -1,6 +1,13 @@
 # ChangeLog for dev-ruby/bson
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bson/ChangeLog,v 1.12 2014/06/16 
14:19:48 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bson/ChangeLog,v 1.13 2014/06/16 
14:22:16 graaff Exp $
+
+*bson-2.3.0 (16 Jun 2014)
+
+  16 Jun 2014; Hans de Graaff <gra...@gentoo.org> -bson-2.2.4.ebuild,
+  +bson-2.3.0.ebuild:
+  Version bump with fixed SRC_URI. Remove old version with SRC_URI without
+  arrow.
 
   16 Jun 2014; Hans de Graaff <gra...@gentoo.org> -bson-2.0.0.ebuild:
   Cleanup.



1.1                  dev-ruby/bson/bson-2.3.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bson/bson-2.3.0.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bson/bson-2.3.0.ebuild?rev=1.1&content-type=text/plain

Index: bson-2.3.0.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bson/bson-2.3.0.ebuild,v 1.1 
2014/06/16 14:22:16 graaff Exp $

EAPI=5
# jruby → support needs to be written properly
USE_RUBY="ruby19 ruby20 ruby21"

RUBY_FAKEGEM_RECIPE_TEST="rspec"

RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"

RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"

GITHUB_USER="mongodb"
GITHUB_PROJECT="bson-ruby"

inherit multilib ruby-fakegem

DESCRIPTION="A Ruby BSON implementation for MongoDB. (Includes binary C-based 
extension.)"
HOMEPAGE="http://www.mongodb.org/";
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
RUBY_S="bson-ruby-${PV}"

LICENSE="APSL-2"
SLOT="2"
KEYWORDS="~amd64"
IUSE="test doc"

ruby_add_bdepend \
        "test? (
                dev-ruby/rake
                dev-ruby/shoulda
                dev-ruby/mocha
                dev-ruby/test-unit:2
        )
        doc? ( virtual/ruby-rdoc )"

all_ruby_prepare() {
        # Remove bundler support
        sed -i -e '/bundler/I s:^:#:' Rakefile || die

        # Remove project-specific rspec options
        rm .rspec || die
}

each_ruby_configure() {
        case ${RUBY} in
                */ruby19|*/ruby20|*/ruby21)
                        ${RUBY} -C ext/bson extconf.rb || die "extconf.rb 
failed"
                        ;;
                */jruby)
                        ${RUBY} -S rake build:java || die "rake build:java 
failed"
                        ;;
        esac
}

each_ruby_compile() {
        case ${RUBY} in
                */ruby19|*/ruby20|*/ruby21)
                        emake -C ext/bson V=1 CFLAGS="${CFLAGS} -fPIC" 
archflag="${LDFLAGS}"
                        cp ext/bson/*$(get_modname) lib/ || die
                        ;;
                */jruby)
                        die "missing in ebuild"
                        ;;
        esac
}




Reply via email to