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: Sun, 02 Feb 2025 07:04:57 +0000 (UTC)	[thread overview]
Message-ID: <1738478960.ea9f47a61dfc1503cb68a8209b2f6177fcb6d595.graaff@gentoo> (raw)

commit:     ea9f47a61dfc1503cb68a8209b2f6177fcb6d595
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  2 06:49:20 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Feb  2 06:49:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea9f47a6

dev-ruby/mini_magick: add 5.1.1

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/mini_magick/Manifest                 |  1 +
 dev-ruby/mini_magick/mini_magick-5.1.1.ebuild | 52 +++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-ruby/mini_magick/Manifest b/dev-ruby/mini_magick/Manifest
index 1cc289568079..4dcfecad588e 100644
--- a/dev-ruby/mini_magick/Manifest
+++ b/dev-ruby/mini_magick/Manifest
@@ -2,3 +2,4 @@ DIST mini_magick-4.13.1.tar.gz 1330619 BLAKE2B ea51265c68b247c8558381e359660b649
 DIST mini_magick-4.13.2.tar.gz 1330632 BLAKE2B 831d6676cf2e65f857f149db77086ff9a8a209cf9aa4cfb0dc38a73e82b5d10605cf105d7126f0319203a9cae824e0b94812cf450ad5552316bbd94e21f71365 SHA512 a7a4628fe523816aef37eecfd755b84d11072c6c57134fd3b237312f302d41d2cccc2cefcbf1ef7a291d97d02b830887aa0f628140c51ca28fa9f955c6f96b57
 DIST mini_magick-5.0.1.tar.gz 1325633 BLAKE2B 6dce4cf3b488122732952771cd425139fa5ca33389abaa0f8ed0d797282b66247a529b5ad4cc2de569af9be00406cd4a88e60ce805f4132374aebd0a3f9a7808 SHA512 5579967be69065e1da79d11bc9de85acef4030345367ab8c57b91e26a99821a771d09bbdf8da012a9741141ceca8c4643e921dd9170209088425d7ab6ea845bb
 DIST mini_magick-5.1.0.tar.gz 1325990 BLAKE2B 5c0301cb9ee252bdc97b823aa039fdb099dfcc5fdc2aef09471806c258780a00416fb53b40b1cfb0bcf5c0fc36ee753840295abfc734c170e8e516c944423fed SHA512 5d5beedead029fbd20b7eb9b3154433e34c804859e1e59f86c855a1781961d5f0bb944d562264e22acf69bc1bb6ab49dd27f88040f1735005492ee1908ba73f9
+DIST mini_magick-5.1.1.tar.gz 1326004 BLAKE2B 1eb088cac89fa1d9c978fc663e527e6048bf312df2169604330c53c8b45e4c7500785ed4d6c271eff7d831c1fda93fba9d687c6051382dc0cf822d481a328aa4 SHA512 33faacdb6c0119addd0f554028acf1fb9218e8e3fd13eb96dbd671fb332f14f7f053d5340f024d8cdefaf6e2a8605d37458c66fbbf8307d5117a38beaeb5c09c

diff --git a/dev-ruby/mini_magick/mini_magick-5.1.1.ebuild b/dev-ruby/mini_magick/mini_magick-5.1.1.ebuild
new file mode 100644
index 000000000000..20756789f5d1
--- /dev/null
+++ b/dev-ruby/mini_magick/mini_magick-5.1.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+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="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="test"
+
+# 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_rdepend "dev-ruby/logger"
+
+ruby_add_bdepend "test? ( dev-ruby/mocha dev-ruby/webmock )"
+
+all_ruby_prepare() {
+	# remove executable bit from all files
+	find "${S}" -type f -exec chmod -x {} +
+
+	sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
+
+	# Don't force a specific formatter but use overall Gentoo defaults
+	# and show all failures.
+	sed -i -e '/config.\(fail_fast\|formatter\)/ s:^:#:' 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 '/reads exif/askip "Now returns more complete EXIF data"' spec/lib/mini_magick/image_spec.rb || die
+}


             reply	other threads:[~2025-02-02  7:05 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-02  7:04 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-23  8:40 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/mini_magick/ Hans de Graaff
2025-02-03  6:43 Hans de Graaff
2025-02-02  7:04 Hans de Graaff
2025-01-13  7:09 Hans de Graaff
2024-09-01  6:34 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
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=1738478960.ea9f47a61dfc1503cb68a8209b2f6177fcb6d595.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