public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/mini_magick/
Date: Tue,  7 Jan 2020 06:08:10 +0000 (UTC)	[thread overview]
Message-ID: <1578377164.04f9efab2b02c69177d518928850defce897999e.graaff@gentoo> (raw)

commit:     04f9efab2b02c69177d518928850defce897999e
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  7 05:15:47 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Jan  7 06:06:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04f9efab

dev-ruby/mini_magick: add 4.10.1

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/mini_magick/Manifest                  |  1 +
 dev-ruby/mini_magick/mini_magick-4.10.1.ebuild | 55 ++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-ruby/mini_magick/Manifest b/dev-ruby/mini_magick/Manifest
index 05b23649f9c..d197c9d1688 100644
--- a/dev-ruby/mini_magick/Manifest
+++ b/dev-ruby/mini_magick/Manifest
@@ -1 +1,2 @@
+DIST mini_magick-4.10.1.tar.gz 1192455 BLAKE2B 269f0fbf0e49bb14c3a39124dfeb8171775db7a9e51e4662e5dac0a98c4668156bf5bbf22af62a9f62d7834d2205a9475e5631b768d27cac0527cab0baad25fa SHA512 28e4a4cf213db69182adb56daa3e09eb576e96e8ff4ad95121f9a16f8ecceb98ad790d3897463fa1ab3b7d4b9925777f9e71302adfd3f31b3f88aa520371e77b
 DIST mini_magick-4.9.5.tar.gz 1192220 BLAKE2B 18867664682b82c689beadd190d203f9a460a229ee07271fdfd3b9ef7c7fb2a913107b2f318c33b7aa15aad88488a4da5548f371f9f9b38246aa8f2210e04d15 SHA512 06a82b3c5bf47ae1254fb669f4cb63a7a944977eaa790501ee715740c6a2fdfe81ea886235fe310d2c0ca07253f4167e72ddae6e29a551315ecafc595c2a3a53

diff --git a/dev-ruby/mini_magick/mini_magick-4.10.1.ebuild b/dev-ruby/mini_magick/mini_magick-4.10.1.ebuild
new file mode 100644
index 00000000000..c215478ddbe
--- /dev/null
+++ b/dev-ruby/mini_magick/mini_magick-4.10.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+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 ~ppc ~ppc64 ~x86"
+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? ( virtual/imagemagick-tools[jpeg,png,tiff] )"
+
+ruby_add_bdepend "test? ( dev-ruby/mocha dev-ruby/posix-spawn dev-ruby/webmock )"
+
+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
+
+	# Avoid broken spec that does not assume . in path name
+	sed -i -e '/reformats a layer/,/end/ s:^:#:' spec/lib/mini_magick/image_spec.rb || die
+
+	# Avoid spec broken by recent imagemagick updates
+	sed -i -e '/cache files generated from .mpc/askip' spec/lib/mini_magick/image_spec.rb || die
+
+	# Avoid graphicsmagick tests because installing both in parallel for
+	# tests is hard.
+	sed -i -e 's/:graphicsmagick//' spec/spec_helper.rb || die
+	sed -i -e '/identifies when gm exists/,/^    end/ s:^:#:' spec/lib/mini_magick/utilities_spec.rb || die
+	sed -i -e '/returns GraphicsMagick/,/^    end/ s:^:#:' spec/lib/mini_magick_spec.rb || die
+}


             reply	other threads:[~2020-01-07  6:08 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-07  6:08 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-01  6:34 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/mini_magick/ Hans de Graaff
2024-08-21  9:19 Joonas Niilola
2024-07-15  7:47 Hans de Graaff
2024-07-15  7:47 Hans de Graaff
2024-06-28  4:31 Hans de Graaff
2024-06-28  4:31 Hans de Graaff
2024-06-14  4:52 Hans de Graaff
2024-05-18 17:23 Hans de Graaff
2023-07-02 10:24 Hans de Graaff
2023-04-07 18:25 Sam James
2023-03-28 20:20 Sam James
2023-03-28 20:16 Sam James
2023-03-21  5:21 Hans de Graaff
2022-12-11  6:27 Hans de Graaff
2022-12-04 15:08 Hans de Graaff
2022-07-29  4:48 Hans de Graaff
2022-06-13  8:06 Yixun Lan
2022-04-09  7:38 Hans de Graaff
2021-07-07  8:31 Hans de Graaff
2021-02-18  7:30 Hans de Graaff
2020-11-08  6:33 Hans de Graaff
2020-09-11  6:58 Hans de Graaff
2020-05-23 17:41 Hans de Graaff
2020-01-07  6:08 Hans de Graaff
2019-08-30  6:39 Hans de Graaff
2019-07-16  6:56 Hans de Graaff
2019-05-04 19:14 Hans de Graaff
2019-04-13  6:34 Hans de Graaff
2019-02-25  6:55 Hans de Graaff
2019-01-03 19:23 Sergei Trofimovich
2019-01-03 19:23 Sergei Trofimovich
2018-09-22  5:47 Hans de Graaff
2018-08-06  8:16 Sergei Trofimovich
2018-06-12 11:36 Thomas Deutschmann
2018-05-19  7:51 Hans de Graaff
2018-04-29 17:09 Hans de Graaff
2018-02-04 15:15 Hans de Graaff
2017-07-19  6:55 Hans de Graaff
2017-05-30  4:30 Hans de Graaff
2016-10-31  1:29 Manuel Rüger
2016-08-06  9:26 Hans de Graaff
2016-03-22 21:56 Manuel Rüger
2016-02-07  7:22 Hans de Graaff
2016-02-07  7:22 Hans de Graaff
2015-10-21  5:19 Hans de Graaff
2015-10-04  6:54 Hans de Graaff
2015-10-04  6:54 Hans de Graaff
2015-09-12  5:19 Hans de Graaff
2015-08-19 18:27 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1578377164.04f9efab2b02c69177d518928850defce897999e.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox