summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-04-21 06:52:40 +0200
committerHans de Graaff <graaff@gentoo.org>2016-04-21 07:08:59 +0200
commitd6ae70bd80dd29fbf556893c95457bd83598f128 (patch)
tree885d08bebbb95feb01494057f68febfc52d142ca /dev-ruby/chunky_png
parentdev-ruby/barby: add 0.6.3 (diff)
downloadgentoo-d6ae70bd80dd29fbf556893c95457bd83598f128.tar.gz
gentoo-d6ae70bd80dd29fbf556893c95457bd83598f128.tar.bz2
gentoo-d6ae70bd80dd29fbf556893c95457bd83598f128.zip
dev-ruby/chunky_png: add ruby23 revision
Drop x86 keyword due to bug 562452 Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/chunky_png')
-rw-r--r--dev-ruby/chunky_png/chunky_png-1.3.5-r1.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/chunky_png/chunky_png-1.3.5-r1.ebuild b/dev-ruby/chunky_png/chunky_png-1.3.5-r1.ebuild
new file mode 100644
index 000000000000..1c4f4e1ba2bf
--- /dev/null
+++ b/dev-ruby/chunky_png/chunky_png-1.3.5-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR=""
+
+RUBY_FAKEGEM_EXTRADOC="BENCHMARKING.rdoc README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="chunky_png.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Pure Ruby library that can read and write PNG images"
+HOMEPAGE="https://wiki.github.com/wvanbergen/chunky_png"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e '/[bB]undler/s:^:#:' {spec,benchmarks}/*.rb || die
+ rm Gemfile* || die
+
+ # Avoid git dependency
+ sed -i -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+}