summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-09-01 06:58:11 +0200
committerHans de Graaff <graaff@gentoo.org>2016-09-01 06:58:11 +0200
commit0853d4540fcdc92810a97a8135fb36dc4db0fac7 (patch)
tree781224512695a12e8173b65f49a77cc36dcc9a13 /dev-ruby/chunky_png
parentdev-ruby/chunky_png: cleanup (diff)
downloadgentoo-0853d4540fcdc92810a97a8135fb36dc4db0fac7.tar.gz
gentoo-0853d4540fcdc92810a97a8135fb36dc4db0fac7.tar.bz2
gentoo-0853d4540fcdc92810a97a8135fb36dc4db0fac7.zip
dev-ruby/chunky_png: add 1.3.7
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/chunky_png')
-rw-r--r--dev-ruby/chunky_png/Manifest1
-rw-r--r--dev-ruby/chunky_png/chunky_png-1.3.7.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/chunky_png/Manifest b/dev-ruby/chunky_png/Manifest
index 648596376b88..1e76e77f6d4d 100644
--- a/dev-ruby/chunky_png/Manifest
+++ b/dev-ruby/chunky_png/Manifest
@@ -1 +1,2 @@
DIST chunky_png-1.3.6.gem 350208 SHA256 378143eb3fefd8ccc579ad8462fb15621607ab12b6bcccc6cff9ae4623092c6b SHA512 334ea571194a3357003ddbdf41c669ae189c6927c43182a8814e5aa5b3cdee2a3adef80cae4453a3d6d186652c78fdde496bf9080a28227d26dd411dbe0d880e WHIRLPOOL 43a92898c4362112b51f443b5f0c326bf6b0810ce3d4b4afdb37b89bb3a0727328339ee6b403e74ab2572b999c091d6b468c4a4dc1795e5220280ff8edaf23da
+DIST chunky_png-1.3.7.gem 350720 SHA256 b013d9382be8b9b10e1ad194e1f8840c406cf89494752ff255f95ce71ff13fdc SHA512 0cd9314ad551128d3d9dd234b3998ed8a96d1a038ed92288485538873be76e5034233e205f16491031ebdade9501593133ea8bfd7b0288bfd83c03de034a5bc7 WHIRLPOOL 20d078d0d86a5881a2b95ac6e54a0aacfe7ae9da6cc28089ae4f72d5b4e53735a11e8865687af30cf61d8b15fa5de5047a64236b8640828f43ee9a2862aecf6e
diff --git a/dev-ruby/chunky_png/chunky_png-1.3.7.ebuild b/dev-ruby/chunky_png/chunky_png-1.3.7.ebuild
new file mode 100644
index 000000000000..3c993301ef3a
--- /dev/null
+++ b/dev-ruby/chunky_png/chunky_png-1.3.7.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 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 CHANGELOG.rdoc README.md"
+
+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
+}