commit: 9a05d88adbd489e948a576a7f099392960a91dea Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Tue Sep 22 04:31:30 2020 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Tue Sep 22 04:31:30 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a05d88a
dev-ruby/image_processing: add 1.12.0 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/image_processing/Manifest | 1 + .../image_processing-1.12.0.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-ruby/image_processing/Manifest b/dev-ruby/image_processing/Manifest index 7e696c9fd51..861c864c4c9 100644 --- a/dev-ruby/image_processing/Manifest +++ b/dev-ruby/image_processing/Manifest @@ -1,2 +1,3 @@ DIST image_processing-1.10.3.tar.gz 985090 BLAKE2B 9626dd41ae97cd0c68b857ccce2dd2b5eebbc04a5a3fc145cfde681b8ba9cc78806ddf1e7542afa2799ad707ced592149304216875297fc1bac112501dfcdbbb SHA512 7883199b2ccd693ae91a5d028a7c7bf5834cb36c7a48b4d02d1d92d7681e382a4e6605ca80cb0ca2f9949bfa95d8dafac3057e2508bb2932c5c3c0c3dee99b12 DIST image_processing-1.11.0.tar.gz 985565 BLAKE2B 2ab1cfcdb0637dfbba50558cdb0b778cbb2f7bccf2a12aff5515171e252b0f41624d1867a2cb825d7200b5c09eb57d4f002cd086fdb987a9513a2ef3401a2db3 SHA512 2978ab351f6afaa9bb4ff08be6f89a27a634ac49a239a88c59cd40c877ffe4da57bdfe0d02af31577be113f04d7dc736e891b1edebc09fd4829bbe89085c4282 +DIST image_processing-1.12.0.tar.gz 986331 BLAKE2B 765906d2cfcb63ef8257144bc54744d9a43f4673fb5d1f99d7230bee52534ebae1e6d39009203a1fa080e42889c55885e8e828be1d282d8d2de7358cf69ad2ca SHA512 b1bd8b8da8aedc348591c900dfc0f6a862acfb7f12f10640ce4db181b738a145efc8c1ce8d6f0863930fdd7989670e1114dc8d91581a22e7f9093cf6ae9ad61c diff --git a/dev-ruby/image_processing/image_processing-1.12.0.ebuild b/dev-ruby/image_processing/image_processing-1.12.0.ebuild new file mode 100644 index 00000000000..b5cac1d4884 --- /dev/null +++ b/dev-ruby/image_processing/image_processing-1.12.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md doc/*.md" + +RUBY_FAKEGEM_GEMSPEC="image_processing.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="High-level image processing helper methods with libvips and ImageMagick" +HOMEPAGE="https://github.com/janko/image_processing" +SRC_URI="https://github.com/janko/image_processing/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND+=" test? ( media-gfx/imagemagick[jpeg,png,tiff] )" + +ruby_add_rdepend " + >=dev-ruby/mini_magick-4.9.5:0 +" + +ruby_add_bdepend "test? ( + >=dev-ruby/minitest-5.8:5 + >=dev-ruby/minitest-hooks-1.4.2 + dev-ruby/minispec-metadata +)" + +all_ruby_prepare() { + # Only support imagemagick for now since vips is not packaged + sed -i -e '/ruby-vips/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die + rm -f test/{builder,pipeline,vips}_test.rb || die + sed -i -e '/assert_dimensions/ s:^:#:' test/*_test.rb || die + + # phash is not packaged + sed -i -e '/\(assert\|refute\)_similar/ s:^:#:' test/*_test.rb || die + + sed -i -e '/\(bundler\|phashion\|vips\)/ s:^:#:' Rakefile test/test_helper.rb || die +}