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/ruby-odbc: ruby-odbc-0.99991.ebuild ChangeLog
Date: Sun, 02 May 2010 06:43:45
Message-Id: 20100502064340.EC9E02C1CC@corvid.gentoo.org
1 graaff 10/05/02 06:43:40
2
3 Modified: ChangeLog
4 Added: ruby-odbc-0.99991.ebuild
5 Log:
6 Version bump with bug fixes.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.16 dev-ruby/ruby-odbc/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-odbc/ChangeLog?rev=1.16&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-odbc/ChangeLog?rev=1.16&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-odbc/ChangeLog?r1=1.15&r2=1.16
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-odbc/ChangeLog,v
19 retrieving revision 1.15
20 retrieving revision 1.16
21 diff -u -r1.15 -r1.16
22 --- ChangeLog 29 Jan 2010 12:50:03 -0000 1.15
23 +++ ChangeLog 2 May 2010 06:43:40 -0000 1.16
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-ruby/ruby-odbc
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-odbc/ChangeLog,v 1.15 2010/01/29 12:50:03 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-odbc/ChangeLog,v 1.16 2010/05/02 06:43:40 graaff Exp $
29 +
30 +*ruby-odbc-0.99991 (02 May 2010)
31 +
32 + 02 May 2010; Hans de Graaff <graaff@g.o> +ruby-odbc-0.99991.ebuild:
33 + Version bump with bug fixes.
34
35 29 Jan 2010; Diego E. Pettenò <flameeyes@g.o>
36 ruby-odbc-0.9998.ebuild:
37
38
39
40 1.1 dev-ruby/ruby-odbc/ruby-odbc-0.99991.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-odbc/ruby-odbc-0.99991.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-odbc/ruby-odbc-0.99991.ebuild?rev=1.1&content-type=text/plain
44
45 Index: ruby-odbc-0.99991.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-odbc/ruby-odbc-0.99991.ebuild,v 1.1 2010/05/02 06:43:40 graaff Exp $
50
51 EAPI=2
52
53 # ruby19 → fails to build
54 # jruby → uses C extensions
55 USE_RUBY="ruby18"
56
57 RUBY_FAKEGEM_TASK_TEST=""
58 RUBY_FAKEGEM_TASK_DOC=""
59 RUBY_FAKEGEM_EXTRADOC="README ChangeLog"
60
61 inherit ruby-fakegem
62
63 DESCRIPTION="RubyODBC - For accessing ODBC data sources from the Ruby language"
64 HOMEPAGE="http://www.ch-werner.de/rubyodbc/"
65 SRC_URI="http://www.ch-werner.de/rubyodbc/${P}.tar.gz"
66
67 LICENSE="|| ( GPL-2 Ruby )"
68 SLOT="0"
69 KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
70 IUSE=""
71
72 DEPEND=">=dev-db/unixODBC-2.0.6"
73 RDEPEND="${DEPEND}"
74
75 # tests require to have an ODBC service enabled, so we can't run them
76 # for now :(
77 RESTRICT=test
78
79 all_ruby_prepare() {
80 # Make sure that it doesn't try to use the absolute-local path for
81 # the extension as we'd be unable to run it properly otherwise.
82 sed -i -e 's:\./odbc:odbc:' test/{,utf8/}test.rb || die
83
84 # Since lib should not get installed avoid it entirely…
85 mv lib contrib || die
86 }
87
88 each_ruby_configure() {
89 for dir in ext ext/utf8; do
90 ${RUBY} -C${dir} extconf.rb || die "extconf (${dir}) failed"
91 done
92 }
93
94 each_ruby_compile() {
95 for dir in ext ext/utf8; do
96 emake -C${dir} || die "emake (${dir}) failed"
97 done
98 }
99
100 each_ruby_install() {
101 each_fakegem_install
102
103 ruby_fakegem_newins ext/odbc.so lib/odbc.so
104 ruby_fakegem_newins ext/utf8/odbc_utf8.so lib/odbc_utf8.so
105 }
106
107 all_ruby_install() {
108 all_fakegem_install
109 dohtml doc/*.html || die
110 }