Сравнение rmagick-4.3.0 с rmagick-5.2.0
/usr/portage/dev-ruby/rmagick/rmagick-5.2.0.ebuild 2023-10-09 14:52:30.456368374 +0300 | ||
---|---|---|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 |
USE_RUBY="ruby30 ruby31 ruby32" |
|
5 |
USE_RUBY="ruby27 ruby30 ruby31 ruby32" |
|
6 | 6 | |
7 | 7 |
RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
8 | 8 | |
... | ... | |
24 | 24 |
RUBY_S="rmagick-${MY_PV}" |
25 | 25 | |
26 | 26 |
LICENSE="Artistic" |
27 |
SLOT="4" |
|
28 |
KEYWORDS="amd64 ~hppa ppc ppc64 x86" |
|
27 |
SLOT="$(ver_cut 1)" |
|
28 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" |
|
29 | 29 |
IUSE="doc" |
30 | 30 | |
31 | 31 |
RDEPEND+=" >=media-gfx/imagemagick-6.9.0:=" |
32 |
DEPEND+=" >=media-gfx/imagemagick-6.9.0 test? ( >=media-gfx/imagemagick-7.1.0:=[jpeg,lqr,lcms,postscript,tiff,webp] media-fonts/dejavu )" |
|
32 |
DEPEND+=" >=media-gfx/imagemagick-6.9.0 test? ( >=media-gfx/imagemagick-7.1.0:=[jpeg,lqr,lcms,postscript,tiff,webp] )" |
|
33 | ||
34 |
ruby_add_bdepend "dev-ruby/pkg-config" |
|
33 | 35 | |
34 | 36 |
all_ruby_prepare() { |
35 | 37 |
# Avoid unused dependency on rake-compiler. This also avoids an |
... | ... | |
43 | 45 |
# Squelch harmless warning about imagemagick installation. |
44 | 46 |
sed -i -e '/prefix/ s:ImageMagick:ImageMagick-6:' ext/RMagick/extconf.rb || die |
45 | 47 | |
46 |
# Reading PDFs is not allowed by the default Gentoo security policy for imagemagick |
|
47 |
#sed -i -e '/can read PDF file/askip "Not allowed by Gentoo security policy"' spec/rmagick/image/read_spec.rb || die |
|
48 | ||
49 |
# Update version number hardcoded in tests |
|
50 |
sed -i -e 's/"7.0"/"7.1"/' spec/rmagick/image/channel_mean_spec.rb || die |
|
51 | ||
52 | 48 |
# Create directory used for a test |
53 | 49 |
mkdir tmp |
54 | 50 |
} |