mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
dev-ruby/image_processing: add 1.14.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
parent
73063e9777
commit
72fd7179d4
@ -1 +1,2 @@
|
||||
DIST image_processing-1.13.0.tar.gz 1166646 BLAKE2B 9ce172f9cfe7d212165fe95f58b4b20e434803992c4cabcee963818f4e35201d9962aceddf7c3647325e99930f5ae2cb069ab8ca7b7ac1c74428953dd1710076 SHA512 92fbd94db66abf7ea6256f9c475fd05b84ba1791bc00d4b03774ba22ebea2fb56fa75bc18fd7d39330e13d6b03460df60a3aebeaf1227834c854c458d6d99d7a
|
||||
DIST image_processing-1.14.0.tar.gz 9326866 BLAKE2B 374a09c39ce2ea3b0d7f8e2197fa0ecf902cc1c94d75e912cf94afdc9d8b433e46052766829023386febbe1b6a8b15142ea29f05ca8943cfecd19ce1b56c2cb3 SHA512 6beb6b097fb3af6899fac6805875f03d3bbe8b10ec5fdd9af65caa50ef09697f60b65108f1edb6a4e119a659a748021c5c4ad4a9573d48dcd00b13ca09ea9e58
|
||||
|
||||
50
dev-ruby/image_processing/image_processing-1.14.0.ebuild
Normal file
50
dev-ruby/image_processing/image_processing-1.14.0.ebuild
Normal file
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34"
|
||||
|
||||
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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND+=" test? ( media-gfx/imagemagick[jpeg,png,tiff,xml] )"
|
||||
|
||||
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
|
||||
|
||||
# Avoid tests using obsolete "strip" option (fixed upstream)
|
||||
sed -e '/applies \(loader\|saver\) options/askip "Uses obsolete strip option"' \
|
||||
-i test/mini_magick_test.rb || die
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user