summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-07-08 19:22:33 +0000
committerHans de Graaff <graaff@gentoo.org>2010-07-08 19:22:33 +0000
commitf893988479bb49f1dc09f1ac9e1b6706d3356cab (patch)
treec53444fb409cae55df344dadc751398fee45418e /dev-ruby/simple-rss
parentsparc stable wrt #319961 (diff)
downloadhistorical-f893988479bb49f1dc09f1ac9e1b6706d3356cab.tar.gz
historical-f893988479bb49f1dc09f1ac9e1b6706d3356cab.tar.bz2
historical-f893988479bb49f1dc09f1ac9e1b6706d3356cab.zip
Version bump.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/simple-rss')
-rw-r--r--dev-ruby/simple-rss/ChangeLog8
-rw-r--r--dev-ruby/simple-rss/Manifest13
-rw-r--r--dev-ruby/simple-rss/files/simple-rss-1.2.3-no-media-rss.patch49
-rw-r--r--dev-ruby/simple-rss/simple-rss-1.2.3.ebuild25
4 files changed, 89 insertions, 6 deletions
diff --git a/dev-ruby/simple-rss/ChangeLog b/dev-ruby/simple-rss/ChangeLog
index 05d5154998dd..56be5d88e106 100644
--- a/dev-ruby/simple-rss/ChangeLog
+++ b/dev-ruby/simple-rss/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/simple-rss
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/simple-rss/ChangeLog,v 1.3 2010/05/22 15:57:48 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/simple-rss/ChangeLog,v 1.4 2010/07/08 19:22:33 graaff Exp $
+
+*simple-rss-1.2.3 (08 Jul 2010)
+
+ 08 Jul 2010; Hans de Graaff <graaff@gentoo.org> +simple-rss-1.2.3.ebuild,
+ +files/simple-rss-1.2.3-no-media-rss.patch:
+ Version bump.
22 May 2010; Diego E. Pettenò <flameeyes@gentoo.org>
simple-rss-1.2.2-r1.ebuild:
diff --git a/dev-ruby/simple-rss/Manifest b/dev-ruby/simple-rss/Manifest
index 47c0a706dbdd..03d7bb937fdc 100644
--- a/dev-ruby/simple-rss/Manifest
+++ b/dev-ruby/simple-rss/Manifest
@@ -1,15 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
+AUX simple-rss-1.2.3-no-media-rss.patch 2432 RMD160 4d07e1916696e745a1ca480eabda48e678c6848d SHA1 71c4cd413a054a57a8898c34214cf622752196ae SHA256 21218720f613066b3edbf021b0e4be81a87344b7660ac0278bca2187b63fed32
DIST simple-rss-1.2.2.gem 31744 RMD160 8936fdb510a6610767e81ca7677aaf45df13a532 SHA1 29d9a6fd4b0ffb9a7446f86a097ea4e14d9f926d SHA256 f47184081e8c3e7752e156094e4736800330bcb1a5aa0c0d1f927c74199c40d3
+DIST simple-rss-1.2.3.gem 32256 RMD160 fe0fb3cd8f08e96e97ef6454876ebb7a8177d0f7 SHA1 f117531a9f996a84aaf52cf88f4a77deabaaf86f SHA256 dc0673e66692099f9a106d2a78f8d7aabb4636f0456124dad67e0300179eb3af
EBUILD simple-rss-1.2.2-r1.ebuild 624 RMD160 5248f0174198ff6aa387e6f8c805cade104f8ea5 SHA1 f819d5039f99e7f84f21d5ee7f6284a5a66097bc SHA256 0a8b7a6fd6f0b7f25c473ef68b2393ea8dd35b45c57de0d49567a64e950d69ec
EBUILD simple-rss-1.2.2.ebuild 516 RMD160 2c7f3f03369425c0ac56aa6e282cf35a88feaadc SHA1 8e5026fc923efcd3ff2b163e03148d5858997f07 SHA256 647b2696181474837b04c3aba80dd1d4c5a7e8c61cb8f43d9351cf74b33a77e1
-MISC ChangeLog 644 RMD160 f768775fb4b0f19e4648c64e4082709689b37363 SHA1 7d734ab0eb45cf0f06095cf7c772dc637ed7ef37 SHA256 407d8d03766693e491ecd5189430f40c21e0017056f3525172000056f5b8a1c6
+EBUILD simple-rss-1.2.3.ebuild 662 RMD160 ba0cff93ca4eac87116b2ab64359013fb86ee4da SHA1 8bf42effdd7381704fbd627cbdad526453694892 SHA256 d2f09c905c18a7bf1232f2e217944341f36bd01109c96e41c47cc3e6d85ee113
+MISC ChangeLog 813 RMD160 77bcbe11370c07ff709582ca2363c098643b9fb1 SHA1 2b41e1b0d535d5d0bd1d1284b303b71dda51da0b SHA256 0ca5ef2096a9772d360de642c75540583b63618f7c95a00bff94f4fb480e2092
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAkv3/s0ACgkQAiZjviIA2XjnmACgzg/b/tHx2seebaomQgbsC3jo
-nbkAn3pPFbC3r9h8pLD7kxX0anqdtJM1
-=nUaR
+iF4EAREIAAYFAkw2JX8ACgkQZihJkut28SutZQD8CgBuNIFx3Or4VLK3h1CLXHNT
+/LYK9L1UtiUJSlcAUgcBALqCq63d23lq/dsXVCNxJqgvhcG0WnRXSLNMMezx1Wfu
+=zUQG
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/simple-rss/files/simple-rss-1.2.3-no-media-rss.patch b/dev-ruby/simple-rss/files/simple-rss-1.2.3-no-media-rss.patch
new file mode 100644
index 000000000000..9b06898d0209
--- /dev/null
+++ b/dev-ruby/simple-rss/files/simple-rss-1.2.3-no-media-rss.patch
@@ -0,0 +1,49 @@
+Remove tests depending on media_rss.xml, because it is not shipped in
+the gem and the upstream VCS is not available.
+
+http://rubyforge.org/tracker/index.php?func=detail&aid=28359&group_id=893&atid=3517
+
+--- test/base/base_test.rb.orig 2010-07-08 21:16:48.625863508 +0200
++++ test/base/base_test.rb 2010-07-08 21:17:06.038612667 +0200
+@@ -3,7 +3,6 @@
+ def setup
+ @rss09 = SimpleRSS.parse open(File.dirname(__FILE__) + '/../data/rss09.rdf')
+ @rss20 = SimpleRSS.parse open(File.dirname(__FILE__) + '/../data/rss20.xml')
+- @media_rss = SimpleRSS.parse open(File.dirname(__FILE__) + '/../data/media_rss.xml')
+ @atom = SimpleRSS.parse open(File.dirname(__FILE__) + '/../data/atom.xml')
+ end
+
+@@ -29,26 +28,6 @@
+ assert_equal Time.parse("Fri Sep 09 02:52:31 PDT 2005"), @rss09.channel.dc_date
+ end
+
+- def test_media_rss
+- assert_equal 20, @media_rss.items.size
+- assert_equal "Uploads from herval", @media_rss.title
+- assert_equal "http://www.flickr.com/photos/herval/", @media_rss.channel.link
+- assert_equal "http://www.flickr.com/photos/herval/4671960608/", @media_rss.items.first.link
+- assert_equal "http://www.flickr.com/photos/herval/4671960608/", @media_rss.items.first[:link]
+- assert_equal "http://farm5.static.flickr.com/4040/4671960608_10cb945d5c_o.jpg", @media_rss.items.first.media_content_url
+- assert_equal "image/jpeg", @media_rss.items.first.media_content_type
+- assert_equal "3168", @media_rss.items.first.media_content_height
+- assert_equal "4752", @media_rss.items.first.media_content_width
+- assert_equal "Woof?", @media_rss.items.first.media_title
+- assert_equal "http://farm5.static.flickr.com/4040/4671960608_954d2297bc_s.jpg", @media_rss.items.first.media_thumbnail_url
+- assert_equal "75", @media_rss.items.first.media_thumbnail_height
+- assert_equal "75", @media_rss.items.first.media_thumbnail_width
+- assert_equal "herval", @media_rss.items.first.media_credit
+- assert_equal "photographer", @media_rss.items.first.media_credit_role
+- assert_equal "pets frodo", @media_rss.items.first.media_category
+- assert_equal "urn:flickr:tags", @media_rss.items.first.media_category_scheme
+- end
+-
+ def test_rss20
+ assert_equal 10, @rss20.items.size
+ assert_equal "Technoblog", @rss20.title
+@@ -69,4 +48,4 @@
+ def test_bad_feed
+ assert_raise(SimpleRSSError) { SimpleRSS.parse(open(File.dirname(__FILE__) + '/../data/not-rss.xml')) }
+ end
+-end
+\ No newline at end of file
++end
diff --git a/dev-ruby/simple-rss/simple-rss-1.2.3.ebuild b/dev-ruby/simple-rss/simple-rss-1.2.3.ebuild
new file mode 100644
index 000000000000..e6e3f36a31b6
--- /dev/null
+++ b/dev-ruby/simple-rss/simple-rss-1.2.3.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/simple-rss/simple-rss-1.2.3.ebuild,v 1.1 2010/07/08 19:22:33 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_TASK_DOC="doc"
+RUBY_FAKEGEM_DOCDIR="html"
+RUBY_FAKEGEM_EXTRADOC="README"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Simple RSS is a simple, flexible, extensible, and liberal RSS and
+Atom reader for Ruby."
+HOMEPAGE="http://simple-rss.rubyforge.org/"
+LICENSE="LGPL-2"
+
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+IUSE=""
+
+RUBY_PATCHES=( "${P}-no-media-rss.patch" )
+
+ruby_add_bdepend "test? ( virtual/ruby-test-unit )"