summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-06-02 07:38:46 +0200
committerHans de Graaff <graaff@gentoo.org>2024-06-02 07:41:11 +0200
commitdfd6d7f070d9484d97b27fa31e1045b217b9354c (patch)
tree8cae173eb3d8d889c206746ca611b8dd2e667848 /dev-ruby/net-imap
parentdev-ruby/net-ftp: drop 0.2.0 (diff)
downloadgentoo-dfd6d7f070d9484d97b27fa31e1045b217b9354c.tar.gz
gentoo-dfd6d7f070d9484d97b27fa31e1045b217b9354c.tar.bz2
gentoo-dfd6d7f070d9484d97b27fa31e1045b217b9354c.zip
dev-ruby/net-imap: add 0.4.12
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.4.12.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/net-imap/Manifest b/dev-ruby/net-imap/Manifest
index ab26aa25ac17..d6d26ee01552 100644
--- a/dev-ruby/net-imap/Manifest
+++ b/dev-ruby/net-imap/Manifest
@@ -1,3 +1,4 @@
DIST net-imap-0.3.7.tar.gz 138906 BLAKE2B d6bc143d3947ec8a97cd7e0628e05447574f83296c78275dc7414d9cc744e820bcb6b8917de9215152be8b6141f69d4d6a1ea9e2265791eb4989dcdcce09b10c SHA512 6917d3bd980bbca86938232a59104dd924ffe7ec2f095e8c997165c726ada8020c821b26a0e8748433df49cf8802c4a434c805bd27f415d1f2644ddea1a94db8
DIST net-imap-0.4.10.tar.gz 241688 BLAKE2B 459581055564669e99f40436b454a1a072de57fb64fc81ee55bee602ca6e3ed97c81cda1975d462b5d583264adad72803cfe801319ba8724fd8ae229cfb7ec68 SHA512 0f05588dc80cef7f121cbb40e2e9ddd6cd44e5ba96ca8451ea32339275d394f1233bc6a8bc30aa1de6852f49a469e0ee64a3821d08e12199e4af51fca4e79ccf
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
diff --git a/dev-ruby/net-imap/net-imap-0.4.12.ebuild b/dev-ruby/net-imap/net-imap-0.4.12.ebuild
new file mode 100644
index 000000000000..78de90b9b8ae
--- /dev/null
+++ b/dev-ruby/net-imap/net-imap-0.4.12.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
+}