summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-12-04 07:52:02 +0100
committerHans de Graaff <graaff@gentoo.org>2022-12-04 07:54:45 +0100
commit7ffd705af7039f99a73d712cb1fac2c8824de3fc (patch)
tree4d91dc14a33d2871450e640e455f3be2307730ab /dev-ruby/mail
parentdev-ruby/sus: add 0.15.1 (diff)
downloadgentoo-7ffd705af7039f99a73d712cb1fac2c8824de3fc.tar.gz
gentoo-7ffd705af7039f99a73d712cb1fac2c8824de3fc.tar.bz2
gentoo-7ffd705af7039f99a73d712cb1fac2c8824de3fc.zip
dev-ruby/mail: add 2.8.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/mail')
-rw-r--r--dev-ruby/mail/Manifest1
-rw-r--r--dev-ruby/mail/mail-2.8.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/mail/Manifest b/dev-ruby/mail/Manifest
index 8063e96e4fd4..6b88534462a9 100644
--- a/dev-ruby/mail/Manifest
+++ b/dev-ruby/mail/Manifest
@@ -1 +1,2 @@
DIST mail-2.7.1-git.tar.gz 625251 BLAKE2B c1efbb259042155e983c1971fe9821eb0dd850089bd04cb0c74513f6f17dabf8ecc3155d9e5846ae657383f522872323f8fba37d51fba4318ac682d18a6d4c50 SHA512 17c601c86715135331f750048339a11a67a17f34486dbafa3ba7e9af9970d60927a2fa95c72a398418548df1fdf5addb2ed3afe9da7dff1f0bd949438726be1b
+DIST mail-2.8.0-git.tar.gz 620136 BLAKE2B 4c115ddf92ef18c7889d391d264bf4c0be37be4849accf6e4778cc50317a4c0cd5f042c465f4f7862ca33e1de166b35bcb6d6e08e3fe44cce6aecbf1c1f9380e SHA512 ac60d72d16dd75fb5e8474900e069d5f711ce66340582a96d1f79ba582841cb82b212637053f45d1014997776ff411cbc8f9c19e06f024f6aa59b09c50c02583
diff --git a/dev-ruby/mail/mail-2.8.0.ebuild b/dev-ruby/mail/mail-2.8.0.ebuild
new file mode 100644
index 000000000000..705af4c7621c
--- /dev/null
+++ b/dev-ruby/mail/mail-2.8.0.ebuild
@@ -0,0 +1,39 @@
+# 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_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md"
+
+RUBY_FAKEGEM_GEMSPEC="mail.gemspec"
+
+inherit ruby-fakegem
+
+GITHUB_USER="mikel"
+
+DESCRIPTION="An email handling library"
+HOMEPAGE="https://github.com/mikel/mail"
+SRC_URI="https://github.com/${GITHUB_USER}/mail/archive/${PV}.tar.gz -> ${P}-git.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/mini_mime-0.1.1
+ dev-ruby/net-imap
+ dev-ruby/net-pop
+ dev-ruby/net-smtp
+"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -i -e '/[Bb]undle/d' -e '6d' Rakefile || die "Unable to remove Bundler code."
+
+ sed -i -e '/benchmark/I s:^:#:' spec/spec_helper.rb || die
+}