Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libpqxx: libpqxx-3.0.2.ebuild ChangeLog
Date: Thu, 10 Sep 2009 13:10:46
Message-Id: E1MljQA-0002Nq-S2@stork.gentoo.org
1 patrick 09/09/10 13:10:42
2
3 Modified: ChangeLog
4 Added: libpqxx-3.0.2.ebuild
5 Log:
6 Bump to 3.0.2, fixes #265412.
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.63 dev-libs/libpqxx/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpqxx/ChangeLog?rev=1.63&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpqxx/ChangeLog?rev=1.63&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpqxx/ChangeLog?r1=1.62&r2=1.63
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/ChangeLog,v
19 retrieving revision 1.62
20 retrieving revision 1.63
21 diff -u -r1.62 -r1.63
22 --- ChangeLog 19 Jul 2009 11:55:30 -0000 1.62
23 +++ ChangeLog 10 Sep 2009 13:10:42 -0000 1.63
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-libs/libpqxx
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/ChangeLog,v 1.62 2009/07/19 11:55:30 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/ChangeLog,v 1.63 2009/09/10 13:10:42 patrick Exp $
29 +
30 +*libpqxx-3.0.2 (10 Sep 2009)
31 +
32 + 10 Sep 2009; Patrick Lauer <patrick@g.o> +libpqxx-3.0.2.ebuild:
33 + Bump to 3.0.2, fixes #265412.
34
35 19 Jul 2009; nixnut <nixnut@g.o> libpqxx-2.6.9.ebuild:
36 ppc stable #249248
37
38
39
40 1.1 dev-libs/libpqxx/libpqxx-3.0.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpqxx/libpqxx-3.0.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpqxx/libpqxx-3.0.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: libpqxx-3.0.2.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/libpqxx-3.0.2.ebuild,v 1.1 2009/09/10 13:10:42 patrick Exp $
50
51 EAPI="2"
52
53 inherit eutils
54
55 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
56
57 DESCRIPTION="C++ client API for PostgreSQL. The standard front-end for writing C++ programs that use PostgreSQL. Supersedes older libpq++ interface."
58 SRC_URI="http://pqxx.org/download/software/${PN}/${P}.tar.gz"
59 HOMEPAGE="http://pqxx.org/development/libpqxx/"
60 LICENSE="BSD"
61 SLOT="0"
62 IUSE=""
63
64 DEPEND="virtual/postgresql-base"
65 RDEPEND="${DEPEND}"
66
67 src_prepare() {
68 # should be safe enough to remove the lines directly from configure,
69 # since it's copied directly from configure.ac
70 sed -i \
71 -e 's/\(gcc_visibility\)=yes/\1=no/g' \
72 -e 's@\(#define PQXX_HAVE_GCC_VISIBILITY 1\)@/* \1 */@g' \
73 -e '/-Werror/d' \
74 configure || die "sed failed"
75 }
76
77 src_compile() {
78 econf --enable-shared || die "econf failed"
79 emake || die "emake failed"
80 }
81
82 src_install () {
83 emake DESTDIR="${D}" install || die "emake install failed"
84
85 dodoc AUTHORS ChangeLog NEWS README* TODO
86 dohtml -r doc/html/*
87 }
88
89 src_test() {
90 ewarn "The tests need a running PostgreSQL server and an existing database!"
91 ewarn "You can set the following environment variables to change the connection parameters:"
92 ewarn "PGDATABASE (default: username, probably root)"
93 ewarn "PGHOST (default: localhost)"
94 ewarn "PGPORT (default: pg's UNIX domain-socket)"
95 ewarn "PGUSER (default: username, probably root)"
96 epause 10
97
98 if [[ -n ${PGDATABASE} ]] ; then
99 cd "${S}/test"
100 # Working around a mysterious bug in gcc-4.1
101 sed -i -e 's/-O2/-O1/' Makefile
102 emake -j1 check || die "emake check failed"
103 else
104 ewarn "Tests skipped since PGDATABASE is not defined or empty"
105 fi
106 }