Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/tmail: ChangeLog tmail-1.2.7.1-r3.ebuild tmail-1.2.7.1-r2.ebuild
Date: Wed, 28 Dec 2011 08:16:07
Message-Id: 20111228081557.261462004B@flycatcher.gentoo.org
1 graaff 11/12/28 08:15:57
2
3 Modified: ChangeLog tmail-1.2.7.1-r2.ebuild
4 Added: tmail-1.2.7.1-r3.ebuild
5 Log:
6 Revision bump to drop ruby19 from stable version.
7
8 (Portage version: 2.1.10.41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.21 dev-ruby/tmail/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tmail/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tmail/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tmail/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/tmail/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 24 Jul 2011 17:41:07 -0000 1.20
24 +++ ChangeLog 28 Dec 2011 08:15:56 -0000 1.21
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-ruby/tmail
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tmail/ChangeLog,v 1.20 2011/07/24 17:41:07 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tmail/ChangeLog,v 1.21 2011/12/28 08:15:56 graaff Exp $
30 +
31 +*tmail-1.2.7.1-r3 (28 Dec 2011)
32 +
33 + 28 Dec 2011; Hans de Graaff <graaff@g.o> tmail-1.2.7.1-r2.ebuild,
34 + +tmail-1.2.7.1-r3.ebuild:
35 + Revision bump to drop ruby19 from stable version.
36
37 24 Jul 2011; Raúl Porcel <armin76@g.o> tmail-1.2.7.1-r2.ebuild:
38 ia64/sparc stable
39
40
41
42 1.8 dev-ruby/tmail/tmail-1.2.7.1-r2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tmail/tmail-1.2.7.1-r2.ebuild?rev=1.8&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tmail/tmail-1.2.7.1-r2.ebuild?rev=1.8&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tmail/tmail-1.2.7.1-r2.ebuild?r1=1.7&r2=1.8
47
48 Index: tmail-1.2.7.1-r2.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/tmail/tmail-1.2.7.1-r2.ebuild,v
51 retrieving revision 1.7
52 retrieving revision 1.8
53 diff -u -r1.7 -r1.8
54 --- tmail-1.2.7.1-r2.ebuild 24 Jul 2011 17:41:07 -0000 1.7
55 +++ tmail-1.2.7.1-r2.ebuild 28 Dec 2011 08:15:56 -0000 1.8
56 @@ -1,9 +1,9 @@
57 # Copyright 1999-2011 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tmail/tmail-1.2.7.1-r2.ebuild,v 1.7 2011/07/24 17:41:07 armin76 Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tmail/tmail-1.2.7.1-r2.ebuild,v 1.8 2011/12/28 08:15:56 graaff Exp $
61
62 EAPI=2
63 -USE_RUBY="ruby18 ree18 ruby19 jruby"
64 +USE_RUBY="ruby18 ree18 jruby"
65
66 RUBY_FAKEGEM_TASK_DOC="doc"
67 RUBY_FAKEGEM_DOCDIR="doc"
68
69
70
71 1.1 dev-ruby/tmail/tmail-1.2.7.1-r3.ebuild
72
73 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tmail/tmail-1.2.7.1-r3.ebuild?rev=1.1&view=markup
74 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tmail/tmail-1.2.7.1-r3.ebuild?rev=1.1&content-type=text/plain
75
76 Index: tmail-1.2.7.1-r3.ebuild
77 ===================================================================
78 # Copyright 1999-2011 Gentoo Foundation
79 # Distributed under the terms of the GNU General Public License v2
80 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/tmail/tmail-1.2.7.1-r3.ebuild,v 1.1 2011/12/28 08:15:56 graaff Exp $
81
82 EAPI=2
83 USE_RUBY="ruby18 ree18 ruby19 jruby"
84
85 RUBY_FAKEGEM_TASK_DOC="doc"
86 RUBY_FAKEGEM_DOCDIR="doc"
87 RUBY_FAKEGEM_EXTRADOC="README CHANGES NOTES"
88
89 inherit ruby-fakegem
90
91 DESCRIPTION="An email handling library"
92 HOMEPAGE="http://rubyforge.org/projects/tmail/"
93
94 LICENSE="MIT"
95 SLOT="0"
96 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
97 IUSE="debug"
98
99 # Tests seem to be broken with the new encoding handling from Ruby,
100 # need to be verified twice; code seems to work anyway.
101 RESTRICT=test
102
103 # Once it's added to portage, this should be added, right now it's
104 # bundled.
105 # ruby_add_rdepend dev-ruby/rchardet
106
107 ruby_add_bdepend "
108 dev-ruby/racc
109 test? ( >=dev-ruby/mocha-0.9.5 )"
110
111 all_ruby_prepare() {
112 # Provide file that is no longer distributed but still needed
113 mkdir meta || die "Failed to mkdir meta."
114 echo "tmail" > meta/unixname || die "Failed to create unixname file."
115 }
116
117 each_ruby_configure() {
118 case ${RUBY} in
119 *ruby18 | *rubyee18)
120 ${RUBY} -Cext/tmailscanner/tmail extconf.rb || die "extconf failed"
121 ;;
122 esac
123 }
124
125 each_ruby_compile() {
126 emake -C lib/tmail $(use debug && echo DEBUG=true) parser.rb || die "emake failed"
127
128 case ${RUBY} in
129 *ruby18 | *rubyee18)
130 emake -Cext/tmailscanner/tmail \
131 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" || die "emake extension failed"
132 ;;
133 esac
134 }
135
136 each_ruby_install() {
137 # We cannot use the recursive install because there are
138 # racc source files and a makefile.
139 find lib -name '*.rb' | while read file; do
140 ruby_fakegem_newins $file $file
141 done
142
143 [[ -f ext/tmailscanner/tmail/tmailscanner.so ]] && \
144 ruby_fakegem_newins ext/tmailscanner/tmail/tmailscanner.so lib/tmail/tmailscanner.so
145
146 ruby_fakegem_install_gemspec
147 }