summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-10-20 17:46:12 +0000
committerHans de Graaff <graaff@gentoo.org>2011-10-20 17:46:12 +0000
commit4aa15a4f11487a17e66637b7058563c904f6aca7 (patch)
tree214fee76f164297b46e4fe59e56a219304311edc /dev-ruby/flickr
parentRemove old version. (diff)
downloadgentoo-2-4aa15a4f11487a17e66637b7058563c904f6aca7.tar.gz
gentoo-2-4aa15a4f11487a17e66637b7058563c904f6aca7.tar.bz2
gentoo-2-4aa15a4f11487a17e66637b7058563c904f6aca7.zip
Move ruby19 to a new revision to create a stable candidate.
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/flickr')
-rw-r--r--dev-ruby/flickr/ChangeLog8
-rw-r--r--dev-ruby/flickr/flickr-1.0.2-r3.ebuild6
-rw-r--r--dev-ruby/flickr/flickr-1.0.2-r4.ebuild38
3 files changed, 48 insertions, 4 deletions
diff --git a/dev-ruby/flickr/ChangeLog b/dev-ruby/flickr/ChangeLog
index 166f9e4a5508..086ab7edbdc0 100644
--- a/dev-ruby/flickr/ChangeLog
+++ b/dev-ruby/flickr/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/flickr
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flickr/ChangeLog,v 1.9 2011/10/20 17:41:59 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flickr/ChangeLog,v 1.10 2011/10/20 17:46:12 graaff Exp $
+
+*flickr-1.0.2-r4 (20 Oct 2011)
+
+ 20 Oct 2011; Hans de Graaff <graaff@gentoo.org> flickr-1.0.2-r3.ebuild,
+ +flickr-1.0.2-r4.ebuild:
+ $1
20 Oct 2011; Hans de Graaff <graaff@gentoo.org> -flickr-1.0.2-r2.ebuild:
Remove old version.
diff --git a/dev-ruby/flickr/flickr-1.0.2-r3.ebuild b/dev-ruby/flickr/flickr-1.0.2-r3.ebuild
index 61ef06fb99bc..715aaedfee4a 100644
--- a/dev-ruby/flickr/flickr-1.0.2-r3.ebuild
+++ b/dev-ruby/flickr/flickr-1.0.2-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flickr/flickr-1.0.2-r3.ebuild,v 1.1 2009/12/15 15:31:07 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flickr/flickr-1.0.2-r3.ebuild,v 1.2 2011/10/20 17:46:12 graaff Exp $
EAPI=2
-USE_RUBY="ruby18 ruby19 jruby"
+USE_RUBY="ruby18 jruby"
inherit ruby-fakegem
diff --git a/dev-ruby/flickr/flickr-1.0.2-r4.ebuild b/dev-ruby/flickr/flickr-1.0.2-r4.ebuild
new file mode 100644
index 000000000000..9e9b99ed6d8a
--- /dev/null
+++ b/dev-ruby/flickr/flickr-1.0.2-r4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flickr/flickr-1.0.2-r4.ebuild,v 1.1 2011/10/20 17:46:12 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ruby19 jruby"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An insanely easy interface to the Flickr photo-sharing service."
+HOMEPAGE="http://rubyforge.org/projects/flickr/"
+SRC_URI="mirror://gentoo/${P}-gentoo.tar.bz2"
+
+S="${WORKDIR}/${P}-gentoo"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+# Tests fail for now, they don't seem to be designed to work just yet
+RESTRICT="test"
+
+ruby_add_rdepend dev-ruby/xml-simple
+
+all_ruby_prepare() {
+ cd "${S}"/lib
+ epatch "${FILESDIR}/${P}-fix.patch"
+ epatch "${FILESDIR}/${P}-typo.patch"
+}
+
+all_ruby_install() {
+ if use doc; then
+ dohtml -r "${S}"/doc/* || die "dohtml failed"
+ fi
+
+ dohtml "${S}"/index.html || die "dohtml failed"
+}