forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.2.20.1
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST mini_magick-4.2.10.tar.gz 1060057 SHA256 b8f694648ff15729338f7534b057bc1be3fa47bc73fd935f78f872e2f6186996 SHA512 90ac378d7e9b4eb2fef7d2f036e90ea17e7b1fb42e4f022dd9921af818becbb7041e82796e84cefc05f25e42c1705bd9d623f28d9cda437821d0f7801f731168 WHIRLPOOL 9f96b85b3af696a65c80ca5ef4e3754ae993af86532bf624ee351c428c7faca14415e03a4eb7747bcff1a45fc60b7889e31eb0d98c715d29834ac9db9fe0ae4f | ||
DIST mini_magick-4.2.7.tar.gz 1059704 SHA256 55c829cbbc09020a7e48864374341b09c25700f343e6f443248bf99b906ed88c SHA512 172e71d3d9286d92541951d83a67e3be05ff207e27502472426fab10ca92339c371f52ca85790300bdb881b10470ed7810e01a85d3b4e1a2ed4e89dc0f117493 WHIRLPOOL 90d8a7544d11699724b873b30cdc9243d5c388ddb4216577119770ea38ac1d336a5af2853861a9a6dd957f1f0a17af363446882ebaae19853f20dbf10398f66e | ||
DIST mini_magick-4.2.9.tar.gz 1059967 SHA256 f168e4683a38209ec0298d94678b493c793fb785e657d850a08dff3ab461464e SHA512 d3ffc33d14030b27d106930dbf7183eb7884646103f063361e798670929c37bac36bed08cfd4e9c6128c51f8c6b05a3e2eeb440d01abe7f0b788211ede4e4c26 WHIRLPOOL cf5e7d76105f2d446917eea3596d6b4413700aa202e4124b29a233371125a397251ef2bdb3d7ee8f66272bf584e18933510e7290bf7c7d9a6f1f26d6991e1dd1 | ||
DIST mini_magick-4.3.3.tar.gz 1106623 SHA256 1ec9ee60cdd88839a958a1fccc82db20887607dc385d618aefcb81cdc577c33e SHA512 e451d5fc3fe6331698858350d1c6b704f6f3e601228b635a2469403f2b4457606144e04b5020daf67a21ff055d6aed4b138a1f107dc29cc02613541411ed0872 WHIRLPOOL f0783edc683931521a2dcd0f0d4594cc61e65a411650bbbc5223c33da80f9455087127bce4f1f36b0889b6d98ccaeda90b956bb59c789dde171cf8e28186118c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
USE_RUBY="ruby19 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 | ||
} |