summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-01-06 07:15:04 +0100
committerHans de Graaff <graaff@gentoo.org>2021-01-06 07:15:04 +0100
commit7f85482d899c0cf62ab3c3867c97fe7946f1c041 (patch)
tree94b57580cb825dbbeb554999baeb7bd3d3dbe2e8 /dev-ruby/chunky_png
parentdev-ruby/chunky_png: cleanup (diff)
downloadgentoo-7f85482d899c0cf62ab3c3867c97fe7946f1c041.tar.gz
gentoo-7f85482d899c0cf62ab3c3867c97fe7946f1c041.tar.bz2
gentoo-7f85482d899c0cf62ab3c3867c97fe7946f1c041.zip
dev-ruby/chunky_png: add 1.4.0
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
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.4.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/chunky_png/Manifest b/dev-ruby/chunky_png/Manifest
index 2fc462b91801..6bc95c4d6348 100644
--- a/dev-ruby/chunky_png/Manifest
+++ b/dev-ruby/chunky_png/Manifest
@@ -1,2 +1,3 @@
DIST chunky_png-1.3.14.gem 363008 BLAKE2B b35dc7523583b2b6b5c42024ab0e29b90c3c2db734d80ae4c6690f34feb8af22eda09b17ef598fd96dab245d86dd20392b7d8ef727be4ee968d39225aa914bcc SHA512 d52aca34f94749dc58c8850f552bacc6354c93bccf041435d4fd1ed81a88e7564840fca191d6b40d56dfa69a74bbe09f7adbed1517e363e4e00884f7c81c4494
DIST chunky_png-1.3.15.gem 363008 BLAKE2B e94b366aced2214a052f321ea828c7de9df2d9cf91f5a0926a1f17dd258774681db1172a3a04b033cbbae6f3f9bcb114bde3d07f166a6028e523a433926f6e81 SHA512 a53d3ba7b5d879a2f1dc3bccf20c4ba99fd35fa8224b21a4652904de9554ec4776b81186b8b75f5f77c6c1a63543ff1ace91c1723b76c1c4c7155bbc2a819239
+DIST chunky_png-1.4.0.gem 363008 BLAKE2B 3fc484985565f223127c43eb1d55137ee9b58fc5ab6f25256dd54efddb817a5ecf78b39754a042fd09b83493cbdfdf02d0b90d150ab90b084f01c9a98aba5a8e SHA512 1276ba527723af973ca00535baab0dd3be8185cfaa77efb28c3b1ef1e949312710a616ca55711923875e54cb9c92b38de71062d2ba68b2314c7b9ce7a9b50b11
diff --git a/dev-ruby/chunky_png/chunky_png-1.4.0.ebuild b/dev-ruby/chunky_png/chunky_png-1.4.0.ebuild
new file mode 100644
index 000000000000..e61c91a277aa
--- /dev/null
+++ b/dev-ruby/chunky_png/chunky_png-1.4.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR=""
+
+RUBY_FAKEGEM_EXTRADOC="BENCHMARKING.rdoc CHANGELOG.rdoc README.md"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+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 ~x86"
+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
+}