diff options
Diffstat (limited to 'dev-ruby/image_processing')
-rw-r--r-- | dev-ruby/image_processing/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/image_processing/image_processing-1.10.0.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/image_processing/Manifest b/dev-ruby/image_processing/Manifest index 3be0ce7549b5..cc49eadf0d0c 100644 --- a/dev-ruby/image_processing/Manifest +++ b/dev-ruby/image_processing/Manifest @@ -1,3 +1,5 @@ +DIST image_processing-1.10.0.tar.gz 984866 BLAKE2B 3afcdff652eec40ea652c68a99d6f18970596a8221883ec627b678b8af0013127471490a093ff190134d12e2b6eb4f8a42252d49b4fc61cfff8858b49d1f124e SHA512 47a465ce4e450647a67bda376bfdb5da5a0ceacfc01be5e15dfc819232b76509fdc2c6a8196042dd8508c69e0d19c8f08a54b939dd3e808f9a2ff31efd891c9a DIST image_processing-1.9.3.tar.gz 984561 BLAKE2B 71c729c36e7048ceee3bd452d0429b24303f6898658337211cda4c697823e275f84c8b5ccbce857caa8f63a80e620f11822d3c0024f05343c3d72f9c8aedbdb9 SHA512 117e45146b646632bb2990f1651a494887ec8b75d8dcfcbea241b75d4691329597b7c8979fd13d4e51bacd5065b51594d6de9357e63c8b9b959b78fe075d0a76 +EBUILD image_processing-1.10.0.ebuild 1170 BLAKE2B fb4c9e60dabb342f96f39cc436791478e6fbf53aa6f6b1cfe4e4101e2d2d609df58991952a5f3826a34f33d94b9c208299ed2f6a62050d4c88ab10059f2de7c8 SHA512 72a9ddb4a6d74c60ab00efe8a5ca11698b86ff6b5a53b0f05b1aeb4e7863228802deb78fb6c9dd1cb4855288f19040af72e156149c8772e304e46e25897addfd EBUILD image_processing-1.9.3.ebuild 1170 BLAKE2B fb4c9e60dabb342f96f39cc436791478e6fbf53aa6f6b1cfe4e4101e2d2d609df58991952a5f3826a34f33d94b9c208299ed2f6a62050d4c88ab10059f2de7c8 SHA512 72a9ddb4a6d74c60ab00efe8a5ca11698b86ff6b5a53b0f05b1aeb4e7863228802deb78fb6c9dd1cb4855288f19040af72e156149c8772e304e46e25897addfd MISC metadata.xml 348 BLAKE2B e9ff7002a69662a1f143cd31bf22379fa85f2548c0b1ca4b3e57e833d1f0090323b1e239f4ae53477effa8641a8435049a2835b2f054e90a06bfecd1c72ac536 SHA512 1fb1b17616eb7f7f083461e60823fecdbefeadfe1c3728a7e1ff381a453998164de3a0d64daf3714f079cbb456fba78acd9e09bafc73d2b562b75c5cf2064e96 diff --git a/dev-ruby/image_processing/image_processing-1.10.0.ebuild b/dev-ruby/image_processing/image_processing-1.10.0.ebuild new file mode 100644 index 000000000000..2cc5366adc3f --- /dev/null +++ b/dev-ruby/image_processing/image_processing-1.10.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 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="" + +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 +)" + +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/{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 +} |