commit: 4b77e0d98a2512b9824cb8f87614e6757b73ca10 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Wed Apr 30 15:29:00 2025 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Wed Apr 30 15:31:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b77e0d9
dev-ruby/net-imap: add 0.5.8 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/net-imap/Manifest | 1 + dev-ruby/net-imap/net-imap-0.5.8.ebuild | 42 +++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-ruby/net-imap/Manifest b/dev-ruby/net-imap/Manifest index 286b3ee95f22..612cdc127f03 100644 --- a/dev-ruby/net-imap/Manifest +++ b/dev-ruby/net-imap/Manifest @@ -2,3 +2,4 @@ DIST net-imap-0.4.19.tar.gz 261360 BLAKE2B 3266251edfa5c87ceeb105fbab9b435aa92e6 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 +DIST net-imap-0.5.8.tar.gz 299495 BLAKE2B b3cd46655fee9d4e4880b8e50ea164cc8b1154631ccedd86aff7a613df73a849cfb8576f1cdf90c4a352501933fd967d525e1f5d31187715793bcde9e2f9e38f SHA512 bd87d59f996b2fede494ca21f39921b62bb3801a8e09dada95170e7a5ad6306dd20c12f8880d5962cf75c46c29ae134c49a4f23e86c5b5143fed9548436a3555 diff --git a/dev-ruby/net-imap/net-imap-0.5.8.ebuild b/dev-ruby/net-imap/net-imap-0.5.8.ebuild new file mode 100644 index 000000000000..a438747e3934 --- /dev/null +++ b/dev-ruby/net-imap/net-imap-0.5.8.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 +}
