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/rubyzip/
Date: Sun, 05 Jan 2025 07:30:07 +0000 (UTC)	[thread overview]
Message-ID: <1736061898.5b12a2d68f96e5581a345685473d18cce2fee04d.graaff@gentoo> (raw)

commit:     5b12a2d68f96e5581a345685473d18cce2fee04d
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  5 07:24:28 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jan  5 07:24:58 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b12a2d6

dev-ruby/rubyzip: add 2.4

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

 dev-ruby/rubyzip/Manifest           |  1 +
 dev-ruby/rubyzip/rubyzip-2.4.ebuild | 53 +++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-ruby/rubyzip/Manifest b/dev-ruby/rubyzip/Manifest
index 218936ed3a05..a1ff55a08da3 100644
--- a/dev-ruby/rubyzip/Manifest
+++ b/dev-ruby/rubyzip/Manifest
@@ -1 +1,2 @@
 DIST rubyzip-2.3.2-git.tgz 225923 BLAKE2B ed901326cd0f79c8be004d9c14b32d7e67e90ab4d2d5b67dc64559fd4691dfb63cfa1ee18363a7cf864bd62559f1bc2fae71fc25ad1c727d7cc01f94d1ec62ee SHA512 6c64e53c1f5ca530abfa22baf388f87c8cf098d81cc9c639f20903e5193cf26243fbf861ac12002ae954f026e04168d8a55beeaf3ac5542bd0618ca85a5c90de
+DIST rubyzip-2.4-git.tgz 229877 BLAKE2B 3bbc47e714ac759427341d9cc79396643f29ad526d5807b99e12cc459a4e071ab777215dd1916f944f6953454fd886238d660e8384b8bfbff311acd4872fa281 SHA512 b1b7c17bef8c342763a6744847b6741344c905ec4100fe2810e8f2c9ac1435f526553980f48ce5cf2eade60681e97f6bc49b6a4ed8d17a92e3243b346b6a3362

diff --git a/dev-ruby/rubyzip/rubyzip-2.4.ebuild b/dev-ruby/rubyzip/rubyzip-2.4.ebuild
new file mode 100644
index 000000000000..b3adad400f1a
--- /dev/null
+++ b/dev-ruby/rubyzip/rubyzip-2.4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md TODO"
+
+RUBY_FAKEGEM_GEMSPEC="rubyzip.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="A ruby library for reading and writing zip files"
+HOMEPAGE="https://github.com/rubyzip/rubyzip"
+# Tests are not included in the gem.
+SRC_URI="https://github.com/rubyzip/rubyzip/archive/v${PV}.tar.gz -> ${P}-git.tgz"
+
+LICENSE="Ruby-BSD"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="test"
+
+DEPEND="test? ( app-arch/zip )"
+
+ruby_add_bdepend "test? ( dev-ruby/minitest:5 )"
+
+all_ruby_install() {
+	all_fakegem_install
+
+	docinto examples
+	dodoc samples/*
+}
+
+all_ruby_prepare() {
+	# Avoid dependencies on simplecov and coveralls
+	sed -i -e '/simplecov/ s:^:#:' test/test_helper.rb || die
+
+	# Avoid dependency on bundler
+	sed -i -e '/bundler/ s:^:#: ; /rubocop/I s:^:#:' Rakefile || die
+
+	# Fix hardcoded path to /tmp
+	sed -i -e "s:/tmp/:${T}/:g" test/entry_test.rb || die
+
+	# Add missing requires
+	sed -i -e '1irequire "forwardable"; require "pathname"' test/input_stream_test.rb || die
+
+	# Fix broken test that uses native endian
+	sed -i -e '/pack/ s/LLS/VVv/' test/file_extract_test.rb || die
+}


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

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-05  7:30 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-15  9:43 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubyzip/ Hans de Graaff
2024-12-31 13:58 Hans de Graaff
2023-12-27 11:23 Hans de Graaff
2023-07-14  5:46 Arthur Zamarin
2023-06-29  6:18 Sam James
2023-04-04 22:24 Sam James
2023-04-02 16:33 Sam James
2023-04-02 16:32 Sam James
2023-04-02 16:30 Sam James
2023-04-02 16:30 Sam James
2023-04-02  8:14 Jakov Smolić
2023-04-02  8:14 Jakov Smolić
2023-04-01 23:53 Sam James
2023-03-28 23:38 Sam James
2023-03-10  9:00 Arthur Zamarin
2023-03-07  3:46 WANG Xuerui
2023-03-05  8:42 Hans de Graaff
2022-07-30  8:22 Hans de Graaff
2022-04-30  9:08 Hans de Graaff
2022-03-21  7:38 Hans de Graaff
2021-12-19 12:36 Yixun Lan
2021-07-10  6:23 Hans de Graaff
2021-05-17  5:40 Hans de Graaff
2021-03-23  6:30 Hans de Graaff
2020-06-26 10:04 Sergei Trofimovich
2020-06-26  9:29 Hans de Graaff
2020-03-19 19:52 Hans de Graaff
2020-03-19 19:52 Hans de Graaff
2020-03-15  7:29 Hans de Graaff
2020-02-03 15:24 Agostino Sarubbo
2020-02-03 12:38 Agostino Sarubbo
2020-02-03 12:35 Agostino Sarubbo
2020-02-03 12:31 Agostino Sarubbo
2020-02-03 12:30 Agostino Sarubbo
2020-02-02  7:22 Hans de Graaff
2020-02-02  7:22 Hans de Graaff
2020-01-26  7:08 Hans de Graaff
2019-12-29  6:51 Hans de Graaff
2019-09-26  4:05 Hans de Graaff
2019-09-26  4:05 Hans de Graaff
2019-09-07  6:10 Hans de Graaff
2019-05-24  7:06 Hans de Graaff
2019-02-01  8:41 Hans de Graaff
2019-01-31 20:21 Markus Meier
2019-01-30 13:20 Tobias Klausmann
2019-01-24 22:22 Thomas Deutschmann
2019-01-23 20:53 Sergei Trofimovich
2019-01-22  6:16 Hans de Graaff
2019-01-21 23:31 Sergei Trofimovich
2019-01-21 23:28 Sergei Trofimovich
2019-01-20 18:43 Hans de Graaff
2018-09-01  6:59 Hans de Graaff
2018-02-07  6:30 Hans de Graaff
2017-07-29 14:32 Alexis Ballier
2017-04-02  6:22 Hans de Graaff
2017-03-11  8:31 Jeroen Roovers
2017-03-10 12:53 Agostino Sarubbo
2017-03-10 10:59 Agostino Sarubbo
2017-03-10  9:09 Agostino Sarubbo
2017-03-07 17:08 Michael Weber
2017-03-06 15:50 Tobias Klausmann
2017-03-05 10:25 Hans de Graaff
2017-02-09  6:03 Hans de Graaff
2017-01-04  7:02 Hans de Graaff
2016-06-04  3:50 Hans de Graaff
2016-04-03  6:56 Hans de Graaff
2016-04-03  6:56 Hans de Graaff
2016-01-15  6:41 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=1736061898.5b12a2d68f96e5581a345685473d18cce2fee04d.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