summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-03-15 07:01:12 +0000
committerHans de Graaff <graaff@gentoo.org>2013-03-15 07:01:12 +0000
commit405d273cbbef97250bf3806ec9f022a765f8f526 (patch)
treef734baf05bf7c20452e62e18685a58f4aaaadd80 /dev-ruby/mail
parentMake things work (diff)
downloadhistorical-405d273cbbef97250bf3806ec9f022a765f8f526.tar.gz
historical-405d273cbbef97250bf3806ec9f022a765f8f526.tar.bz2
historical-405d273cbbef97250bf3806ec9f022a765f8f526.zip
Version bump.
Package-Manager: portage-2.1.11.52/cvs/Linux x86_64 Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/mail')
-rw-r--r--dev-ruby/mail/ChangeLog8
-rw-r--r--dev-ruby/mail/Manifest25
-rw-r--r--dev-ruby/mail/files/mail-2.5.3-utf8-ruby18.patch21
-rw-r--r--dev-ruby/mail/mail-2.5.3.ebuild42
4 files changed, 74 insertions, 22 deletions
diff --git a/dev-ruby/mail/ChangeLog b/dev-ruby/mail/ChangeLog
index 22194bb79ed8..11261bb177a4 100644
--- a/dev-ruby/mail/ChangeLog
+++ b/dev-ruby/mail/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/mail
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mail/ChangeLog,v 1.27 2013/01/16 00:21:20 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mail/ChangeLog,v 1.28 2013/03/15 07:01:02 graaff Exp $
+
+*mail-2.5.3 (15 Mar 2013)
+
+ 15 Mar 2013; Hans de Graaff <graaff@gentoo.org> +mail-2.5.3.ebuild,
+ +files/mail-2.5.3-utf8-ruby18.patch:
+ Version bump.
16 Jan 2013; Rick Farina <zerochaos@gentoo.org> mail-2.3.3.ebuild,
mail-2.4.4.ebuild:
diff --git a/dev-ruby/mail/Manifest b/dev-ruby/mail/Manifest
index 72cd58570d16..53e0d3451132 100644
--- a/dev-ruby/mail/Manifest
+++ b/dev-ruby/mail/Manifest
@@ -1,26 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
-
+AUX mail-2.5.3-utf8-ruby18.patch 634 SHA256 eec6eae758b8db499a4c88ab8bef3d26e0c3187a433c07b65fc5d5e7ca7d7682 SHA512 995b394096f31f30886cfcb86f53cb811a6b75311569b18811fe7582ac8923a45e1ca1b25ebc59fa884223156e6e9d374e2e2ac5e5255f6de5a1386610213ec6 WHIRLPOOL 127214cd7cce10c44452038618c5f344a0d5ff58f0c6b8fae067a538638d75b155c6899beb2f40864d88b596310c58966210be8de69ce490b5e2449c7a8e5d91
DIST mail-2.3.3-git.tar.gz 668618 SHA256 1adb276d2de312bd95fbe5552b9df2c3b802eedbdaaf25dbbbcd4cf45b5951e0 SHA512 b6478f9b63fe6855ff857443aab718ff9a66b6b603aa203f6cf6cc2a32ccd3c3b52d0ce8697c84285a209fd2cf30c31e12addffe1b7eb5326c806553817f0523 WHIRLPOOL 7a8f020c89d38343ce6305a6f926f709298093198a285dd5d7ae1d9f7bd728e19c3119abc293ede81aee63dde254cfa387972cffdc5df48c887fe7102a0585e1
DIST mail-2.4.4.tar.gz 677102 SHA256 2195c789c5178388f3ed5094ddad93683bac601fe3d9ecb13a3a9f9e7d97ba87 SHA512 aeb0075950d5938e1a972c9195ec836160c6c9f600aaa2c0e78c715aabf4000074bde311cc0c87a1f3edf237e5a6835299c23f3b903541a043134139472eae82 WHIRLPOOL e75e9e62602ca13658e16d096cc48921307c9035e1b42700eaee77d38c4f10891731d34e0984c8eb98d2d30320ac87fb64b5cf03bc1c88eeb11be5d172a594d8
+DIST mail-2.5.3-git.tar.gz 828104 SHA256 6608c1c5dd9fc58f8a167c834d14d272dfb721eac7356983cb9f64ce934048ab SHA512 210e8eb7c10b8636747980fbaef09a444a80fdba38fced326e6f9fcab6dc41e99a685c3a1472f887f22d875f4a5691364246e4975efe2a608cec657e3ad67bcf WHIRLPOOL 38ebe1ed453c2e01d22e170bf24f527aab65ef6a65c74448e6d9888d0b49a10bde406a1f9824806b42569c118b9efcc1f1a2ab598c4517f665ca21fb40de725f
EBUILD mail-2.3.3.ebuild 1631 SHA256 98d960c34750071828c5a26a1822e1c813c2a01f7a312c20b985a477e18a9421 SHA512 04d47d8b9006d3722ff606e85e9f9e35fcc9b322fb4f9cc0c4dd2ad2154d31fc505d322f543ce16b72990473f271d69831081cf491bc2883c250d9d11294cc31 WHIRLPOOL e3ce659ea7c47b0af839c196e34bea6052e919fdd618cb1b1ba8e5df297124fabd426b9d650a50407550418201c182c6f0f334e7207d1119f1a8a19de15fbc12
EBUILD mail-2.4.4.ebuild 1273 SHA256 9fbab6d220fa4d3c6435309aaf90bf49fbb25f991534bf3f001ca18ce84012dd SHA512 c318dd18d49e9dc3e8d8e9e23f62f727c17ff33fb3f2b8811868b2a0036c6e325d025bebbd011700c0d100547e259be6694764cb379b84c6780e5ad62e38cab8 WHIRLPOOL 45d3ba4b8a9b1761e01ffd6c9ea83f921e405846fb77069b8c406c7afb85925afd9ef003bb21fcae0d0007ba90dfd73eb080888cb219eca814420f273a53295b
-MISC ChangeLog 3583 SHA256 89e92a2a6863ed22fbed864ed650d4211836bd37a0bb5ef410c40e5889199faa SHA512 8b0b2eb5a6ffb4f1132d6d6de358b9241049631adb40ce820271054cd1ba960c809c0313f83b9869b3d363ad73e721b0883d2dcc285127253ddb2bdd9f9c398c WHIRLPOOL 791928a5ebfef8eaf4d32191f3ab29062ae012d4ec892ddfe2669f7b2d1f98d6e76dd1880bfd02625cfa5d463ffac82cc9b1ede1d85be63a0463b2f528e567fd
+EBUILD mail-2.5.3.ebuild 1291 SHA256 3dafddfc4474e93b87f41a441ffa351b5563785282e13ee77daec1aa716512ff SHA512 d0c82e948cdd7c3420f1e7488cac0e2c6e4ef4b0679ea47ac067f5bf25f2504ec79cb420ebc929c5620bde14a66089034bf5a53115e36e02ca37d5cea76de467 WHIRLPOOL fe6019fbe5061de9abccf3408652be605ed38c037c5127a943480ceb19f28320863c392b8cb9fe1c28d5bcab5ba105b7d2a69dc45ddf0a7c1f2b3fe5eac38e0c
+MISC ChangeLog 3733 SHA256 07d6409b87ad67a0063b32d9184d066a206ad4e70c4e49c5dd3d8d9d31cca432 SHA512 665450ed6fa62d45fedba5ac7575c1123389796aadb1507c10da519ddc601f8efa49347e4a6fb98c7413d3e8ac5ff6cbf68ae40cfaecd9ada66dcfcaa05196d5 WHIRLPOOL ff3ad62251778045c0ec868e64d257629f917a50fdba2d9d773dc2abf8ff49ea07a6b51786c4ed71726864a7b37b547838a83c36a21b2c9792f5589fa8dc004a
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iQIcBAEBCgAGBQJQ9fLDAAoJEKXdFCfdEflKgfQQAJLfOVW/CGlYy/0QbYJAd5In
-YWCvHZ/eXPoGzoJHtPQlXqA/zM9oFyzWL4/UJHG9wmwBaQoMr22ClU9fGKk7k1WS
-RL89g8f/nUyKIZMh7TEqtmeyIRqvUpT8/dK8ATjo8lt8yH1PDD+ywJtTNBLaFnNB
-ovd/5ugrUAZVYiKQ5gpqdV0y44h2UL63oEwL4iH+WMkebnl/Akwnmb05/sc0LXv9
-OsFLoPC5KTedcQvScp36FG/8jCL/JVjoBgcoi0qds+/KcZDFwOVezcNgR9cyvtas
-JfoKrlBjDV27J6eNsSsbY1q1+GaM8LZptOtWdyKfDjJfBOzN7ov5BjYzmpzfoP8v
-S3hd52+fP4LT70YHBPkApVN9Tj3j05YN9AjwzuAF3uu57qE/0AJfjSUtWAcmw9Qh
-PbuItI4IXrMek6uzLdZXdsm7mrE0FKuTbn08YERU/4cOqeflF4H3ZUjuOrOMmR5v
-D5JJuDQki2myC4SSLJszM9VVpFQpTvZHMGNDKHqscGptiCoG3FlP+1xSwM6cGsUk
-SKLY2fqh2bYAuoj1t357f4EjLqjgjBhkvuYdxtlSlWbi1dXLFPTEQzqoowWWyOO/
-6kh7uQgWn4qQFJRQduxmX5Tl0GXSDBAf4ssP/GY3rdsfZtBvlf8QmvbxV+u5YF5Y
-Q8/r8iT5Qaem8n0m+fDO
-=A1Iq
------END PGP SIGNATURE-----
diff --git a/dev-ruby/mail/files/mail-2.5.3-utf8-ruby18.patch b/dev-ruby/mail/files/mail-2.5.3-utf8-ruby18.patch
new file mode 100644
index 000000000000..61280fb0c9d4
--- /dev/null
+++ b/dev-ruby/mail/files/mail-2.5.3-utf8-ruby18.patch
@@ -0,0 +1,21 @@
+commit 819c4767cea5c8523938b27a29e48a7ab82b503d
+Author: kennyj <kennyj@gmail.com>
+Date: Fri Nov 30 00:22:08 2012 +0900
+
+ Fix build on Ruby18. We should specify endian for UTF16/32.
+
+diff --git a/lib/mail/version_specific/ruby_1_8.rb b/lib/mail/version_specific/ruby_1_8.rb
+index cb2bae6..f7c65bb 100644
+--- a/lib/mail/version_specific/ruby_1_8.rb
++++ b/lib/mail/version_specific/ruby_1_8.rb
+@@ -107,6 +107,10 @@ module Mail
+ case encoding.upcase
+ when 'UTF8'
+ 'UTF-8'
++ when 'UTF16', 'UTF-16'
++ 'UTF-16BE'
++ when 'UTF32', 'UTF-32'
++ 'UTF-32BE'
+ else
+ encoding
+ end
diff --git a/dev-ruby/mail/mail-2.5.3.ebuild b/dev-ruby/mail/mail-2.5.3.ebuild
new file mode 100644
index 000000000000..f42733504fbf
--- /dev/null
+++ b/dev-ruby/mail/mail-2.5.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mail/mail-2.5.3.ebuild,v 1.1 2013/03/15 07:01:02 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md ROADMAP TODO.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="mail.gemspec"
+
+inherit ruby-fakegem versionator
+
+GITHUB_USER="mikel"
+COMMIT="e8ec8d53c4f5c889691630d0422b9dc044762f1b"
+
+DESCRIPTION="An email handling library"
+HOMEPAGE="https://github.com/mikel/mail"
+SRC_URI="https://github.com/${GITHUB_USER}/mail/archive/${PV}.tar.gz -> ${P}-git.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RUBY_PATCHES=( "${P}-utf8-ruby18.patch" )
+
+ruby_add_rdepend "
+ >=dev-ruby/i18n-0.4.0
+ >=dev-ruby/mime-types-1.16
+ >=dev-ruby/treetop-1.4.8"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -i -e '/[Bb]undle/d' -e '6d' Rakefile || die "Unable to remove Bundler code."
+
+ # Fix up dependencies to match our own.
+ sed -i -e 's/~>/>=/' mail.gemspec || die "Unable to fix up dependencies."
+}