summaryrefslogtreecommitdiff
path: root/dev-ruby/maildir
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-15 02:11:33 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-15 02:11:33 +0100
commit0fdd4074ff3dc0c507a9867380a4f91250a0b610 (patch)
tree83d3b64438d2f29b375d895f12b82d5c484db219 /dev-ruby/maildir
parent8fbd420dce8836e6503b162092e07b6a77a89f1d (diff)
gentoo resync : 15.10.2017
Diffstat (limited to 'dev-ruby/maildir')
-rw-r--r--dev-ruby/maildir/Manifest3
-rw-r--r--dev-ruby/maildir/maildir-2.2.1-r1.ebuild33
-rw-r--r--dev-ruby/maildir/metadata.xml11
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/maildir/Manifest b/dev-ruby/maildir/Manifest
new file mode 100644
index 000000000000..7993d17c231f
--- /dev/null
+++ b/dev-ruby/maildir/Manifest
@@ -0,0 +1,3 @@
+DIST maildir-2.2.1.gem 15360 SHA256 40739ec2778b54691a3b3d4040f75aa56804e1e5675ce9d4e42938312ef6b0c2 SHA512 4c366333c802bbe0cbd19e6abaef1fa31ad84596518d24ddcc33aa3afe39890896d107bc864c68787c90c3a38115979f6a4fe8b442aecaead39306122d560f18 WHIRLPOOL 6d1645435b13fb43f2b08902dd393ab4c5faf73e82916448b66a879327f1fa8f6dfb74a8746daa6b1288746712e22e744e0f886cec9ae29d0d33ff9468b279f4
+EBUILD maildir-2.2.1-r1.ebuild 961 SHA256 f05f1dbce6ee473db2d85c5112014951e10d0634a1e9ae532a69b2fab3fa9c5f SHA512 c1d4d90d6b83e00c1b0cd9bfebc136ec6407a4e975708acc589ef87302a18e1ccae497e34fb90c78a991f8220da7d4f8ce052bc8975bdc475e9263ae4848ed77 WHIRLPOOL 7263e14fa24b75a5cfbddc6620e430346cb1a229acd6ad6bc2a355c69e9938f4147dcca9e84759711bc9578f115e2ca22974a1ab2b7ccfcbe8891fc18fe43b0d
+MISC metadata.xml 341 SHA256 4ec03f75746e155fceb586e6dd95ef200155dfbe0d9db0a4a78bdfa5b98f306b SHA512 68ef596ba601b4886488bf164b786fc0deaca4a10441ac164bd6eef0502c12e380ca27215f6599660467fafcfc3b6183fb7ae0dd847888aa8919437896e6119b WHIRLPOOL 60e018bb47ed08e195d639041085d0e394d1af01696e3286d1fcd43c491ce336f50f479ab512a8a861ea9e3c28ceca578b54b41b168c764df6eef3dd6bc2ac39
diff --git a/dev-ruby/maildir/maildir-2.2.1-r1.ebuild b/dev-ruby/maildir/maildir-2.2.1-r1.ebuild
new file mode 100644
index 000000000000..58a9690259b9
--- /dev/null
+++ b/dev-ruby/maildir/maildir-2.2.1-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+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
+}
diff --git a/dev-ruby/maildir/metadata.xml b/dev-ruby/maildir/metadata.xml
new file mode 100644
index 000000000000..524f23aed803
--- /dev/null
+++ b/dev-ruby/maildir/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ktheory/maildir</remote-id>
+ </upstream>
+</pkgmetadata>