Version bump for the forthcoming Rails 2.3.6 release.
authorHans de Graaff <graaff@gentoo.org>
Sun, 23 May 2010 19:27:04 +0000 (19:27 +0000)
committerHans de Graaff <graaff@gentoo.org>
Sun, 23 May 2010 19:27:04 +0000 (19:27 +0000)
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64

dev-ruby/tmail/ChangeLog
dev-ruby/tmail/Manifest
dev-ruby/tmail/tmail-1.2.7.1.ebuild [new file with mode: 0644]

index f9092c7775284d0d470ec5a25fb399b4d8b88c5c..d516b6a225a85a5ebeaa9d25270e78da8bcabe1b 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-ruby/tmail
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tmail/ChangeLog,v 1.11 2010/05/22 22:40:08 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tmail/ChangeLog,v 1.12 2010/05/23 19:27:04 graaff Exp $
+
+*tmail-1.2.7.1 (23 May 2010)
+
+  23 May 2010; Hans de Graaff <graaff@gentoo.org> +tmail-1.2.7.1.ebuild:
+  Version bump for the forthcoming Rails 2.3.6 release.
 
   22 May 2010; Alex Legler <a3li@gentoo.org> tmail-1.2.3.1.ebuild:
   Add REE18 support
index 0682b5a8c68eb67a39236df074c7628ebf7196e0..ed3c18e13ca4f8a681fa667693616b65be8ae357 100644 (file)
@@ -2,13 +2,15 @@
 Hash: SHA1
 
 DIST tmail-1.2.3.1.gem 413184 RMD160 7a5657e6ae07405e0254157edd9b90a32969056e SHA1 e0fc65e1cb2853255a5addb4e1dfbe20238c351e SHA256 357171016ae9f33a3a214417865ba7f91f80203582f7e92ee0ef90c424bd3083
+DIST tmail-1.2.7.1.gem 446464 RMD160 e5f955be7413654313446f808f1dff2b4d133ee3 SHA1 409207eb0eba0e56c0002fc084ced9007f985f69 SHA256 9e4153e48c7f618ce6b22a44b5671ec5b9e49d16c693c3ee8b93397e9d78ca41
 EBUILD tmail-1.2.3.1.ebuild 1542 RMD160 7d5614cb434af640aa00972497baab4ce680fc9e SHA1 041c90a6fb8e32459c6378890229a066a9b5b88d SHA256 4d17b8c72222f8d84d07ea8dcee91bd3ac1fc8120d078b976fec0bb585dba703
-MISC ChangeLog 1352 RMD160 400e66de6b68baaec964383039020eaeed0f2cb7 SHA1 8f615e69956df846eb32005a0366d002d5387556 SHA256 1cdfdb171f71e202b57b40b946d80a20099e24783786e72bf3e6dd07ef68ef79
+EBUILD tmail-1.2.7.1.ebuild 1657 RMD160 e6951d693d1e122d28d0088838301c7f91d2d828 SHA1 55bd6366dbea16c75da40fd19cd1956c42c20f83 SHA256 325756500c21a6326ab667a895afc65560d019ee8feab10da482a11adce5dbc1
+MISC ChangeLog 1514 RMD160 23996b1b3789c91d7ebac18679913c4c7df1f01f SHA1 b08df77e2d66cba46e3bda8a31dfb148d6300aef SHA256 1aa18f1a747abca3c782b726591a26fdab95fd64a095e748c74482545004a0f6
 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.15 (GNU/Linux)
+Version: GnuPG v2.0.14 (GNU/Linux)
 
-iEYEARECAAYFAkv4XVEACgkQ+tgfDpkAy6CuZQCdE4A1t40/DdcQGqe2FadgODBL
-DmsAoIPnDtCHerzcGEDT939+cViMGjbx
-=g1cK
+iEYEARECAAYFAkv5gZIACgkQeM7EJeUH71OotwCffaTCKEtH2+BoDSMV9ksarMYu
+9NMAoJBUfYMK/3SVoK1LJx0nto8gxtMq
+=nIaM
 -----END PGP SIGNATURE-----
diff --git a/dev-ruby/tmail/tmail-1.2.7.1.ebuild b/dev-ruby/tmail/tmail-1.2.7.1.ebuild
new file mode 100644 (file)
index 0000000..aeeda20
--- /dev/null
@@ -0,0 +1,59 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tmail/tmail-1.2.7.1.ebuild,v 1.1 2010/05/23 19:27:04 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ree18 ruby19 jruby"
+
+RUBY_FAKEGEM_TASK_DOC="doc"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README CHANGES NOTES"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An email handling library"
+HOMEPAGE="http://rubyforge.org/projects/tmail/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-solaris ~x86-solaris"
+IUSE="debug"
+
+# Tests seem to be broken with the new encoding handling from Ruby,
+# need to be verified twice; code seems to work anyway.
+RESTRICT=test
+
+ruby_add_bdepend "
+       dev-ruby/racc
+       test? ( >=dev-ruby/mocha-0.9.5 )"
+
+all_ruby_prepare() {
+       # Provide file that is no longer distributed but still needed
+       mkdir meta || die "Failed to mkdir meta."
+       echo "tmail" > meta/unixname || die "Failed to create unixname file."
+}
+
+each_ruby_compile() {
+       if [[ $(basename ${RUBY}) == "ruby18" ]]; then
+               pushd ext/tmailscanner/tmail
+               ${RUBY} extconf.rb || die "extconf failed"
+               emake || die "emake extension failed"
+               popd
+       fi
+
+       emake -C lib/tmail $(use debug && echo DEBUG=true) parser.rb || die "emake failed"
+}
+
+each_ruby_install() {
+       # We cannot use the recursive install because there are
+       # racc source files and a makefile.
+       find lib -name '*.rb' | while read file; do
+               ruby_fakegem_newins $file $file
+       done
+
+       if [[ $(basename ${RUBY}) == "ruby18" ]]; then
+               ruby_fakegem_newins ext/tmailscanner/tmail/tmailscanner.so lib/tmail/tmailscanner.so
+       fi
+
+       ruby_fakegem_genspec
+}