mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 00:08:05 +03:00
dev-ruby/mail: add 2.9.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST mail-2.8.1-git.tar.gz 621412 BLAKE2B f39c3087bf5d064fd9a96b93ccac2fd0060c53a53c900658e3907dce311aabba8136ce96bcd4937f5a9852ed3d046e1354c3c2757330d80f9b3d0542fc27cd12 SHA512 2c176361285b17b10ab3e518502b05ac582f033f81fc45df0b61bfcb5b645ea22139ef3abf67240adb27a39834dfee59bb0777c6de5448c2fe2e52d5dde3465a
|
||||
DIST mail-2.9.0-git.tar.gz 621832 BLAKE2B c31550d4fb6c83e536364c27084f02df46e5877f26fd94d35b6005a75ab83dc0fe65d9953df5b2ac9dbd8f7004140d1fa716705b18e6be32f9fad0d6807aa051 SHA512 66f5c194550910d83f99a6d1c96c9052ca9ce82beabc8dbb07b3ca33bf4e42e6ee79dd2b081020834c2263ce23edbcebd0e950dd5a8340c2e7bf18e82b75a66d
|
||||
|
||||
43
dev-ruby/mail/mail-2.9.0.ebuild
Normal file
43
dev-ruby/mail/mail-2.9.0.ebuild
Normal file
@@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34"
|
||||
|
||||
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 ~x64-solaris"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/logger
|
||||
>=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
|
||||
|
||||
sed -e "s:_relative ': './:" \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC}
|
||||
}
|
||||
Reference in New Issue
Block a user