summaryrefslogtreecommitdiff
path: root/dev-ruby/maildir
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-01 11:14:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-01 11:14:56 +0100
commitc952bf4dc186a298c5ef1596e2c52642072db500 (patch)
tree0b0b9cc4cdda7b2f9d62548ba883329cf6c15274 /dev-ruby/maildir
parent97c0860d9b4db72365710e1b8ed20644d6f5e926 (diff)
gentoo auto-resync : 01:04:2023 - 11:14:56
Diffstat (limited to 'dev-ruby/maildir')
-rw-r--r--dev-ruby/maildir/Manifest1
-rw-r--r--dev-ruby/maildir/maildir-2.2.3-r1.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/maildir/Manifest b/dev-ruby/maildir/Manifest
index 3bcceff37051..00fa9554b182 100644
--- a/dev-ruby/maildir/Manifest
+++ b/dev-ruby/maildir/Manifest
@@ -1,3 +1,4 @@
DIST maildir-2.2.3.gem 15360 BLAKE2B 915abb1ee50a4151f22e0de4e92ff42d3f06b059478f6a4193866714e170cc88740a714bef54a530d3b85bf318c7f46dda6f42b48b7ceadf09c55eea31f5f5c2 SHA512 5dea021c49711f744429c6e5ea78bbb10e3aae1338f780107a1784f6ae8d3c598f9d17b8e0fa555dde4058041dbc7905d62f9d49375d6c4b822a7e88ca065a77
+EBUILD maildir-2.2.3-r1.ebuild 926 BLAKE2B bf4287c0b858f753d4262fa367aa7fd3d60be757f4f265dbefd014fa4fc7e19cbf25be9f0ee7a88c5ad8c8819652a2d3fe392ca270313e35efae02ef5be2963b SHA512 dfda54a35384a5ce35df6dcb9cad01f0be9ff969850e81e8023f0cb509aa317cb2d41e05ae87fb19a3e705957d31c92801aba282ac342d9f8d86104e2f9c46b6
EBUILD maildir-2.2.3.ebuild 933 BLAKE2B a60c83ea234b82e83d8b165a8610a57b1c14a830265569dad729a6a59bb06a66273e19ea96d92e603bbf96b276c57fa3903542d10338cdd7c0a5cc4dee7b01b7 SHA512 e1dfc8d553d623be3e3405fb3cb2b756064c143ef0f9918b8f15690e09b0aad65f2455301dda0f8966d1e2ddf00328ab98c4d259e15bbf5408e3490e5864fc2e
MISC metadata.xml 342 BLAKE2B dd433dccf8efe7c9c0dbe73d2b5f9bfef1a3c074fd6b2a1109754492c3c9b701483abf3cde5188a4800e2489fa297774328154e158c10cbf938d8a68d9a3f998 SHA512 41d8024859cf511ec93f2e16cf09d1e87e46943d2435928ab9625d128091650495d5e89b2faa9b9bf477e629d0a2e11d182a0eac4f69265efa7bd328d20e6c57
diff --git a/dev-ruby/maildir/maildir-2.2.3-r1.ebuild b/dev-ruby/maildir/maildir-2.2.3-r1.ebuild
new file mode 100644
index 000000000000..64299a337221
--- /dev/null
+++ b/dev-ruby/maildir/maildir-2.2.3-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+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
+}