1 |
titanofold 12/01/29 15:28:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libpqxx-4.0-r1.ebuild |
5 |
Removed: libpqxx-3.0.2.ebuild libpqxx-2.6.8.ebuild |
6 |
libpqxx-3.1-r2.ebuild libpqxx-3.1-r3.ebuild |
7 |
Log: |
8 |
Cleanup outdated ebuilds and patches. Fix bug 397407. |
9 |
|
10 |
(Portage version: 2.1.10.41/cvs/Linux i686) |
11 |
|
12 |
Revision Changes Path |
13 |
1.79 dev-libs/libpqxx/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpqxx/ChangeLog?rev=1.79&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpqxx/ChangeLog?rev=1.79&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpqxx/ChangeLog?r1=1.78&r2=1.79 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/ChangeLog,v |
22 |
retrieving revision 1.78 |
23 |
retrieving revision 1.79 |
24 |
diff -u -r1.78 -r1.79 |
25 |
--- ChangeLog 15 Jan 2012 16:34:13 -0000 1.78 |
26 |
+++ ChangeLog 29 Jan 2012 15:28:47 -0000 1.79 |
27 |
@@ -1,6 +1,14 @@ |
28 |
# ChangeLog for dev-libs/libpqxx |
29 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/ChangeLog,v 1.78 2012/01/15 16:34:13 armin76 Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/ChangeLog,v 1.79 2012/01/29 15:28:47 titanofold Exp $ |
32 |
+ |
33 |
+*libpqxx-4.0-r1 (29 Jan 2012) |
34 |
+ |
35 |
+ 29 Jan 2012; Aaron W. Swenson <titanofold@g.o> |
36 |
+ -files/libpqxx-2.5.1-gentoo.patch, -libpqxx-2.6.8.ebuild, |
37 |
+ -libpqxx-3.0.2.ebuild, -libpqxx-3.1-r2.ebuild, -libpqxx-3.1-r3.ebuild, |
38 |
+ -files/libpqxx-3.1-gcc46.patch, +libpqxx-4.0-r1.ebuild: |
39 |
+ Cleanup outdated ebuilds and patches. Fix bug 397407. |
40 |
|
41 |
15 Jan 2012; Raúl Porcel <armin76@g.o> libpqxx-4.0.ebuild: |
42 |
alpha/ia64/sparc stable wrt #396483 |
43 |
|
44 |
|
45 |
|
46 |
1.1 dev-libs/libpqxx/libpqxx-4.0-r1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpqxx/libpqxx-4.0-r1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpqxx/libpqxx-4.0-r1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: libpqxx-4.0-r1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2012 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/libpqxx-4.0-r1.ebuild,v 1.1 2012/01/29 15:28:47 titanofold Exp $ |
56 |
|
57 |
EAPI="4" |
58 |
|
59 |
inherit eutils |
60 |
|
61 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
62 |
|
63 |
DESCRIPTION="C++ client API for PostgreSQL. The standard front-end for writing C++ programs that use PostgreSQL." |
64 |
SRC_URI="http://pqxx.org/download/software/${PN}/${P}.tar.gz" |
65 |
HOMEPAGE="http://pqxx.org/development/libpqxx/" |
66 |
LICENSE="BSD" |
67 |
SLOT="0" |
68 |
IUSE="doc" |
69 |
|
70 |
DEPEND="dev-db/postgresql-base" |
71 |
RDEPEND="${DEPEND}" |
72 |
|
73 |
src_configure() { |
74 |
econf --enable-shared |
75 |
} |
76 |
|
77 |
src_install () { |
78 |
emake DESTDIR="${D}" install |
79 |
|
80 |
dodoc AUTHORS ChangeLog NEWS README* |
81 |
use doc && dohtml -r doc/html/* |
82 |
} |
83 |
|
84 |
src_test() { |
85 |
einfo "The tests need a running PostgreSQL server and an existing database." |
86 |
einfo "Test requires PGDATABASE and PGUSER to be set at a minimum. Optionally," |
87 |
einfo "set PGPORT and PGHOST. Define them at the command line or in:" |
88 |
einfo " ${EROOT%/}/etc/libpqxx_test_env" |
89 |
|
90 |
if [[ -z $PGDATABASE || -z $PGUSER ]] ; then |
91 |
if [[ -f ${EROOT%/}/etc/libpqxx_test_env ]] ; then |
92 |
source "${EROOT%/}/etc/libpqxx_test_env" |
93 |
[[ -n $PGDATABASE ]] && export PGDATABASE |
94 |
[[ -n $PGHOST ]] && export PGHOST |
95 |
[[ -n $PGPORT ]] && export PGPORT |
96 |
[[ -n $PGUSER ]] && export PGUSER |
97 |
fi |
98 |
fi |
99 |
|
100 |
if [[ -n $PGDATABASE && -n $PGUSER ]] ; then |
101 |
local server_version |
102 |
server_version=$(psql -Aqtc 'SELECT version();' 2> /dev/null) |
103 |
if [[ $? = 0 ]] ; then |
104 |
# Currently works with highest server version in tree |
105 |
#server_version=$(echo ${server_version} | cut -d " " -f 2 | cut -d "." -f -2 | tr -d .) |
106 |
#if [[ $server_version < 92 ]] ; then |
107 |
cd "${S}/test" |
108 |
emake check |
109 |
#else |
110 |
# eerror "Server version must be 8.4.x or below." |
111 |
# die "Server version isn't 8.4.x or below" |
112 |
#fi |
113 |
else |
114 |
eerror "Is the server running?" |
115 |
eerror "Verify role and database exist, and are permitted in pg_hba.conf for:" |
116 |
eerror " Role: ${PGUSER}" |
117 |
eerror " Database: ${PGDATABASE}" |
118 |
die "Couldn't connect to server." |
119 |
fi |
120 |
else |
121 |
eerror "PGDATABASE and PGUSER must be set to perform tests." |
122 |
eerror "Skipping tests." |
123 |
fi |
124 |
} |