summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-09-18 13:06:17 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-09-18 13:06:17 +0000
commit5796759982d96143698da0265017608c89b40c2b (patch)
tree98d463550e7e4f1dc9ef3da6e142ea999e372305 /dev-ruby/chunky_png
parentAdd games-action/cs2d, thanks to oleg@kaa.org.ua (diff)
downloadgentoo-2-5796759982d96143698da0265017608c89b40c2b.tar.gz
gentoo-2-5796759982d96143698da0265017608c89b40c2b.tar.bz2
gentoo-2-5796759982d96143698da0265017608c89b40c2b.zip
Initial import of the pure-Ruby chunky_png library.
(Portage version: 2.2.0_alpha58/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/chunky_png')
-rw-r--r--dev-ruby/chunky_png/ChangeLog10
-rw-r--r--dev-ruby/chunky_png/chunky_png-1.2.4.ebuild31
-rw-r--r--dev-ruby/chunky_png/metadata.xml5
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/chunky_png/ChangeLog b/dev-ruby/chunky_png/ChangeLog
new file mode 100644
index 000000000000..4ec44fdfd5e1
--- /dev/null
+++ b/dev-ruby/chunky_png/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/chunky_png
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/chunky_png/ChangeLog,v 1.1 2011/09/18 13:06:17 flameeyes Exp $
+
+*chunky_png-1.2.4 (18 Sep 2011)
+
+ 18 Sep 2011; Diego E. Pettenò <flameeyes@gentoo.org>
+ +chunky_png-1.2.4.ebuild, +metadata.xml:
+ Initial import of the pure-Ruby chunky_png library.
+
diff --git a/dev-ruby/chunky_png/chunky_png-1.2.4.ebuild b/dev-ruby/chunky_png/chunky_png-1.2.4.ebuild
new file mode 100644
index 000000000000..edea8d03a79b
--- /dev/null
+++ b/dev-ruby/chunky_png/chunky_png-1.2.4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/chunky_png/chunky_png-1.2.4.ebuild,v 1.1 2011/09/18 13:06:17 flameeyes Exp $
+
+EAPI=4
+
+USE_RUBY="ruby18 ree18 ruby19 jruby"
+
+RUBY_FAKEGEM_TASK_TEST="spec"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR=""
+
+RUBY_FAKEGEM_EXTRADOC="BENCHMARKS.rdoc README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Pure Ruby library that can read and write PNG images"
+HOMEPAGE="http://wiki.github.com/wvanbergen/chunky_png"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/rspec )"
+
+all_ruby_prepare() {
+ sed -i -e '/[bB]undler/s:^:#:' {spec,benchmarks}/*.rb
+ rm Gemfile
+}
diff --git a/dev-ruby/chunky_png/metadata.xml b/dev-ruby/chunky_png/metadata.xml
new file mode 100644
index 000000000000..ed77b4f90bcb
--- /dev/null
+++ b/dev-ruby/chunky_png/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ruby</herd>
+</pkgmetadata>