summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-10-01 08:49:39 +0200
committerHans de Graaff <graaff@gentoo.org>2022-10-01 09:06:33 +0200
commitc01420dcc1e99df0f96e53df3e0c19cabf5ef209 (patch)
treef23b900939b46ca588706f7d2f5b8b292c95518a /dev-ruby/net-imap
parentdev-ruby/msgpack: add 1.6.0 (diff)
downloadgentoo-c01420dcc1e99df0f96e53df3e0c19cabf5ef209.tar.gz
gentoo-c01420dcc1e99df0f96e53df3e0c19cabf5ef209.tar.bz2
gentoo-c01420dcc1e99df0f96e53df3e0c19cabf5ef209.zip
dev-ruby/net-imap: add 0.3.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/net-imap')
-rw-r--r--dev-ruby/net-imap/Manifest1
-rw-r--r--dev-ruby/net-imap/net-imap-0.3.1.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/net-imap/Manifest b/dev-ruby/net-imap/Manifest
index 344ab1a4f1fa..d6e9b2ea74d4 100644
--- a/dev-ruby/net-imap/Manifest
+++ b/dev-ruby/net-imap/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-ruby/net-imap/net-imap-0.3.1.ebuild b/dev-ruby/net-imap/net-imap-0.3.1.ebuild
new file mode 100644
index 000000000000..5832ba3f62d4
--- /dev/null
+++ b/dev-ruby/net-imap/net-imap-0.3.1.ebuild
@@ -0,0 +1,33 @@
+# 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/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
+}