Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/pg: ChangeLog pg-0.9.0.ebuild pg-0.9.0_pre156.ebuild
Date: Mon, 26 Apr 2010 14:45:09
Message-Id: 20100426144504.2B7532C04C@corvid.gentoo.org
1 flameeyes 10/04/26 14:45:04
2
3 Modified: ChangeLog
4 Added: pg-0.9.0.ebuild
5 Removed: pg-0.9.0_pre156.ebuild
6 Log:
7 Bump to 0.9.0 final; testsuite only works with Ruby 1.8, but it builds fine with 1.9 as well.
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.11 dev-ruby/pg/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/pg/ChangeLog?rev=1.11&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/pg/ChangeLog?rev=1.11&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/pg/ChangeLog?r1=1.10&r2=1.11
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v
20 retrieving revision 1.10
21 retrieving revision 1.11
22 diff -u -r1.10 -r1.11
23 --- ChangeLog 19 Feb 2010 09:30:14 -0000 1.10
24 +++ ChangeLog 26 Apr 2010 14:45:03 -0000 1.11
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-ruby/pg
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.10 2010/02/19 09:30:14 flameeyes Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.11 2010/04/26 14:45:03 flameeyes Exp $
30 +
31 +*pg-0.9.0 (26 Apr 2010)
32 +
33 + 26 Apr 2010; Diego E. Pettenò <flameeyes@g.o>
34 + -pg-0.9.0_pre156.ebuild, +pg-0.9.0.ebuild:
35 + Bump to 0.9.0 final; testsuite only works with Ruby 1.8, but it builds
36 + fine with 1.9 as well.
37
38 *pg-0.9.0_pre156 (19 Feb 2010)
39
40
41
42
43 1.1 dev-ruby/pg/pg-0.9.0.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/pg/pg-0.9.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/pg/pg-0.9.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pg-0.9.0.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/pg/pg-0.9.0.ebuild,v 1.1 2010/04/26 14:45:04 flameeyes Exp $
53
54 EAPI=2
55 USE_RUBY="ruby18 ruby19"
56
57 RUBY_FAKEGEM_TEST_TASK="spec"
58
59 RUBY_FAKEGEM_TASK_DOC="rdoc"
60 RUBY_FAKEGEM_DOCDIR="docs/api"
61 RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors README"
62
63 inherit ruby-fakegem
64
65 DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
66 HOMEPAGE="http://bitbucket.org/ged/ruby-pg/"
67
68 LICENSE="|| ( GPL-2 Ruby )"
69 SLOT="0"
70 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
71 IUSE=""
72
73 RDEPEND="dev-db/postgresql-base"
74 DEPEND="${RDEPEND}
75 test? ( dev-db/postgresql-server )"
76
77 # For the rakefile (and thus doc generation and testing) to work as
78 # intended, you need both rake-compiler _and_ the real RubyGems
79 # package; what is shipped with Ruby 1.9 is not good enough as it
80 # lacks the packaging tasks for Rake.
81 ruby_add_bdepend doc "dev-ruby/rake-compiler dev-ruby/rubygems"
82 ruby_add_bdepend test "dev-ruby/rspec dev-ruby/rake-compiler dev-ruby/rubygems"
83
84 each_ruby_configure() {
85 pushd ext
86 ${RUBY} extconf.rb || die "extconf.rb failed"
87 popd
88 }
89
90 each_ruby_compile() {
91 pushd ext
92 emake CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" || die "emake failed"
93 popd
94 }