commit:     1671b7c7c78883e9b54521d624c5537ae46cae2c
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 24 05:25:53 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jun 24 05:29:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1671b7c7

dev-ruby/net-imap: add 0.4.14

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

 dev-ruby/net-imap/Manifest               |  1 +
 dev-ruby/net-imap/net-imap-0.4.14.ebuild | 39 ++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-ruby/net-imap/Manifest b/dev-ruby/net-imap/Manifest
index fefdbfe24634..23d34eee7278 100644
--- a/dev-ruby/net-imap/Manifest
+++ b/dev-ruby/net-imap/Manifest
@@ -3,3 +3,4 @@ DIST net-imap-0.4.10.tar.gz 241688 BLAKE2B 
459581055564669e99f40436b454a1a072de5
 DIST net-imap-0.4.11.tar.gz 243069 BLAKE2B 
7d8eb7ae4604358c408d855c731d4a99a4383f123abf6da9d4ba68414b470be6e4d511ebf10824b69563f7de73cbcb50a943b7a3d1221fadbb673a59f5428d8d
 SHA512 
7f6eb23edafc9ed47e84493a3bd5baaddd5ba6ff3c4c2a0afb6693f98d0ff2574495580d484077e8600a1a2351f8595865e8e6acecf8e0ba690b9122e59c7100
 DIST net-imap-0.4.12.tar.gz 243885 BLAKE2B 
d3ccd6f799671f2101c38fcba437ae3962a61a2fe4b73545fbeee5f10ad035c0819afb25e7617fdcfce88337b4c99c3c4d98eeae914a1fc77a90519430b4e889
 SHA512 
ad3b030ba5a7daf8831a34a0e0effe0780134d7c81aeb4025adb39f11dd97ba57bcddd555b9038a34bdcc809ea722d778e0368a26d04739e084f6d4b7714aed8
 DIST net-imap-0.4.13.tar.gz 247862 BLAKE2B 
a5bf43e86dade15e03c070ec9771c21ace8dc04504393fe768c289089e1891be4789475e45839ea5f1a2ae2257434dca394495f91340daf44e1610adf3f23d4b
 SHA512 
7bb04fea8e4b322e685a5233b0cf6da9e7b32a87297c075e46d9681d46c9bf52228295590f53cb00012a29bd8ebf488eaca748c312da674787c38e32d6555d6a
+DIST net-imap-0.4.14.tar.gz 251100 BLAKE2B 
577eb64bbbb2de8ae25b6840e88153f7398a86795ee26bb0900838ffc0a5c5d5962e3e51af3a4e40be77d25c7782d37d4380bb10c128b27ff7d459c0974c581e
 SHA512 
dba93392fb12870b10e6bd351091dfdd77f66a8e63b1ad9ef20e59a701194636ba44d91277fb105f24780677191637c122785599e880e7c175259f114edd4ae5

diff --git a/dev-ruby/net-imap/net-imap-0.4.14.ebuild 
b/dev-ruby/net-imap/net-imap-0.4.14.ebuild
new file mode 100644
index 000000000000..78de90b9b8ae
--- /dev/null
+++ b/dev-ruby/net-imap/net-imap-0.4.14.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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 ~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
+}

Reply via email to