diff options
author | Hans de Graaff <graaff@gentoo.org> | 2014-06-16 14:19:48 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2014-06-16 14:19:48 +0000 |
commit | e5db4460c55cc5061a605b072ddc40314e398ec6 (patch) | |
tree | 91d2f0ef197587882a784d473fc841def866cf57 /dev-ruby/bson | |
parent | Revision bump: add missing 'die' to sed calls. Call OpenRC scripts only when ... (diff) | |
download | gentoo-2-e5db4460c55cc5061a605b072ddc40314e398ec6.tar.gz gentoo-2-e5db4460c55cc5061a605b072ddc40314e398ec6.tar.bz2 gentoo-2-e5db4460c55cc5061a605b072ddc40314e398ec6.zip |
Cleanup.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/bson')
-rw-r--r-- | dev-ruby/bson/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ruby/bson/bson-2.0.0.ebuild | 69 |
2 files changed, 4 insertions, 70 deletions
diff --git a/dev-ruby/bson/ChangeLog b/dev-ruby/bson/ChangeLog index 368014c619e3..c8d0b72c33fe 100644 --- a/dev-ruby/bson/ChangeLog +++ b/dev-ruby/bson/ChangeLog @@ -1,6 +1,9 @@ # 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.11 2014/06/01 06:46:43 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bson/ChangeLog,v 1.12 2014/06/16 14:19:48 graaff Exp $ + + 16 Jun 2014; Hans de Graaff <graaff@gentoo.org> -bson-2.0.0.ebuild: + Cleanup. *bson-2.2.4 (01 Jun 2014) diff --git a/dev-ruby/bson/bson-2.0.0.ebuild b/dev-ruby/bson/bson-2.0.0.ebuild deleted file mode 100644 index bdff4a5375a8..000000000000 --- a/dev-ruby/bson/bson-2.0.0.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# 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.0.0.ebuild,v 1.2 2014/05/26 05:21:43 mrueg Exp $ - -EAPI=5 -# jruby → support needs to be written properly -USE_RUBY="ruby19 ruby20" - -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" -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) - ${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) - emake -C ext/bson V=1 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" - cp ext/bson/*$(get_modname) lib/ || die - ;; - */jruby) - die "missing in ebuild" - ;; - esac -} |