commit:     cf1ba051d103adb4c0fd6843002e12d3290bdd92
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 24 09:09:35 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 15:00:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf1ba051

dev-ruby/net-imap: add 0.3.4

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

 dev-ruby/net-imap/Manifest              |  1 +
 dev-ruby/net-imap/net-imap-0.3.4.ebuild | 34 +++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/dev-ruby/net-imap/Manifest b/dev-ruby/net-imap/Manifest
index d6e9b2ea74d4..1cfbe6b07819 100644
--- a/dev-ruby/net-imap/Manifest
+++ b/dev-ruby/net-imap/Manifest
@@ -1,2 +1,3 @@
 DIST net-imap-0.2.3.tar.gz 61440 BLAKE2B 
f38bed72777ad93b5a94361ca134644ae218f4a0cb3f26330a99dd5633d30f0f846f3fc4eeb01bc94c13bd5e553cb29f1ad03264987badf83b8f5404755c73ac
 SHA512 
69b6596a8ecc66788be10d11dad911351db6ff651f56e8dc5223f4c948efe0d2e53bd465ebf56edd96f1c414e3819413835c14b35a8e90b9f9ac59bfaa5611c6
 DIST net-imap-0.3.1.tar.gz 63981 BLAKE2B 
df3eca949e9736bebf6af27859c4198d05734762d8f1755fade685986f4248e05a09a6e4c48fd92d5f537a2f206bac6da75165f0c42171fa7bd533b908071d16
 SHA512 
b2f88b3fc2cd6ed6c0ed1e8c60100e84ac9a8c0406a780ff5b7b0f11440fb997e79dea0f67a15a139f9bb41e76bff5fcb60668fd1ed4be65142199a4d3c9e167
+DIST net-imap-0.3.4.tar.gz 103226 BLAKE2B 
b08ee0ad9ad788c1a58e583b3e71cef6e13f6c4f35cc1a67909715a30b0797987f71b1a790e0ca3a2a4b0da3b23ac2451c5e0fb8217506eb0e050c2c2c624362
 SHA512 
ced2433212738e1c54b783602dc8ed79b0d6fabef0d830d12e4d1a8b7f1df896596499a4b986dab1ac8e1e389bf88f87c854ceafbe57b7ad1cf5c0db29223ba1

diff --git a/dev-ruby/net-imap/net-imap-0.3.4.ebuild 
b/dev-ruby/net-imap/net-imap-0.3.4.ebuild
new file mode 100644
index 000000000000..67d85bbd0843
--- /dev/null
+++ b/dev-ruby/net-imap/net-imap-0.3.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+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="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "
+       dev-ruby/date
+       dev-ruby/net-protocol
+"
+
+ruby_add_bdepend "test? ( dev-ruby/digest dev-ruby/strscan )"
+
+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