Gentoo Archives: gentoo-commits

From: "Manuel Rueger (mrueg)" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/pg: pg-0.14.1.ebuild pg-0.18.2.ebuild ChangeLog
Date: Mon, 01 Jun 2015 21:29:15
Message-Id: 20150601212909.956C5A1C@oystercatcher.gentoo.org
1 mrueg 15/06/01 21:29:09
2
3 Modified: pg-0.14.1.ebuild ChangeLog
4 Added: pg-0.18.2.ebuild
5 Log:
6 Version bump. Drop ruby19 target.
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key )
9
10 Revision Changes Path
11 1.11 dev-ruby/pg/pg-0.14.1.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pg/pg-0.14.1.ebuild?rev=1.11&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pg/pg-0.14.1.ebuild?rev=1.11&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pg/pg-0.14.1.ebuild?r1=1.10&r2=1.11
16
17 Index: pg-0.14.1.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/pg/pg-0.14.1.ebuild,v
20 retrieving revision 1.10
21 retrieving revision 1.11
22 diff -u -r1.10 -r1.11
23 --- pg-0.14.1.ebuild 28 Dec 2014 15:45:53 -0000 1.10
24 +++ pg-0.14.1.ebuild 1 Jun 2015 21:29:09 -0000 1.11
25 @@ -1,13 +1,13 @@
26 -# Copyright 1999-2014 Gentoo Foundation
27 +# Copyright 1999-2015 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/pg-0.14.1.ebuild,v 1.10 2014/12/28 15:45:53 titanofold Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/pg-0.14.1.ebuild,v 1.11 2015/06/01 21:29:09 mrueg Exp $
31
32 EAPI=4
33 USE_RUBY="ruby19"
34
35 RUBY_FAKEGEM_RECIPE_TEST="rspec"
36
37 -RUBY_FAKEGEM_TASK_DOC="redocs"
38 +RUBY_FAKEGEM_RECIPE_DOC="rdoc"
39 RUBY_FAKEGEM_DOCDIR="doc"
40 RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
41
42
43
44
45 1.77 dev-ruby/pg/ChangeLog
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pg/ChangeLog?rev=1.77&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pg/ChangeLog?rev=1.77&content-type=text/plain
49 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pg/ChangeLog?r1=1.76&r2=1.77
50
51 Index: ChangeLog
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v
54 retrieving revision 1.76
55 retrieving revision 1.77
56 diff -u -r1.76 -r1.77
57 --- ChangeLog 28 Dec 2014 15:45:53 -0000 1.76
58 +++ ChangeLog 1 Jun 2015 21:29:09 -0000 1.77
59 @@ -1,6 +1,12 @@
60 # ChangeLog for dev-ruby/pg
61 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
62 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.76 2014/12/28 15:45:53 titanofold Exp $
63 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
64 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.77 2015/06/01 21:29:09 mrueg Exp $
65 +
66 +*pg-0.18.2 (01 Jun 2015)
67 +
68 + 01 Jun 2015; Manuel RĂ¼ger <mrueg@g.o> +pg-0.18.2.ebuild,
69 + pg-0.14.1.ebuild:
70 + Version bump. Drop ruby19 target.
71
72 28 Dec 2014; Aaron W. Swenson <titanofold@g.o> pg-0.14.1.ebuild,
73 pg-0.17.1.ebuild, pg-0.17.1-r1.ebuild:
74
75
76
77 1.1 dev-ruby/pg/pg-0.18.2.ebuild
78
79 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pg/pg-0.18.2.ebuild?rev=1.1&view=markup
80 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pg/pg-0.18.2.ebuild?rev=1.1&content-type=text/plain
81
82 Index: pg-0.18.2.ebuild
83 ===================================================================
84 # Copyright 1999-2015 Gentoo Foundation
85 # Distributed under the terms of the GNU General Public License v2
86 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/pg-0.18.2.ebuild,v 1.1 2015/06/01 21:29:09 mrueg Exp $
87
88 EAPI=5
89 # ruby19 test fail
90 USE_RUBY="ruby20 ruby21 ruby22"
91
92 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
93
94 RUBY_FAKEGEM_TASK_DOC="docs"
95 RUBY_FAKEGEM_DOCDIR="doc"
96 RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
97
98 inherit multilib ruby-fakegem
99
100 DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
101 HOMEPAGE="http://bitbucket.org/ged/ruby-pg/"
102
103 LICENSE="|| ( GPL-2 Ruby )"
104 SLOT="0"
105 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
106 IUSE=""
107
108 RDEPEND+=" dev-db/postgresql"
109 DEPEND+=" dev-db/postgresql
110 test? ( >=dev-db/postgresql-9.4[server,threads] )"
111
112 ruby_add_bdepend "
113 doc? (
114 dev-ruby/hoe
115 || ( >=dev-ruby/yard-0.6.1 dev-ruby/rdoc ) )"
116
117 all_ruby_prepare() {
118 # hack the Rakefile to make it sure that it doesn't load
119 # rake-compiler (so that we don't have to depend on it and it
120 # actually works when building with USE=doc).
121 sed -i \
122 -e '/Rakefile.cross/s:^:#:' \
123 -e '/ExtensionTask/,/^end$/ s:^:#:' \
124 Rakefile || die
125 }
126
127 each_ruby_configure() {
128 ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
129 }
130
131 each_ruby_compile() {
132 emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
133 cp ext/*$(get_libname) lib || die
134 }
135
136 each_ruby_test() {
137 if [[ "${EUID}" -ne "0" ]]; then
138 # Make the rspec call explicit, this way we don't have to depend
139 # on rake-compiler (nor rubygems) _and_ we don't have to rebuild
140 # the whole extension from scratch.
141 RSPEC_VERSION=3 ruby-ng_rspec
142 else
143 ewarn "The userpriv feature must be enabled to run tests."
144 eerror "Testsuite will not be run."
145 fi
146 }