diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-02-07 08:18:37 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-02-07 08:18:37 +0100 |
commit | cdfc42c497c619320ecad65708c7d73e14b796a4 (patch) | |
tree | e02af84bb06c4c9099bf2db12a6b73f05c9911fc /dev-ruby | |
parent | dev-ruby/mini_magick: cleanup (diff) | |
download | gentoo-cdfc42c497c619320ecad65708c7d73e14b796a4.tar.gz gentoo-cdfc42c497c619320ecad65708c7d73e14b796a4.tar.bz2 gentoo-cdfc42c497c619320ecad65708c7d73e14b796a4.zip |
dev-ruby/mini_magick: add 4.4.0
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/mini_magick/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/mini_magick/mini_magick-4.4.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/mini_magick/Manifest b/dev-ruby/mini_magick/Manifest index cb6bd8a08a45..375882edf5dc 100644 --- a/dev-ruby/mini_magick/Manifest +++ b/dev-ruby/mini_magick/Manifest @@ -1 +1,2 @@ DIST mini_magick-4.3.6.tar.gz 1106887 SHA256 a1316effe107c6b3cbee5bfbd295aad40d5b218e29cdafa71244aecc66e4e189 SHA512 91ed5628d9d23e28061498e1001a97439ce7124286cd6687675d9d9b0b83a09a894ffa50b1bb6f6c772070f7a3586633cec2841ea3096a5cff94d4f3f2baff8b WHIRLPOOL 2df9e934836bda02a0e42065fa82646238f5119ca03153905068148dac21dca64fe223d1a81ea423b51b35362e1b5a070aae28f5e8468161ea3d25dcc6cbf3c2 +DIST mini_magick-4.4.0.tar.gz 1111535 SHA256 ee1d74693d569c15bc421b39ca35f66b4afe5aa08cdf81d4bbff096fe308833a SHA512 5b6bc158f04175676fac100f17c82694ab6d20845f44ba6965b20533e139581694a641a96d7cb8ad323949f6b490ea20b96a1b9b576d7b9482269c8592df57d5 WHIRLPOOL 3ba4e177c63f265365c60a5ffeef3d9a0511ab061cd819df34fdc127fc8886e125bf85e64b869a21a7d28c1fe4e61cba0a1da96e1c1e09314e3ea473c844898d diff --git a/dev-ruby/mini_magick/mini_magick-4.4.0.ebuild b/dev-ruby/mini_magick/mini_magick-4.4.0.ebuild new file mode 100644 index 000000000000..ab747cf5616b --- /dev/null +++ b/dev-ruby/mini_magick/mini_magick-4.4.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eutils + +DESCRIPTION="Manipulate images with minimal use of memory" +HOMEPAGE="https://github.com/minimagick/minimagick" +SRC_URI="https://github.com/minimagick/minimagick/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="minimagick-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +# It's only used at runtime in this case because this extension only +# _calls_ the commands. But when we run tests we're going to need tiff +# and jpeg support at a minimum. +RDEPEND+=" media-gfx/imagemagick" +DEPEND+=" test? ( media-gfx/imagemagick[tiff,jpeg,png] >=media-gfx/graphicsmagick-1.3.20[tiff,jpeg,png] )" + +ruby_add_bdepend "test? ( dev-ruby/mocha dev-ruby/posix-spawn )" + +all_ruby_prepare() { + # remove executable bit from all files + find "${S}" -type f -exec chmod -x {} + + + sed -i -e '/\([Bb]undler\|pry\)/ s:^:#:' spec/spec_helper.rb || die + + # Don't force a specific formatter but use overall Gentoo defaults. + sed -i -e '/config.formatter/d' spec/spec_helper.rb || die +} |