commit:     3bc719876c80841779ff9e65bf55c9368b70c66b
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 14 08:07:46 2017 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Oct 14 08:08:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bc71987

dev-ruby/maildir: initial import of 2.2.1

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-ruby/maildir/Manifest             |  1 +
 dev-ruby/maildir/maildir-2.2.1.ebuild | 31 +++++++++++++++++++++++++++++++
 dev-ruby/maildir/metadata.xml         | 11 +++++++++++
 3 files changed, 43 insertions(+)

diff --git a/dev-ruby/maildir/Manifest b/dev-ruby/maildir/Manifest
new file mode 100644
index 00000000000..14e1e159ba9
--- /dev/null
+++ b/dev-ruby/maildir/Manifest
@@ -0,0 +1 @@
+DIST maildir-2.2.1.gem 15360 SHA256 
40739ec2778b54691a3b3d4040f75aa56804e1e5675ce9d4e42938312ef6b0c2 SHA512 
4c366333c802bbe0cbd19e6abaef1fa31ad84596518d24ddcc33aa3afe39890896d107bc864c68787c90c3a38115979f6a4fe8b442aecaead39306122d560f18
 WHIRLPOOL 
6d1645435b13fb43f2b08902dd393ab4c5faf73e82916448b66a879327f1fa8f6dfb74a8746daa6b1288746712e22e744e0f886cec9ae29d0d33ff9468b279f4

diff --git a/dev-ruby/maildir/maildir-2.2.1.ebuild 
b/dev-ruby/maildir/maildir-2.2.1.ebuild
new file mode 100644
index 00000000000..06999901332
--- /dev/null
+++ b/dev-ruby/maildir/maildir-2.2.1.ebuild
@@ -0,0 +1,31 @@
+# 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"
+
+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 00000000000..524f23aed80
--- /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>[email protected]</email>
+    <name>Gentoo Ruby Project</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">ktheory/maildir</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to