summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-11-20 09:45:09 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-11-20 09:45:09 +0000
commit8c573a04d30165bc87c3fb050740b555e08f46f9 (patch)
tree993d1a35698e2ee0698df3961a166d82c6bbd409 /dev-ruby/crack
parentAdded 'replace-hcflags()'. Filters HCFLAGS. (diff)
downloadhistorical-8c573a04d30165bc87c3fb050740b555e08f46f9.tar.gz
historical-8c573a04d30165bc87c3fb050740b555e08f46f9.tar.bz2
historical-8c573a04d30165bc87c3fb050740b555e08f46f9.zip
Add ruby20 target.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/crack')
-rw-r--r--dev-ruby/crack/ChangeLog7
-rw-r--r--dev-ruby/crack/Manifest13
-rw-r--r--dev-ruby/crack/crack-0.3.2-r1.ebuild47
3 files changed, 55 insertions, 12 deletions
diff --git a/dev-ruby/crack/ChangeLog b/dev-ruby/crack/ChangeLog
index 1e4977a2bed8..bd013f0a9a58 100644
--- a/dev-ruby/crack/ChangeLog
+++ b/dev-ruby/crack/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/crack
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/crack/ChangeLog,v 1.32 2013/07/14 06:22:13 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/crack/ChangeLog,v 1.33 2013/11/20 09:45:05 mrueg Exp $
+
+*crack-0.3.2-r1 (20 Nov 2013)
+
+ 20 Nov 2013; Manuel Rüger <mrueg@gentoo.org> +crack-0.3.2-r1.ebuild:
+ Add ruby20 target.
14 Jul 2013; Hans de Graaff <graaff@gentoo.org> -crack-0.3.1.ebuild:
Cleanup.
diff --git a/dev-ruby/crack/Manifest b/dev-ruby/crack/Manifest
index 8034494a4f58..9356beec5129 100644
--- a/dev-ruby/crack/Manifest
+++ b/dev-ruby/crack/Manifest
@@ -1,14 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
DIST crack-0.3.2.gem 35328 SHA256 e7d4f68502e9ee41ce193589e65f47f280850f17202709c9bac9aa1266f3fe82 SHA512 dd23bcf17cd78a705fcab8dcabf87e109bf70dc22440b56483d8dd05fa0b23e72e39652bc8cef678478b04bd479f103b8ab817b3df5a636bef9f883ca1777392 WHIRLPOOL b97ecb92bc47269ac08c8630b98ad2e1792f5bca41b4b9f70b2c0fb1209afa6cf373e6c0820e7f9d4e361a69d53d37b8f294508d4df086e2bea2f866a5ca2173
+EBUILD crack-0.3.2-r1.ebuild 1378 SHA256 8d8c055f355b92cc5567dd1c805e65d8c30f7ef88ad0757fe5c2823a912d0579 SHA512 864ddeb41ed43d9c7c985f5e58e0dc8ece627f3945ec15e571cedec9d1382ffd1394e9786fc31dc711d47fdcd9a3706ba44223f556f06690eaf33dbdc9e7cb7f WHIRLPOOL 6474cb473a609b06e734c91b948932bf8dfe32091363aa2413d9da8840bcb032dc9c7f786bb1d8b983a0f2a46a8df3caea875ddf726c8e787710e7f759d7a8f2
EBUILD crack-0.3.2.ebuild 1364 SHA256 c57d125fb8c71e58280af9521a38b94496c9185683d15253222936b2b73c1ad5 SHA512 07a9efcd4cbbd3c08b5dc5fe6917ae21f83a597c7a2b4fd1736caba3c947070a5e455ff8941cd5b2af082acc55cbd7424a5b4417c7f4d265e82c6557b787b8e7 WHIRLPOOL 57b7ff8973f1711d2dc27d8e233fa833ed7b96594afc361f5f501a7e3f4d7d8b102da25b7d72cd7b4b5b2cfed98c58fbde8613647a3436c4ee5a00196270d2d1
-MISC ChangeLog 4007 SHA256 0d2c58053abfb9454c60779c1436632eda78205f1dd06c72927edcdbe06956f0 SHA512 8cc74223dd5277a6f93979d3882e126a91344d6c976101f42d6b37fe97789e4f4f7ff5d596b8ef306be48aa2dca81b044b364f21ace0cb7fbfc1efc1a2e8dad2 WHIRLPOOL a6492194988f27df3ef0cacffc3fcea59eac3ac1e0b19bdaac51b77ad8a34a811fcceb80e5137a220da6fb49a664efcaad9a0d0f326f73bf7ae3fc715061f310
+MISC ChangeLog 4131 SHA256 1d67cf85d68dfa1382dcb8e921c7ba6a0818cfbf4c61e4eb252bf9ead1a070f9 SHA512 3cf89ae108872788ff081666ea53286212c025cf1b99c1ea4a89c87050b6c0332cf8574d2659c8d239b477184c86ee5f59ba6bbdd42e6b6978b15833643bf8ef WHIRLPOOL d41cfdddd97b4e60afd81948d3287cf87a451761914896f2cf31fdc2a11308920bae75a6cfbe44c9c153076ad5ce6d8bacee12b2db6d9cad013bc05f8d7f2bc5
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
-
-iF4EAREIAAYFAlHiQ5YACgkQiIP6VqMIqNc1vQEAiR6eT6aScS15RBQrmjf4wA7S
-XOcVZ7mBeARDoj9gLIUA/3sXqXgTxtpKsNHacLC6yq17epOkdm9shpkZLW90nK1O
-=waPr
------END PGP SIGNATURE-----
diff --git a/dev-ruby/crack/crack-0.3.2-r1.ebuild b/dev-ruby/crack/crack-0.3.2-r1.ebuild
new file mode 100644
index 000000000000..ab0dc74e8f74
--- /dev/null
+++ b/dev-ruby/crack/crack-0.3.2-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/crack/crack-0.3.2-r1.ebuild,v 1.1 2013/11/20 09:45:05 mrueg Exp $
+
+EAPI=5
+
+USE_RUBY="ruby18 ruby19 ruby20 jruby"
+
+# workaround for ruby 1.9.2, sent upstream after 0.1.8
+RUBY_FAKEGEM_TASK_TEST="-Ilib test"
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.rdoc History"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Really simple JSON and XML parsing, ripped from Merb and Rails."
+HOMEPAGE="https://github.com/jnunemaker/crack"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/shoulda dev-ruby/matchy )"
+
+all_ruby_prepare() {
+ # By default this gem wants to use the fork of matchy from the
+ # same author of itself, but we don't package that (as it's
+ # neither released on gemcutter nor tagged). On the other hand it
+ # works fine with the mcmire gem that we package as
+ # dev-ruby/matchy.
+ sed -i -e 's:jnunemaker-matchy:mcmire-matchy:' test/test_helper.rb || die
+}
+
+each_ruby_prepare() {
+ case ${RUBY} in
+ *ruby19|*ruby20)
+ # Remove test suite that is broken for ruby19.
+ # Github Issues 26, 29, 32, 33.
+ rm test/json_test.rb || die
+ ;;
+ *)
+ ;;
+ esac
+}