summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-12-04 19:49:05 +0000
committerHans de Graaff <graaff@gentoo.org>2010-12-04 19:49:05 +0000
commit522708a80d9870a630d68a280d21c8cc91c196c3 (patch)
treed397ca52c455a766a4fa30d776fdb1a39b8d4e40 /dev-ruby
parentVersion bump. (diff)
downloadhistorical-522708a80d9870a630d68a280d21c8cc91c196c3.tar.gz
historical-522708a80d9870a630d68a280d21c8cc91c196c3.tar.bz2
historical-522708a80d9870a630d68a280d21c8cc91c196c3.zip
Initial import. New dependency for Rails 3. Supersedes dev-ruby/tmail.
Package-Manager: portage-2.1.9.24/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/mail/ChangeLog10
-rw-r--r--dev-ruby/mail/Manifest14
-rw-r--r--dev-ruby/mail/mail-2.2.11.ebuild46
-rw-r--r--dev-ruby/mail/metadata.xml5
4 files changed, 75 insertions, 0 deletions
diff --git a/dev-ruby/mail/ChangeLog b/dev-ruby/mail/ChangeLog
new file mode 100644
index 000000000000..483bb25aa590
--- /dev/null
+++ b/dev-ruby/mail/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/mail
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mail/ChangeLog,v 1.1 2010/12/04 19:49:05 graaff Exp $
+
+*mail-2.2.11 (04 Dec 2010)
+
+ 04 Dec 2010; Hans de Graaff <graaff@gentoo.org> +mail-2.2.11.ebuild,
+ +metadata.xml:
+ Initial import. New dependency for Rails 3. Supersedes dev-ruby/tmail.
+
diff --git a/dev-ruby/mail/Manifest b/dev-ruby/mail/Manifest
new file mode 100644
index 000000000000..83c16872dc9c
--- /dev/null
+++ b/dev-ruby/mail/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST mail-2.2.11.tar.gz 644611 RMD160 bc5429ca784f7be9ea306848c53583dcd2f8d6a3 SHA1 5889362da576236c434e2c4cacfce3c199fb53d4 SHA256 e2123870c5f5ecb05a259efde8893b1bebf08aef928a229cff1b16e018891cec
+EBUILD mail-2.2.11.ebuild 1303 RMD160 7b09611897453ee1642b21bb1f7a15aa99f97a17 SHA1 692391c89077973252256cc3cb76204a95f041c5 SHA256 0e1e9fc6158b121dd3068de9e2b6f430810d6ddc83e9726557ab9af42e9d4d5b
+MISC ChangeLog 389 RMD160 9c055c8db76d923be1b94bff9022788a92b63063 SHA1 76fca72adb10188bd6d13c9158b266dbbfc2dd10 SHA256 8dadceab9872730f1cf1dcbae896ff24aedc9726cb11a356e56251ef12abd2e9
+MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iF4EAREIAAYFAkz6mzYACgkQppaJjIURYXIjKAEAuf0TK2qWXxRwopfC/AZS3XVg
+EH76iWetH5uewlhiLcIBALqneiMayiaRTp2IWiWllc1nZ4XMUYBBbV17AFKslnaQ
+=etIN
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/mail/mail-2.2.11.ebuild b/dev-ruby/mail/mail-2.2.11.ebuild
new file mode 100644
index 000000000000..0467bd3ffad8
--- /dev/null
+++ b/dev-ruby/mail/mail-2.2.11.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mail/mail-2.2.11.ebuild,v 1.1 2010/12/04 19:49:05 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ree18"
+
+RUBY_FAKEGEM_TASK_TEST="spec"
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc TODO.rdoc"
+
+inherit ruby-fakegem
+
+GITHUB_USER="mikel"
+
+DESCRIPTION="An email handling library"
+HOMEPAGE="https://github.com/mikel/mail"
+SRC_URI="https://github.com/${GITHUB_USER}/mail/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+S="${WORKDIR}/${GITHUB_USER}-${PN}-*"
+
+ruby_add_rdepend "
+ >=dev-ruby/activesupport-2.3.6
+ >=dev-ruby/i18n-0.5.0
+ >=dev-ruby/mime-types-1.16
+ >=dev-ruby/treetop-1.4.8"
+
+ruby_add_bdepend "test? ( dev-ruby/rspec:0 )"
+
+all_ruby_prepare() {
+ sed -i -e '/[Bb]undle/d' -e '6d' Rakefile || die "Unable to remove Bundler code."
+
+ # Include active_support for cattr_reader
+ # https://github.com/mikel/mail/issues/issue/159
+ echo 'require "active_support/core_ext/class/attribute_accessors"' >> spec/environment.rb
+
+ # Remove error email that isn't properly handled for now.
+ # https://github.com/mikel/mail/issues/issue/160
+ rm spec/fixtures/emails/error_emails/encoding_madness.eml || die
+}
diff --git a/dev-ruby/mail/metadata.xml b/dev-ruby/mail/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/mail/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>