summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-10-14 10:07:46 +0200
committerHans de Graaff <graaff@gentoo.org>2017-10-14 10:08:06 +0200
commit3bc719876c80841779ff9e65bf55c9368b70c66b (patch)
treea137955812361bd1f677e6049d3628f8753526d5 /dev-ruby/maildir
parentdev-ruby/gherkin: add 5.0.0 (diff)
downloadgentoo-3bc719876c80841779ff9e65bf55c9368b70c66b.tar.gz
gentoo-3bc719876c80841779ff9e65bf55c9368b70c66b.tar.bz2
gentoo-3bc719876c80841779ff9e65bf55c9368b70c66b.zip
dev-ruby/maildir: initial import of 2.2.1
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-ruby/maildir')
-rw-r--r--dev-ruby/maildir/Manifest1
-rw-r--r--dev-ruby/maildir/maildir-2.2.1.ebuild31
-rw-r--r--dev-ruby/maildir/metadata.xml11
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/maildir/Manifest b/dev-ruby/maildir/Manifest
new file mode 100644
index 000000000000..14e1e159ba93
--- /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 000000000000..069999013327
--- /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 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>