diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-04-04 06:40:42 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-04-04 06:40:42 +0200 |
commit | dc1cbc2330af82308d1c2beffb9da7ad12ca53b1 (patch) | |
tree | a23a68685ee4d5510572c2b227c3821ce4779117 /dev-ruby | |
parent | dev-ruby/date_validator: add 0.10.0 (diff) | |
download | gentoo-dc1cbc2330af82308d1c2beffb9da7ad12ca53b1.tar.gz gentoo-dc1cbc2330af82308d1c2beffb9da7ad12ca53b1.tar.bz2 gentoo-dc1cbc2330af82308d1c2beffb9da7ad12ca53b1.zip |
dev-ruby/maildir: add 2.2.2
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/maildir/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/maildir/maildir-2.2.2.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/maildir/Manifest b/dev-ruby/maildir/Manifest index 47c7eebf24fc..c8c79ba20fed 100644 --- a/dev-ruby/maildir/Manifest +++ b/dev-ruby/maildir/Manifest @@ -1 +1,2 @@ DIST maildir-2.2.1.gem 15360 BLAKE2B d3ea037ba38e83bc7b21bde9ccb2296fc922c3f657a73ad3637faf708cfa16ac75c2e6535714ba18b00aafc5a94265c56f6e086d25de5810c0a0112d6c876e1f SHA512 4c366333c802bbe0cbd19e6abaef1fa31ad84596518d24ddcc33aa3afe39890896d107bc864c68787c90c3a38115979f6a4fe8b442aecaead39306122d560f18 +DIST maildir-2.2.2.gem 15360 BLAKE2B 3e926057b4a625b95879a8ac91fbc5d0ae002ae7f4658c1a9b7a997a5071f30d05ff8e59df405139b0e3a0a060286c61112ca07671ae5e443b6eb2b2f0b33983 SHA512 90f4896cef297262d2bfafa9a2ec155d83f405114b80df8015cf0c6a5450e1b28807d073cf48b2ff03309bf2b7d50a77138cb524826cfb2c429b3c606e02c093 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 +} |