summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-12-28 12:00:42 +0000
committerHans de Graaff <graaff@gentoo.org>2011-12-28 12:00:42 +0000
commit1f47d48a00299a3d1f127a2c923d1f6e82d1e3c0 (patch)
tree8e12bfed98fdf6787382db1aaaab3a8d2bf9e896 /dev-ruby/multi_xml
parentversion bump. (diff)
downloadhistorical-1f47d48a00299a3d1f127a2c923d1f6e82d1e3c0.tar.gz
historical-1f47d48a00299a3d1f127a2c923d1f6e82d1e3c0.tar.bz2
historical-1f47d48a00299a3d1f127a2c923d1f6e82d1e3c0.zip
Version bump. Add ruby19 and fix tests for it.
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/multi_xml')
-rw-r--r--dev-ruby/multi_xml/ChangeLog8
-rw-r--r--dev-ruby/multi_xml/Manifest11
-rw-r--r--dev-ruby/multi_xml/files/multi_xml-0.4.1-ruby19.patch15
-rw-r--r--dev-ruby/multi_xml/multi_xml-0.4.1.ebuild35
4 files changed, 64 insertions, 5 deletions
diff --git a/dev-ruby/multi_xml/ChangeLog b/dev-ruby/multi_xml/ChangeLog
index e41e12f1b145..cf133025ed06 100644
--- a/dev-ruby/multi_xml/ChangeLog
+++ b/dev-ruby/multi_xml/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/multi_xml
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_xml/ChangeLog,v 1.4 2011/09/29 12:13:53 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_xml/ChangeLog,v 1.5 2011/12/28 12:00:42 graaff Exp $
+
+*multi_xml-0.4.1 (28 Dec 2011)
+
+ 28 Dec 2011; Hans de Graaff <graaff@gentoo.org> +multi_xml-0.4.1.ebuild,
+ +files/multi_xml-0.4.1-ruby19.patch:
+ Version bump. Add ruby19 and fix tests for it.
29 Sep 2011; Hans de Graaff <graaff@gentoo.org> multi_xml-0.4.0.ebuild:
Add ~x86 keyword.
diff --git a/dev-ruby/multi_xml/Manifest b/dev-ruby/multi_xml/Manifest
index 0d1e6f1d3d97..d4f58730e897 100644
--- a/dev-ruby/multi_xml/Manifest
+++ b/dev-ruby/multi_xml/Manifest
@@ -1,18 +1,21 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX multi_xml-0.4.1-ruby19.patch 590 RMD160 e0488a30001963cac14fb9c3f2bd6bcdf0560de7 SHA1 f3175f514ecfa477a7b0bc21190bf8d48393f334 SHA256 a39dfdd237d6b3f30e6f3fee75405485ab8f9715c1609f2703492a5ee3ed262c
DIST multi_xml-0.2.2.gem 13824 RMD160 f6e57d4f5ce43d5587b5a03b4ae0b1a35fd452ad SHA1 3ca6c43e6b0b2da2c7bb03df74d42ca24aa4abbe SHA256 dabe84d95aace6f1b967c5394c9750cf0a492698784fd441643ff981eb196f1a
DIST multi_xml-0.3.0.gem 13312 RMD160 62b30ed6f8bd6664b01f9abd9299a16b37e8358b SHA1 600cdba4a770a7091f68ab2894f750c3bfc7fd18 SHA256 1ddd402e010624411d7e64176f4de71d31efd31802b8a99910d13d8a486ab5f4
DIST multi_xml-0.4.0.gem 13824 RMD160 2f490c4e50bb5c2a5a6054c3a883f6917a202bf7 SHA1 e5999db893b1177a270279d48d81a73116a3911b SHA256 ac35a094bcdf839c9742727ae5937ce401c6959db8332bb1e92794f33f922d45
+DIST multi_xml-0.4.1.gem 14848 RMD160 4ae5eede922eb5f285f40f3346047b197e0d59d3 SHA1 4da6ad49b2e04a9adc4153a8a04c5b758ae95824 SHA256 ed437890b0f5e0bbd98c201f17f5a00ff321d3aebc95e621e809b892e1e23472
EBUILD multi_xml-0.2.2.ebuild 907 RMD160 2714dd21aa523df054e594d413242049883c7bfa SHA1 853928e1b8d17367062281b88e4b9015b161d3fc SHA256 052f1b63ecf80ba50e80c8f860770a8238ec804b2a315aa0c8da1288069ce310
EBUILD multi_xml-0.3.0.ebuild 869 RMD160 850ac12665fdd823bad9dcfc3e5822b7398379ab SHA1 e2e0e83a5197ae75c44b66db43b4fd9dfb221435 SHA256 fd104f384f2fb4aa29d3b6f1f75771f180bb3859396794ec7570309332b3acaa
EBUILD multi_xml-0.4.0.ebuild 874 RMD160 1e8c4b66ac2f8d86921d94c903dbb682bb7a74d8 SHA1 8997d557e229ff1f40bd0d3c33f713d3f4e2b2e9 SHA256 0b447c6a2d414ea6522c99b2912d3d9b67d8161308d7b8f44eebabca78a64e9e
-MISC ChangeLog 731 RMD160 f8d11a071f7c0f54081a80bab7adf87140a539a4 SHA1 0c82db978baf2a0415e0ea02bdd0314037d0aa19 SHA256 51253b30ed734008fc53770e4fd633a8ce3f756db4b295e0b12e33f29d05094b
+EBUILD multi_xml-0.4.1.ebuild 922 RMD160 40c95fa96885b174f6c11f0cc4ff26c7235a1adf SHA1 7d978e319281d1367254fc1eb000756f827bc88e SHA256 9e10117277fa7d7098bb9817843f9a60bd9f8e1f9cb0f8acf940fdd7c619dc36
+MISC ChangeLog 927 RMD160 455d080e1c487886be5f23f3383bcaae01ae848c SHA1 f9b591221b0968d64790319d8576cbf85426399c SHA256 f46b031b96e86b32ca50403d264538f4e43fbdc0bf1d4096a059d65670e8c4db
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk6EYQYACgkQiIP6VqMIqNdU3AD+N2NZvwxq50XvniI0X5TxhX1O
-UIZ8or5td4L+U3zKveUA+waafo+AisZQ0QWk6KBRgd9BqbWD3sHv54LETeNoAZwO
-=GpMb
+iF4EAREIAAYFAk77BPAACgkQiIP6VqMIqNdhLAD/Y3YKY8AyIsoLSLkAk2P1eVgh
+cOMP7+ZXJY2EN4oCJesA/1GLiARCOy5f5HPuW/MzvgzmTQuuySA9ifAr57X2o8GW
+=9TfN
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/multi_xml/files/multi_xml-0.4.1-ruby19.patch b/dev-ruby/multi_xml/files/multi_xml-0.4.1-ruby19.patch
new file mode 100644
index 000000000000..1a556b630176
--- /dev/null
+++ b/dev-ruby/multi_xml/files/multi_xml-0.4.1-ruby19.patch
@@ -0,0 +1,15 @@
+Ruby 1.9.3 no longer makes a long number a BigDecimal, it seems.
+
+https://github.com/sferik/multi_xml/issues/18
+
+--- spec/parser_shared_example.rb.~1~ 2011-12-28 12:54:08.770134726 +0100
++++ spec/parser_shared_example.rb 2011-12-28 12:54:55.186385918 +0100
+@@ -302,7 +302,7 @@
+ end
+
+ it "should return the correct number" do
+- MultiXml.parse(@xml)['tag'].should == 3.14159265358979323846264338327950288419716939937510
++ MultiXml.parse(@xml)['tag'].should == BigDecimal.new('3.14159265358979323846264338327950288419716939937510')
+ end
+ end
+
diff --git a/dev-ruby/multi_xml/multi_xml-0.4.1.ebuild b/dev-ruby/multi_xml/multi_xml-0.4.1.ebuild
new file mode 100644
index 000000000000..1d70eed39c0b
--- /dev/null
+++ b/dev-ruby/multi_xml/multi_xml-0.4.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_xml/multi_xml-0.4.1.ebuild,v 1.1 2011/12/28 12:00:42 graaff Exp $
+
+EAPI=4
+
+# jruby is no longer supported by upstream starting with 0.3.0
+USE_RUBY="ruby18 ree18 ruby19"
+
+RUBY_FAKEGEM_TASK_DOC="doc:yard"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_TASK_TEST="spec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A generic swappable back-end for XML parsing"
+HOMEPAGE="http://rdoc.info/gems/multi_xml"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+ruby_add_bdepend "doc? ( dev-ruby/yard )"
+ruby_add_bdepend "test? ( >=dev-ruby/rspec-2.5:2 )"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -i -e '/[Bb]undler/d' Rakefile spec/helper.rb || die
+ sed -i -e '/[Ss]imple[Cc]ov/d' spec/helper.rb || die
+
+ epatch "${FILESDIR}/${P}-ruby19.patch"
+}