diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-ruby/maildir/maildir-2.2.2.ebuild | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-ruby/maildir/maildir-2.2.2.ebuild')
-rw-r--r-- | dev-ruby/maildir/maildir-2.2.2.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/maildir/maildir-2.2.2.ebuild b/dev-ruby/maildir/maildir-2.2.2.ebuild new file mode 100644 index 000000000000..18fa6f98b157 --- /dev/null +++ b/dev-ruby/maildir/maildir-2.2.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="README.rdoc" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A library for reading and writing arbitrary messages in DJB's maildir format" +HOMEPAGE="https://github.com/ktheory/maildir" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="2" +IUSE="test" + +ruby_add_bdepend " + test? ( >=dev-ruby/fakefs-0.3.2 dev-ruby/mail dev-ruby/shoulda-context dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/helper.rb || die + sed -i -e 's/shoulda/shoulda-context/' test/helper.rb || die + + # Avoid tests that appear to need activesupport for .blank? support + sed -i -e '/add and remove flags/,/^ end/ s:^:#:' test/test_message.rb || die + sed -i -e '/be removed from flag list/,/^ end/ s:^:#:' test/test_maildir.rb || die +} |