summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/imagesize/ChangeLog11
-rw-r--r--dev-ruby/imagesize/imagesize-0.1.1_p20100902.ebuild26
2 files changed, 34 insertions, 3 deletions
diff --git a/dev-ruby/imagesize/ChangeLog b/dev-ruby/imagesize/ChangeLog
index 2545f9f79474..d71ef60301ad 100644
--- a/dev-ruby/imagesize/ChangeLog
+++ b/dev-ruby/imagesize/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/imagesize
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/imagesize/ChangeLog,v 1.7 2011/08/20 12:45:01 graaff Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/imagesize/ChangeLog,v 1.8 2013/11/04 22:08:18 mrueg Exp $
+
+*imagesize-0.1.1_p20100902 (04 Nov 2013)
+
+ 04 Nov 2013; Manuel Rüger <mrueg@gentoo.org>
+ +imagesize-0.1.1_p20100902.ebuild:
+ Version bump to github snapshot. Fix tests. Add ruby19,ruby20 target.
20 Aug 2011; Hans de Graaff <graaff@gentoo.org> -imagesize-0.1.1.ebuild:
Remove old version.
@@ -31,4 +37,3 @@
+imagesize-0.1.1.ebuild:
Initial import, dependency for app-misc/alexandria. Thanks to John Keeping in
#215458 for providing the initial ebuild.
-
diff --git a/dev-ruby/imagesize/imagesize-0.1.1_p20100902.ebuild b/dev-ruby/imagesize/imagesize-0.1.1_p20100902.ebuild
new file mode 100644
index 000000000000..39e09afdc84a
--- /dev/null
+++ b/dev-ruby/imagesize/imagesize-0.1.1_p20100902.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/imagesize/imagesize-0.1.1_p20100902.ebuild,v 1.1 2013/11/04 22:08:17 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19 ruby20"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.txt"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Measure image size (GIF, PNG, JPEG, etc)"
+HOMEPAGE="http://imagesize.rubyforge.org/"
+COMMIT_ID="bd5be2afb088beba3f0d863cef4eac7db56ca804"
+SRC_URI="https://github.com/mattheworiordan/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RUBY_S="${PN}-${COMMIT_ID}"
+
+each_ruby_test() {
+ ${RUBY} -Ilib -S test/test_image_size.rb || die
+}