diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-04-08 09:03:14 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-04-08 09:03:14 +0000 |
commit | 2f9f94dc8126a2479675d89bd06c73f6a0437ac8 (patch) | |
tree | e07bb51c9d739863a1b5e1a3603718d32db2cee0 /dev-ruby/json | |
parent | Version bump. Add python USE flag. (diff) | |
download | historical-2f9f94dc8126a2479675d89bd06c73f6a0437ac8.tar.gz historical-2f9f94dc8126a2479675d89bd06c73f6a0437ac8.tar.bz2 historical-2f9f94dc8126a2479675d89bd06c73f6a0437ac8.zip |
Version bump.
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/json')
-rw-r--r-- | dev-ruby/json/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/json/Manifest | 14 | ||||
-rw-r--r-- | dev-ruby/json/json-1.6.6.ebuild | 65 |
3 files changed, 84 insertions, 2 deletions
diff --git a/dev-ruby/json/ChangeLog b/dev-ruby/json/ChangeLog index 043f4737433b..c805ae770981 100644 --- a/dev-ruby/json/ChangeLog +++ b/dev-ruby/json/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/json # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json/ChangeLog,v 1.82 2012/03/08 23:01:12 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json/ChangeLog,v 1.83 2012/04/08 09:03:14 graaff Exp $ + +*json-1.6.6 (08 Apr 2012) + + 08 Apr 2012; Hans de Graaff <graaff@gentoo.org> +json-1.6.6.ebuild: + Version bump. 08 Mar 2012; Brent Baude <ranger@gentoo.org> json-1.5.4.ebuild: Marking json-1.5.4 ppc64 for bug 398947 diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index a76049a83c04..e80aa6f6652d 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,10 +1,22 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST json-1.4.6.gem 398848 RMD160 bd5736e685d347e774d1a8800f60a8a21f59da2d SHA1 a50accee91805a57eb5f4613073edeb422043c57 SHA256 d3241a141c6da5963e59bf75a91d832d13e7ec6793b8e48465395216a1e17ec5 DIST json-1.5.4.gem 678912 RMD160 c1fc66f466efbeedf2cd741fb3b9b9d2da6b9281 SHA1 f67c848af3014c986017baf1ffe07cc855a16f48 SHA256 3acf6c344e5f9089b6e4d675d18384bb61a36c81d038ce9a65906987711c789e DIST json-1.6.3.gem 658432 RMD160 5e2ed6979de262aecdd3f61209e71d4efad9856c SHA1 72e2d149113b35dc538e035d8b12108e5aa53502 SHA256 15211258766f8a8186601a8af6b3a019949c443bec101f2c602583454036942d DIST json-1.6.4.gem 424960 RMD160 92357b234a2442c824cf00bcf0b479fa1093aafe SHA1 9e877a0fd8118d4195d06dcec7624ae2bc70e509 SHA256 340df772d3b50d6e19b6f085bca392b661f882b8cae32f5aa564a77f3c51b3a9 +DIST json-1.6.6.gem 144384 RMD160 19e3fda6f4d013de50ef5075dc2b96b144fce8bc SHA1 7a69bf53acd187a354928fde83a01eb97ada441c SHA256 6d6d0b623a1598da90fa24e73e7cdbf4e4f6dd6b0aa24518b2d57e387291463c EBUILD json-1.4.6.ebuild 1721 RMD160 412cb6fca8466187ae5dd5415e82145f37be1624 SHA1 52226fc2cd6ccbc7d17d9b8753a03067be54b788 SHA256 2dd071cd2b66f6094f6319efca9d84ea01ca4fc0d3855138db4b7631232634b9 EBUILD json-1.5.4.ebuild 1882 RMD160 67d69cb1aebf6f2301d2523fa4c17d9dcd16b8fb SHA1 813e56ace4afdbf22797b4b754c3b8aaa12148c2 SHA256 7d30ea4d1ddc3b04c248752a50c68080152c2c971352286689bcea02601d49a5 EBUILD json-1.6.3.ebuild 2049 RMD160 7b168bc3bae6b45ffa97f9ec661e250fccb14fd7 SHA1 28437e28d950ac12725f346e4a85e5ce967051ef SHA256 3e2f8b982b01067c44239d669afa76dd4831bef469b3989ec8c0ed6846be04d6 EBUILD json-1.6.4.ebuild 2051 RMD160 f6d2e53685a9dcedb90289fc6720784c2206a8f3 SHA1 36167ae91b501dbe850cbd622cef59a8ef3da5d5 SHA256 f3dab7c4c23ec9f5f568c66d9d16d8cb128d3cdbb189ac169577f8c43f7baa93 -MISC ChangeLog 10864 RMD160 80966d0a65561769066142f6494bdccab9c41091 SHA1 cfee07179681c70de5cabb55a3ea9715bc7eea4c SHA256 e9b8844a57957c13dedb9323c9f2ca44c0de10a4768aa80208e4f3610bfc2943 +EBUILD json-1.6.6.ebuild 1995 RMD160 b79149deba5ae860b1354d49facda615663ce8bf SHA1 469a7040b91094c3fc1f3c345ed633f8a87ef622 SHA256 79ae4642feb123e9356051c1e640a0e2dfef44b3302bfefe7a6f81a9bd404422 +MISC ChangeLog 10978 RMD160 a866be6db9f2a3b583de3b588d50c8d8a56ff377 SHA1 8ea6d728d6b8323cb408161e7a0518f3454f3675 SHA256 ed21c3928bde6c3470345229abdd238877613c0abbdbd490dc4bbda69dde67c2 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iF4EAREIAAYFAk+BVFcACgkQiIP6VqMIqNdpvgD+Iwjxw4G7GHmiziB5984+T/9s +ary0nelRfVkZFGQqzUAA/Rg+3Oq08DSeU60stY6dq4aaJnZHta0SMMM0YkJiT7iH +=k1EE +-----END PGP SIGNATURE----- diff --git a/dev-ruby/json/json-1.6.6.ebuild b/dev-ruby/json/json-1.6.6.ebuild new file mode 100644 index 000000000000..d55448457de8 --- /dev/null +++ b/dev-ruby/json/json-1.6.6.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json/json-1.6.6.ebuild,v 1.1 2012/04/08 09:03:14 graaff Exp $ + +EAPI=2 +USE_RUBY="ruby18 ree18 ruby19 jruby" + +RUBY_FAKEGEM_TASK_DOC="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES TODO README.rdoc README-json-jruby.markdown" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="json.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="A JSON implementation as a Ruby extension." +HOMEPAGE="http://json.rubyforge.org/" +LICENSE="|| ( Ruby GPL-2 )" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +RDEPEND="${RDEPEND}" +DEPEND="${DEPEND} + dev-util/ragel" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + # Avoid building the extension twice! + # And use rdoc instead of sdoc which we don't have packaged + # And don't call git to list files. We're using the pregenerated spec anyway. + sed -i \ + -e 's| => :compile||' \ + -e 's| => :clean||' \ + -e 's|sdoc|rdoc|' \ + -e 's|`git ls-files`|""|' \ + Rakefile || die "rakefile fix failed" +} + +each_ruby_compile() { + # Since 1.5.0 a Java extension is provided but it does not compile. + if [[ $(basename ${RUBY}) != "jruby" ]]; then + ${RUBY} -S rake compile || die "extension compile failed" + fi +} + +each_ruby_test() { + JSON=pure \ + ${RUBY} -Iext:lib -S testrb tests/test_*.rb || die "pure ruby tests failed" + + if [[ $(basename ${RUBY}) != "jruby" ]]; then + JSON=ext \ + ${RUBY} -Iext:lib -S testrb tests/test_*.rb || die "ext ruby tests failed" + fi +} + +each_ruby_install() { + each_fakegem_install + if [[ $(basename ${RUBY}) != "jruby" ]]; then + ruby_fakegem_newins ext/json/ext/generator$(get_modname) lib/json/ext/generator$(get_modname) + ruby_fakegem_newins ext/json/ext/parser$(get_modname) lib/json/ext/parser$(get_modname) + fi +} |