summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-11-22 08:09:20 +0100
committerHans de Graaff <graaff@gentoo.org>2023-11-22 08:09:33 +0100
commitaa1344bee2719e8235e49eb15f262f05f7a78a2a (patch)
tree82fc8d2fa4f055aa4d52a7fde41143c5ff52dc13 /dev-ruby
parentdev-ruby/faraday: add 2.7.12 (diff)
downloadgentoo-aa1344bee2719e8235e49eb15f262f05f7a78a2a.tar.gz
gentoo-aa1344bee2719e8235e49eb15f262f05f7a78a2a.tar.bz2
gentoo-aa1344bee2719e8235e49eb15f262f05f7a78a2a.zip
dev-ruby/net-imap: add 0.4.6
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/net-imap/Manifest1
-rw-r--r--dev-ruby/net-imap/net-imap-0.4.6.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/net-imap/Manifest b/dev-ruby/net-imap/Manifest
index 7a29ab1baadc..0d102f30cf66 100644
--- a/dev-ruby/net-imap/Manifest
+++ b/dev-ruby/net-imap/Manifest
@@ -4,3 +4,4 @@ DIST net-imap-0.4.2.tar.gz 196932 BLAKE2B ab58a3c2a5cea223f23f7325b9b632157dea48
DIST net-imap-0.4.3.tar.gz 204911 BLAKE2B bed0cc6f61dc328161f48b97a23e83724956b449aa95a119ba45efbc94d68ab8a676b9e4a00f2ec5300ce5049cb732e1953532a9a4f327fe09d9deb63207a151 SHA512 f294b1455514a47a30456dd1d6b58404138f15ca5de61b5a24774836ccd0227f41900921814d608a7132a02053a296b0ddc9760a3a7058c6699c7959d92ad121
DIST net-imap-0.4.4.tar.gz 205669 BLAKE2B 995657acbbab35f74da8c8d09f6cb82f0d44bb4a111ca3e413de9f092ba291a44f4c2732acb7dc869b7794f3d2af56b96c00cd4f7601112cc691a2b077a6c43e SHA512 4468c0b4b1f2b5eb99fb3c06f421751eb8e156a14fcd68efcfbda7190be542e03ccfd0b21b8944eaed3b92763df4552e58a1d2f9b5952d8199150fcc6964c877
DIST net-imap-0.4.5.tar.gz 218668 BLAKE2B 14d6c77d566b4c8dd93844c788fa330e2e2c5b7936c494e8881f3e8167e3988b047cc66d53f7faee24c81fb647dfa8510ddc75f86aa405216fd9cfad699cd34e SHA512 2480aca844cab769f8ae1544ed91cb451c426f58d35a8f117f6684f0af20d56ca2f7373a045144be5e6e781507941901ade55ee439c307f37d9ccec0418a833e
+DIST net-imap-0.4.6.tar.gz 219179 BLAKE2B 8b354156c672d308849b4b082ea980113f502d384be1f40004b7b4caef222a9647332baf9972df563d0b59d89d6e6faf0fb62c26dcb9812349840e5f97a3d801 SHA512 d4a3f0f47b8b7006232a88406f446ab799e2172bf2b058a22e594369d03dbebd81cf0fb44062d05a10c020ae0b9cecbd9964498a3f3c56a4d8a011e418fa549a
diff --git a/dev-ruby/net-imap/net-imap-0.4.6.ebuild b/dev-ruby/net-imap/net-imap-0.4.6.ebuild
new file mode 100644
index 000000000000..ff9ad346395a
--- /dev/null
+++ b/dev-ruby/net-imap/net-imap-0.4.6.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="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="$(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=""
+
+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
+}