From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/pg: ChangeLog pg-0.11.0.ebuild |
Date: | Sat, 30 Apr 2011 06:54:19 |
Message-Id: | 20110430065408.A7C1C20054@flycatcher.gentoo.org |
1 | graaff 11/04/30 06:54:08 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pg-0.11.0.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.1.9.42/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.32 dev-ruby/pg/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pg/ChangeLog?rev=1.32&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pg/ChangeLog?rev=1.32&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pg/ChangeLog?r1=1.31&r2=1.32 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v |
20 | retrieving revision 1.31 |
21 | retrieving revision 1.32 |
22 | diff -u -r1.31 -r1.32 |
23 | --- ChangeLog 27 Apr 2011 05:48:15 -0000 1.31 |
24 | +++ ChangeLog 30 Apr 2011 06:54:08 -0000 1.32 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-ruby/pg |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.31 2011/04/27 05:48:15 graaff Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.32 2011/04/30 06:54:08 graaff Exp $ |
30 | + |
31 | +*pg-0.11.0 (30 Apr 2011) |
32 | + |
33 | + 30 Apr 2011; Hans de Graaff <graaff@g.o> +pg-0.11.0.ebuild: |
34 | + Version bump. |
35 | |
36 | 21 Apr 2011; Hans de Graaff <graaff@g.o> pg-0.9.0-r1.ebuild: |
37 | Add missing rdoc dependency, reported in bug 358723. |
38 | |
39 | |
40 | |
41 | 1.1 dev-ruby/pg/pg-0.11.0.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pg/pg-0.11.0.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pg/pg-0.11.0.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pg-0.11.0.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/pg-0.11.0.ebuild,v 1.1 2011/04/30 06:54:08 graaff Exp $ |
51 | |
52 | EAPI=2 |
53 | USE_RUBY="ruby18 ree18 ruby19" |
54 | |
55 | RUBY_FAKEGEM_TEST_TASK="" |
56 | |
57 | RUBY_FAKEGEM_TASK_DOC="apidocs" |
58 | RUBY_FAKEGEM_DOCDIR="docs/api" |
59 | RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors README" |
60 | |
61 | inherit ruby-fakegem |
62 | |
63 | DESCRIPTION="Ruby extension library providing an API to PostgreSQL" |
64 | HOMEPAGE="http://bitbucket.org/ged/ruby-pg/" |
65 | |
66 | LICENSE="|| ( GPL-2 Ruby )" |
67 | SLOT="0" |
68 | KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
69 | IUSE="" |
70 | |
71 | RDEPEND="${RDEPEND} |
72 | dev-db/postgresql-base" |
73 | DEPEND="${DEPEND} |
74 | dev-db/postgresql-base |
75 | test? ( dev-db/postgresql-server )" |
76 | |
77 | ruby_add_bdepend " |
78 | doc? ( |
79 | dev-ruby/rake-compiler |
80 | dev-ruby/rubygems |
81 | || ( >=dev-ruby/yard-0.6.1 dev-ruby/rdoc ) ) |
82 | test? ( dev-ruby/rspec:2 )" |
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 | cp ext/*.so lib || die |
95 | } |
96 | |
97 | each_ruby_test() { |
98 | if [[ "${EUID}" -ne "0" ]]; then |
99 | # Make the rspec call explicit, this way we don't have to depend |
100 | # on rake-compiler (nor rubygems) _and_ we don't have to rebuild |
101 | # the whole extension from scratch. |
102 | ${RUBY} -Ilib -S rspec -fs spec/*_spec.rb || die "spec failed" |
103 | else |
104 | ewarn "The userpriv feature must be enabled to run tests." |
105 | eerror "Testsuite will not be run." |
106 | fi |
107 | } |