commit: 787b2935597496c2ad22fa362b8ae2691683c2d1 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Fri Jun 26 06:07:59 2020 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Fri Jun 26 07:15:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=787b2935
dev-ruby/maildir: add 2.2.3 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/maildir/Manifest | 1 + dev-ruby/maildir/maildir-2.2.3.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/dev-ruby/maildir/Manifest b/dev-ruby/maildir/Manifest index c8c79ba20fe..b5d28f8540e 100644 --- a/dev-ruby/maildir/Manifest +++ b/dev-ruby/maildir/Manifest @@ -1,2 +1,3 @@ DIST maildir-2.2.1.gem 15360 BLAKE2B d3ea037ba38e83bc7b21bde9ccb2296fc922c3f657a73ad3637faf708cfa16ac75c2e6535714ba18b00aafc5a94265c56f6e086d25de5810c0a0112d6c876e1f SHA512 4c366333c802bbe0cbd19e6abaef1fa31ad84596518d24ddcc33aa3afe39890896d107bc864c68787c90c3a38115979f6a4fe8b442aecaead39306122d560f18 DIST maildir-2.2.2.gem 15360 BLAKE2B 3e926057b4a625b95879a8ac91fbc5d0ae002ae7f4658c1a9b7a997a5071f30d05ff8e59df405139b0e3a0a060286c61112ca07671ae5e443b6eb2b2f0b33983 SHA512 90f4896cef297262d2bfafa9a2ec155d83f405114b80df8015cf0c6a5450e1b28807d073cf48b2ff03309bf2b7d50a77138cb524826cfb2c429b3c606e02c093 +DIST maildir-2.2.3.gem 15360 BLAKE2B 915abb1ee50a4151f22e0de4e92ff42d3f06b059478f6a4193866714e170cc88740a714bef54a530d3b85bf318c7f46dda6f42b48b7ceadf09c55eea31f5f5c2 SHA512 5dea021c49711f744429c6e5ea78bbb10e3aae1338f780107a1784f6ae8d3c598f9d17b8e0fa555dde4058041dbc7905d62f9d49375d6c4b822a7e88ca065a77 diff --git a/dev-ruby/maildir/maildir-2.2.3.ebuild b/dev-ruby/maildir/maildir-2.2.3.ebuild new file mode 100644 index 00000000000..5e034bb678b --- /dev/null +++ b/dev-ruby/maildir/maildir-2.2.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +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 +}