summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-12-25 07:40:42 +0000
committerHans de Graaff <graaff@gentoo.org>2013-12-25 07:40:42 +0000
commitcc729d4ecee4bf9616f0332b3375bb2f2dd52e6e (patch)
tree919cda5c93a5fe62dae38afda4c1eb2a85f68636 /dev-ruby/bson
parentCleanup. (diff)
downloadhistorical-cc729d4ecee4bf9616f0332b3375bb2f2dd52e6e.tar.gz
historical-cc729d4ecee4bf9616f0332b3375bb2f2dd52e6e.tar.bz2
historical-cc729d4ecee4bf9616f0332b3375bb2f2dd52e6e.zip
Version bump. Upstream now releases one gem with the compiled extension included.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/bson')
-rw-r--r--dev-ruby/bson/ChangeLog39
-rw-r--r--dev-ruby/bson/Manifest10
-rw-r--r--dev-ruby/bson/bson-2.0.0.ebuild69
3 files changed, 80 insertions, 38 deletions
diff --git a/dev-ruby/bson/ChangeLog b/dev-ruby/bson/ChangeLog
index f03380e4995d..f06d57276b24 100644
--- a/dev-ruby/bson/ChangeLog
+++ b/dev-ruby/bson/ChangeLog
@@ -1,39 +1,10 @@
# ChangeLog for dev-ruby/bson
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bson/ChangeLog,v 1.8 2013/12/25 07:22:06 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bson/ChangeLog,v 1.9 2013/12/25 07:40:41 graaff Exp $
- 25 Dec 2013; Hans de Graaff <graaff@gentoo.org> -bson-1.6.2.ebuild:
- Cleanup.
+*bson-2.0.0 (25 Dec 2013)
-*bson-1.6.2-r1 (17 Nov 2013)
+ 25 Dec 2013; Hans de Graaff <graaff@gentoo.org> +bson-2.0.0.ebuild:
+ Version bump. Upstream now releases one gem with the compiled extension
+ included.
- 17 Nov 2013; Manuel Rüger <mrueg@gentoo.org> +bson-1.6.2-r1.ebuild:
- Add ruby20 target.
-
- 12 May 2012; Diego E. Pettenò <flameeyes@gentoo.org> -bson-1.5.2.ebuild,
- -bson-1.6.0.ebuild, -bson-1.6.1.ebuild, bson-1.6.2.ebuild:
- Do not build doc unconditionally, restore USE=doc.
-
- 11 May 2012; Diego E. Pettenò <flameeyes@gentoo.org> bson-1.6.2.ebuild:
- Add support for ruby 1.9 (works fine).
-
-*bson-1.6.2 (05 Apr 2012)
-
- 05 Apr 2012; Diego E. Pettenò <flameeyes@gentoo.org> +bson-1.6.2.ebuild:
- Version bump.
-
-*bson-1.6.1 (08 Mar 2012)
-
- 08 Mar 2012; Diego E. Pettenò <flameeyes@gentoo.org> +bson-1.6.1.ebuild:
- Version bump.
-
-*bson-1.6.0 (22 Feb 2012)
-
- 22 Feb 2012; Diego E. Pettenò <flameeyes@gentoo.org> +bson-1.6.0.ebuild:
- Version bump.
-
-*bson-1.5.2 (28 Dec 2011)
-
- 28 Dec 2011; Diego E. Pettenò <flameeyes@gentoo.org> +bson-1.5.2.ebuild,
- +metadata.xml:
- Initial import of ebuild for bson (and bson_ext).
diff --git a/dev-ruby/bson/Manifest b/dev-ruby/bson/Manifest
index 898d7b6b13b4..a593fd05937d 100644
--- a/dev-ruby/bson/Manifest
+++ b/dev-ruby/bson/Manifest
@@ -2,13 +2,15 @@
Hash: SHA256
DIST mongo-ruby-driver-1.6.2.tar.gz 15485515 SHA256 ef6885ba66fce2df619d5543ef1699b584362fe37931e9e2121d974a67cb4a58 SHA512 ce537f2b819c072fddcb12dac66d81e9dc23a739b43211b65239d3264be9d4ac586813a18ca674abf75078639e3ee22dced8e88061e7c263b2381ea0d4e97b28 WHIRLPOOL ceb3ad9cb7b5cd1372d27a7962b60242166a37d31320e54f28c51b5f18e3a53cc08194dc2ec293c953a12a0936b1d8869f9338f4ca3a84fa09a847558acc361e
+DIST v2.0.0.tar.gz 49381 SHA256 bfeed5cd135e57a046e3e6dfb74d896850b45d0fcca6fcb6e2cfaf0c46cab2d7 SHA512 63dc5ff7332772d53ed9fb78414485f116c9d19f1227db803c982f06f829eaa7e3b6cf23906ae2743a6422ba01a442965b304bb51ebbf781510c6647b773626d WHIRLPOOL cb5e2e5bcb5cbaa4481db1904c01c7e796cf2bcfc63cbabd8b0ae2bbc0d302d676a459be37cc7cf2c59c4d1ffc5a8094ec70d2f876fb6559d3b80611e19d9971
EBUILD bson-1.6.2-r1.ebuild 3003 SHA256 338988fe47c03b9f46c943a0d2ae953fb10b908e9da51c021ea6617ca3980d18 SHA512 96e9181a13acc97aaee0c2d74391e171a3bc322e2bb3bf1ecd92d70ec4e4ab2d462068acca3f05420842877a6bcf837ead75b67e38cd64cc7016599b44e6ba03 WHIRLPOOL 1fdb479c7f4ffcb44648e02dcb3344b19af0ac39449541ae49e4b05fcc332980a161bcbe80c5281f446f29ab19b63678febd27f748f0b4c00a892d54f65cfa9f
-MISC ChangeLog 1244 SHA256 cc5dd98fd7146b437bbc8d94bc9a7e07ce12411387ab69bafbbb93591745e25c SHA512 aa8c21234784bcdf9e99647081b92c472a66a26beedb934c542cfa74bb52e3cd9d8faaa2f4c1e404f269116154bc3de4bf1e5ae7905924242348d2f2950d621c WHIRLPOOL d1fd3b301acce47988a839da4f1d8446efa4a53c7eb8ceeebfc50c88b16d3c3d6f01aa7c428cc0d00ab394baaf93d186cfdeaf430e4d2235e251eccd37dbc3bb
+EBUILD bson-2.0.0.ebuild 1594 SHA256 2874b4438016981fd42cd57133bbe448c8b0deb909ae66e55194ba423e931bb4 SHA512 b92cd0468564d404ff453ffc3cf2fc2a915261e01b1db9f8b69c1a62f51cfd8b3b909342deb0a23e8396648c08f577938402636f521569146abc422258261da9 WHIRLPOOL 7188c2578595c96987e9da95027f5d682b39e97c19150a668fa0468c56764b9aee6a44eec1665f0c84b8b37255b5c5ad212cd447921e6b844640b2dcd7af0ce4
+MISC ChangeLog 383 SHA256 29d106bca5834d434de73d860a113b85af0522c9ba4dbae4570a756e8c4603dd SHA512 337ddfe1b8b61d84574f84b80c04f3f335f3da1455760d49e960d03748cc3460dc76283993a090accf93f41cdd7a45bd71d385c55f01a38dd71d394d8ee71156 WHIRLPOOL 8ac8642b1bc45ec062be5cc4400573f0b5d181813b4796c0e82b23bd2c7e7a6a7206fb6cdbc7072750ca936e9805c523dcab0972b90345ba52a4da47ea7a6299
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iF4EAREIAAYFAlK6h58ACgkQiIP6VqMIqNeY8QD/S8Xyiy2bQ4AQy/VTHnJ4p6ZA
-8KMQZQzbxB6xUxOvXfIA/jLNdbHSj98q6JmR8aHEGepcgw3np25pNSRua5q2vAzH
-=e33b
+iF4EAREIAAYFAlK6i/oACgkQiIP6VqMIqNe86gD9Ho4AGHA3d04eK2hVGhNqBbkS
+s/aU2lqt/R2bEf6hiFcA/3beU40FRNRgDVFDS3pIym40sxYkvuFo5Bti2FArZkA8
+=ukFC
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/bson/bson-2.0.0.ebuild b/dev-ruby/bson/bson-2.0.0.ebuild
new file mode 100644
index 000000000000..41a4d9689279
--- /dev/null
+++ b/dev-ruby/bson/bson-2.0.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2013 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.1 2013/12/25 07:40:41 graaff Exp $
+
+EAPI=5
+# jruby → support needs to be written properly
+USE_RUBY="ruby18 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
+ */ruby18|*/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
+ */ruby18|*/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
+}