summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-06-13 07:20:40 +0200
committerHans de Graaff <graaff@gentoo.org>2023-06-13 07:20:40 +0200
commit70a8b118f0a6d1ceea50555983fca7646ac389f2 (patch)
treeebd9e12300440810d007de7d43e25283f9ac7c11 /dev-ruby/net-imap
parentdev-ruby/test-unit: add 3.6.0 (diff)
downloadgentoo-70a8b118f0a6d1ceea50555983fca7646ac389f2.tar.gz
gentoo-70a8b118f0a6d1ceea50555983fca7646ac389f2.tar.bz2
gentoo-70a8b118f0a6d1ceea50555983fca7646ac389f2.zip
dev-ruby/net-imap: add 0.3.6
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.6.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/net-imap/Manifest b/dev-ruby/net-imap/Manifest
index b7846097a701..797b254cec3b 100644
--- a/dev-ruby/net-imap/Manifest
+++ b/dev-ruby/net-imap/Manifest
@@ -1,2 +1,3 @@
DIST net-imap-0.3.4.tar.gz 103226 BLAKE2B b08ee0ad9ad788c1a58e583b3e71cef6e13f6c4f35cc1a67909715a30b0797987f71b1a790e0ca3a2a4b0da3b23ac2451c5e0fb8217506eb0e050c2c2c624362 SHA512 ced2433212738e1c54b783602dc8ed79b0d6fabef0d830d12e4d1a8b7f1df896596499a4b986dab1ac8e1e389bf88f87c854ceafbe57b7ad1cf5c0db29223ba1
+DIST net-imap-0.3.6.tar.gz 138760 BLAKE2B b67ee9518ccd76f39cdf533564d94c70aac2e0ad7f52880d890828a0b478e27c0a6ddda251badddcded0d77d746f4263ae4a47c12f32fad94d1134afbeb47780 SHA512 6b8113aa41946d42efca117ea2af309a47ebe516dec3d127351762b473f9f507778cfe4c2c2a4a61e2522cb2c63ca013270f5e940564c2f1bf09ba194f0648d3
DIST rfc3454.txt 138684 BLAKE2B 56c850a7f5782c1447ae633ad9a380253b97925b9edeadbeb9001f4905157c353db967125dfb3bfef1e1bc2297142e5db424cb3b1325837ab4bb05db1f0f92a9 SHA512 79a85fede7df9202cbaf3fbb0bd59d951352c56208da2adf0baa5571ad92fd2153a6348000994b733c8a1bfdc93c38c86ed33708ecdef8571f20f906564384b6
diff --git a/dev-ruby/net-imap/net-imap-0.3.6.ebuild b/dev-ruby/net-imap/net-imap-0.3.6.ebuild
new file mode 100644
index 000000000000..e4e4ef92087c
--- /dev/null
+++ b/dev-ruby/net-imap/net-imap-0.3.6.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby30 ruby31 ruby32"
+
+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 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-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
+}