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