commit:     be0ce017dc1501280f528ff55a367fbb2e26bf55
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 22 05:14:48 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Apr 22 05:14:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be0ce017

dev-ruby/net-imap: add 0.4.20, 0.5.7

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

 dev-ruby/net-imap/Manifest               |  2 ++
 dev-ruby/net-imap/net-imap-0.4.20.ebuild | 39 +++++++++++++++++++++++++++++
 dev-ruby/net-imap/net-imap-0.5.7.ebuild  | 42 ++++++++++++++++++++++++++++++++
 3 files changed, 83 insertions(+)

diff --git a/dev-ruby/net-imap/Manifest b/dev-ruby/net-imap/Manifest
index 821442fd3228..286b3ee95f22 100644
--- a/dev-ruby/net-imap/Manifest
+++ b/dev-ruby/net-imap/Manifest
@@ -1,2 +1,4 @@
 DIST net-imap-0.4.19.tar.gz 261360 BLAKE2B 
3266251edfa5c87ceeb105fbab9b435aa92e6ad714fc8a879725488fb06f5bad7db407231f0e30bc08f7b7c7709461b4d62285f103d333672ac82af2a82a0f2d
 SHA512 
dd033e6ba8efb47c2b1c74b2d02c90501152c74f361ab26441a371a2cff72d6344f4f48edeaa1088e4460d1ebd7143d6eb3520ad56d02c28f5c9e878d037477c
+DIST net-imap-0.4.20.tar.gz 268236 BLAKE2B 
f08faaa7e9d05f1e36ba1fb2e91c6e094d36a4f102677dff4e412710e0f6ada981937c9254c8232d8c194d2234a4338c189a7a3405eee4a0d6aacdbf14d00cf0
 SHA512 
3eb31fbc8fa781dd91a721e7060ebeb9d6937e9026479ab8a9d799ca695afe7f37266745a0b3317cb948a1ce6c1b451c56c5543802cb858d14c8a5cacbd374b1
 DIST net-imap-0.5.6.tar.gz 288841 BLAKE2B 
4ee63644b38c5e88ab6e901f6b8ee5a0622bcb241415bdcb22bd4436ff32125afe449ecf64fd937ab32cf8d5de536de0b196cc3268c4585dc124f16c059fb3f7
 SHA512 
39c10dc8c678383b3ac3d92196d8fe35bba6c766b842602e06bc8d601536c22b1e7d337930299936361b42a6c8223ce5b44c75e4c7b7cc4e42d0dcc447a8faca
+DIST net-imap-0.5.7.tar.gz 297274 BLAKE2B 
c072de5936e5f0bf4c60668d620d7da0f83f9e7fadb0c4dd47a11a2f199a1e665756c951ddc2016e22e48b93984f024074f51ce8e4d06f77ba36681cb8a797df
 SHA512 
cc65148da45cc6541af9db41907d396f5cdef37cac641743c791a100a8de8fdab8a84a360ab79369ad4bd9d057781c349922b75cd12366234b0e57f576511922

diff --git a/dev-ruby/net-imap/net-imap-0.4.20.ebuild 
b/dev-ruby/net-imap/net-imap-0.4.20.ebuild
new file mode 100644
index 000000000000..d1b5f524560a
--- /dev/null
+++ b/dev-ruby/net-imap/net-imap-0.4.20.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby32 ruby33 ruby34"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="net-imap.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby client api for Internet Message Access Protocol"
+HOMEPAGE="https://github.com/ruby/net-imap";
+SRC_URI="https://github.com/ruby/net-imap/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos 
~x64-solaris"
+IUSE="test"
+
+ruby_add_rdepend "
+       dev-ruby/date
+       dev-ruby/net-protocol
+"
+
+ruby_add_bdepend "test? (
+       dev-ruby/digest
+       dev-ruby/strscan
+       dev-ruby/test-unit
+       dev-ruby/test-unit-ruby-core
+)"
+
+all_ruby_prepare() {
+       sed -e 's/__dir__/"."/' \
+               -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
+               -e 's/git ls-files -z/find * -print0/' \
+               -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}

diff --git a/dev-ruby/net-imap/net-imap-0.5.7.ebuild 
b/dev-ruby/net-imap/net-imap-0.5.7.ebuild
new file mode 100644
index 000000000000..a438747e3934
--- /dev/null
+++ b/dev-ruby/net-imap/net-imap-0.5.7.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby32 ruby33 ruby34"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="net-imap.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby client api for Internet Message Access Protocol"
+HOMEPAGE="https://github.com/ruby/net-imap";
+SRC_URI="https://github.com/ruby/net-imap/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos 
~x64-solaris"
+IUSE="test"
+
+ruby_add_rdepend "
+       dev-ruby/date
+       dev-ruby/net-protocol
+"
+
+ruby_add_bdepend "test? (
+       dev-ruby/digest
+       dev-ruby/strscan
+       dev-ruby/test-unit
+       dev-ruby/test-unit-ruby-core
+)"
+
+all_ruby_prepare() {
+       sed -e 's/__dir__/"."/' \
+               -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
+               -e 's/git ls-files -z/find * -print0/' \
+               -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+       sed -e '/simplecov/,/^end/ s:^:#:' \
+               -i test/lib/helper.rb || die
+}

Reply via email to