diff options
author | Naohiro Aota <naota@gentoo.org> | 2013-12-27 01:13:22 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2013-12-27 01:13:22 +0000 |
commit | 7612c51e626dc134eb630e97f6a903d6aca5c73c (patch) | |
tree | 8384ce5fb49304496c6604fd03a7ecab6e0d3074 | |
parent | Version bump, bug 496104. (diff) | |
download | gentoo-2-7612c51e626dc134eb630e97f6a903d6aca5c73c.tar.gz gentoo-2-7612c51e626dc134eb630e97f6a903d6aca5c73c.tar.bz2 gentoo-2-7612c51e626dc134eb630e97f6a903d6aca5c73c.zip |
New package: dev-ruby/json_pure
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F8551514)
-rw-r--r-- | dev-ruby/json_pure/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ruby/json_pure/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/json_pure/json_pure-1.8.1.ebuild | 41 | ||||
-rw-r--r-- | dev-ruby/json_pure/metadata.xml | 5 |
4 files changed, 54 insertions, 0 deletions
diff --git a/dev-ruby/json_pure/ChangeLog b/dev-ruby/json_pure/ChangeLog new file mode 100644 index 000000000000..328b851ece18 --- /dev/null +++ b/dev-ruby/json_pure/ChangeLog @@ -0,0 +1,5 @@ +*json_pure-1.8.1 (27 Dec 2013) + + 27 Dec 2013; Naohiro Aota <naota@gentoo.org> +json_pure-1.8.1.ebuild, + +metadata.xml: + New package: dev-ruby/json_pure diff --git a/dev-ruby/json_pure/Manifest b/dev-ruby/json_pure/Manifest new file mode 100644 index 000000000000..118693f4dbf2 --- /dev/null +++ b/dev-ruby/json_pure/Manifest @@ -0,0 +1,3 @@ +DIST json_pure-1.8.1.gem 148992 SHA256 324b3fa4223a9b8c0b915aa70cae2e5e91e25958981d428c0ee4053a4a3060ff SHA512 f635b127cf6ba4af07b8bd133696021e3f47e41b743d5a874af7481679a7031a2c3c9ae8bddbe7d84ff72c929da1302b9cf863a075fda6aeca08688d2032a282 WHIRLPOOL 907942de1d8b3324b461813252193c31f7a74e1472a2b42aababb6075236339586cbf04cd34293870197a558eae73bfe2067bbd6186a7273a2c218ef0a96bfcd +EBUILD json_pure-1.8.1.ebuild 1023 SHA256 60df6ae9d574adf516936a1f49afcda4367bdb5864511387809ccd2b344b168f SHA512 76645bebba12c96990591842b05663ca010df42f6b18c6a320c0a1aaf1fb09ff9478432c757fbdb82105ee3dfcba5513cd80fc576f9448ef23de5d9fb8ede710 WHIRLPOOL 3df04abff7d249db6ebc7404103fbffc4197f1686a50ea79c5e3a7bd6f9caf50d0de60c8e48295574cc916fed3e628d843e70bc0cd711dd01c43d03dfc39efdb +MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b diff --git a/dev-ruby/json_pure/json_pure-1.8.1.ebuild b/dev-ruby/json_pure/json_pure-1.8.1.ebuild new file mode 100644 index 000000000000..735baf3b97f6 --- /dev/null +++ b/dev-ruby/json_pure/json_pure-1.8.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json_pure/json_pure-1.8.1.ebuild,v 1.1 2013/12/27 01:13:22 naota Exp $ + +EAPI=5 + +USE_RUBY="ruby19 ruby20" +RUBY_FAKEGEM_RECIPE_TEST="rake" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit multilib ruby-fakegem + +DESCRIPTION="a JSON implementation in pure Ruby" +HOMEPAGE="http://flori.github.com/json" + +LICENSE="Ruby-BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +ruby_add_bdepend "test? ( + dev-ruby/sdoc + dev-ruby/permutation +)" + +each_ruby_configure() { + ${RUBY} -Cext/json/ext/generator extconf.rb || die + ${RUBY} -Cext/json/ext/parser extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/json/ext/generator + emake V=1 -Cext/json/ext/parser + cp ext/json/ext/generator/generator$(get_modname) lib/ || die + cp ext/json/ext/parser/parser$(get_modname) lib/ || die +} + +each_ruby_test() { + env JSON=pure ${RUBY} -S rake test_pure || die + env JSON=ext ${RUBY} -S rake test_ext || die +} diff --git a/dev-ruby/json_pure/metadata.xml b/dev-ruby/json_pure/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/json_pure/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ruby</herd> +</pkgmetadata> |