summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-18 07:42:23 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-18 07:42:32 +0100
commit5e902052a44359cc67145b8bdaebc0a3e04423f3 (patch)
tree7c0e1022a7adac29b985b1082a12f309f4585375 /dev-ruby/imagesize
parentdev-ruby/htmlentities: add ruby30 (diff)
downloadgentoo-5e902052a44359cc67145b8bdaebc0a3e04423f3.tar.gz
gentoo-5e902052a44359cc67145b8bdaebc0a3e04423f3.tar.bz2
gentoo-5e902052a44359cc67145b8bdaebc0a3e04423f3.zip
dev-ruby/imagesize: add ruby30
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/imagesize')
-rw-r--r--dev-ruby/imagesize/imagesize-0.1.1_p20100902-r2.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-ruby/imagesize/imagesize-0.1.1_p20100902-r2.ebuild b/dev-ruby/imagesize/imagesize-0.1.1_p20100902-r2.ebuild
new file mode 100644
index 000000000000..73f9df2cb060
--- /dev/null
+++ b/dev-ruby/imagesize/imagesize-0.1.1_p20100902-r2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_EXTRADOC="README.txt"
+RUBY_FAKEGEM_GEMSPEC="imagesize.gemspec"
+RUBY_FAKEGEM_VERSION="0.1.1.20100902"
+
+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
+}