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_pre156.ebuild
Date: Fri, 19 Feb 2010 09:30:19
Message-Id: E1NiPBe-0006Vz-UI@stork.gentoo.org
1 flameeyes 10/02/19 09:30:14
2
3 Modified: ChangeLog
4 Added: pg-0.9.0_pre156.ebuild
5 Log:
6 Add pre-release of the 0.9 series gem. Documentation generation is disabled since this package has even more broken Rakefile, reported upstream and will hopefully be fixed before 0.9 final.
7 (Portage version: 2.2_rc62/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.10 dev-ruby/pg/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/pg/ChangeLog?rev=1.10&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/pg/ChangeLog?rev=1.10&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/pg/ChangeLog?r1=1.9&r2=1.10
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v
19 retrieving revision 1.9
20 retrieving revision 1.10
21 diff -u -r1.9 -r1.10
22 --- ChangeLog 13 Feb 2010 20:43:30 -0000 1.9
23 +++ ChangeLog 19 Feb 2010 09:30:14 -0000 1.10
24 @@ -1,6 +1,14 @@
25 # ChangeLog for dev-ruby/pg
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.9 2010/02/13 20:43:30 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.10 2010/02/19 09:30:14 flameeyes Exp $
29 +
30 +*pg-0.9.0_pre156 (19 Feb 2010)
31 +
32 + 19 Feb 2010; Diego E. Pettenò <flameeyes@g.o>
33 + +pg-0.9.0_pre156.ebuild:
34 + Add pre-release of the 0.9 series gem. Documentation generation is
35 + disabled since this package has even more broken Rakefile, reported
36 + upstream and will hopefully be fixed before 0.9 final.
37
38 13 Feb 2010; Raúl Porcel <armin76@g.o> pg-0.8.0.ebuild:
39 Add ~ia64/~sparc
40
41
42
43 1.1 dev-ruby/pg/pg-0.9.0_pre156.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/pg/pg-0.9.0_pre156.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/pg/pg-0.9.0_pre156.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pg-0.9.0_pre156.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_pre156.ebuild,v 1.1 2010/02/19 09:30:14 flameeyes Exp $
53
54 EAPI=2
55 USE_RUBY="ruby18 ruby19"
56
57 # Tests will always fail because they need access to the pgsql server
58 RUBY_FAKEGEM_TEST_TASK="spec"
59 RESTRICT="test"
60
61 # Disable documentation generation, until upstream problems with the
62 # build system are fixed, see:
63 # http://bitbucket.org/ged/ruby-pg/issue/15/080-gem-has-broken-rakefile
64 RUBY_FAKEGEM_TASK_DOC=""
65 RUBY_FAKEGEM_DOCDIR="doc/rdoc"
66 RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors README"
67
68 inherit ruby-fakegem
69
70 DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
71 HOMEPAGE="http://bitbucket.org/ged/ruby-pg/"
72
73 LICENSE="|| ( GPL-2 Ruby )"
74 SLOT="0"
75 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
76 IUSE=""
77
78 RDEPEND="dev-db/postgresql-base"
79 DEPEND="${RDEPEND}"
80
81 each_ruby_compile() {
82 pushd "${S}"/ext
83 ${RUBY} extconf.rb || die "extconf.rb failed"
84 emake || die "emake failed"
85 popd
86 }
87
88 each_ruby_install() {
89 ruby_fakegem_newins ext/pg_ext.so lib/pg_ext.so
90 each_fakegem_install
91 }