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