diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-09-10 13:10:42 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-09-10 13:10:42 +0000 |
commit | 814ee78719034ffb961544ef8ce68eeabce7a905 (patch) | |
tree | 94295b64154cf35901a98a9563af51c150d4de37 /dev-libs/libpqxx | |
parent | Install sounds and pixmaps for pieces under SITEETC. (diff) | |
download | historical-814ee78719034ffb961544ef8ce68eeabce7a905.tar.gz historical-814ee78719034ffb961544ef8ce68eeabce7a905.tar.bz2 historical-814ee78719034ffb961544ef8ce68eeabce7a905.zip |
Bump to 3.0.2, fixes #265412.
Package-Manager: portage-2.2_rc40/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libpqxx')
-rw-r--r-- | dev-libs/libpqxx/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libpqxx/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libpqxx/libpqxx-3.0.2.ebuild | 60 |
3 files changed, 69 insertions, 2 deletions
diff --git a/dev-libs/libpqxx/ChangeLog b/dev-libs/libpqxx/ChangeLog index 6e019b56ea6b..7cc21c7c6ccb 100644 --- a/dev-libs/libpqxx/ChangeLog +++ b/dev-libs/libpqxx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libpqxx # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/ChangeLog,v 1.62 2009/07/19 11:55:30 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/ChangeLog,v 1.63 2009/09/10 13:10:42 patrick Exp $ + +*libpqxx-3.0.2 (10 Sep 2009) + + 10 Sep 2009; Patrick Lauer <patrick@gentoo.org> +libpqxx-3.0.2.ebuild: + Bump to 3.0.2, fixes #265412. 19 Jul 2009; nixnut <nixnut@gentoo.org> libpqxx-2.6.9.ebuild: ppc stable #249248 diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest index 256b9f2bded2..737a98fc7374 100644 --- a/dev-libs/libpqxx/Manifest +++ b/dev-libs/libpqxx/Manifest @@ -3,7 +3,9 @@ AUX libpqxx-2.6.9-gcc43.patch 1907 RMD160 79149bd560599e5352234a5ba54f2fe4fd411b AUX libpqxx-2.6.9-gcc44.patch 2384 RMD160 36984c849d7c46cee7d4cdf9454747f206d41531 SHA1 5212b19262ff99fa0d9044e78d12fa13ab76f360 SHA256 848cbad8889ce73301b8ae38d2f6dfc149f4cdcf7865c846779fec168b21ee76 DIST libpqxx-2.6.8.tar.gz 1690973 RMD160 5a9a57774ac878d827af8940e87f5d92c2a1b86a SHA1 2f963c98b8a79675d537daadc3ba6c313c35f59d SHA256 b3b4a1de89936d36f61ba1da1ca2c0e0f412cdab004a402761f9433b1d0a3a8d DIST libpqxx-2.6.9.tar.gz 1639557 RMD160 c456b5a3ed3c96963aad334d3504ed0443a8f63e SHA1 8be9dcd0375337b170d5c94370fa896911d361f1 SHA256 2b2ef5dfb852667299e50727419075cf333bbbeffadaa398d96dc93bac6f7b6a +DIST libpqxx-3.0.2.tar.gz 1565644 RMD160 0162ea135d56c203f45f9d5d328a29d2db72b102 SHA1 6af866e06668e9c8b7af4161dddb1ab5f4bf094c SHA256 de265ab5d397ace7596c3b6d19a0057ce2ba58477315acf9165b0a97facab6ca EBUILD libpqxx-2.6.8.ebuild 1757 RMD160 14fe70bd6f7b15e54417db1abda9c4e7a8390462 SHA1 57f2cc5f89407763f7c991e6f6d6dc0509a305a3 SHA256 bd241708a8b53e02aac6c844493f44451d6e9e51f2ed3a39d3cd3aa961c82300 EBUILD libpqxx-2.6.9.ebuild 1927 RMD160 3d8d3bfb3e3f04eb88911c91942c1430eaf7ef21 SHA1 4ec835416eb9f825d8a455de9e48d19de2dc0cab SHA256 4906420c7083f5c8bdca824bde0bd879f50066b80a9f9f3cdaf9396e716fe2ec -MISC ChangeLog 7538 RMD160 87fc17aed694a8da85e205892e97b07d6d56405f SHA1 e248968495ca6462eef71096b7842b2f0c5751e3 SHA256 4f8efac9e24eeece0ee9ba43cf7a6b2025e6b77191831f83a49ef94f7ef0f55d +EBUILD libpqxx-3.0.2.ebuild 1852 RMD160 92beb43cc6a6d86a6ea899c9cc6b958e1eb61d89 SHA1 e4b983cb0bb4e8ebb8e2bbf15d269509ed0ee820 SHA256 2ae91c2fb8a335e1b7afc7c0615beddefac6e7e8e8a99527f0f220c261d9365c +MISC ChangeLog 7675 RMD160 d974a83a01a6d86023f3579a56764b26243ba6de SHA1 116c602093897c25f54377c2d8e2119f32eb7778 SHA256 4a41bf9d1c47dde0c7a13ddea8fec384bf20662934b5b79fb9f21d80029bff05 MISC metadata.xml 163 RMD160 70bbda1c1e8316a09d467334131898ae833a3205 SHA1 f43b9a4a2a82140936f9b04e4e63b3c9a495141f SHA256 f0699a4c3ad24cc38836c2d4a1ba03e4e403a9a5364b51df405db02014005891 diff --git a/dev-libs/libpqxx/libpqxx-3.0.2.ebuild b/dev-libs/libpqxx/libpqxx-3.0.2.ebuild new file mode 100644 index 000000000000..281b51b2d1fa --- /dev/null +++ b/dev-libs/libpqxx/libpqxx-3.0.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/libpqxx-3.0.2.ebuild,v 1.1 2009/09/10 13:10:42 patrick Exp $ + +EAPI="2" + +inherit eutils + +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" + +DESCRIPTION="C++ client API for PostgreSQL. The standard front-end for writing C++ programs that use PostgreSQL. Supersedes older libpq++ interface." +SRC_URI="http://pqxx.org/download/software/${PN}/${P}.tar.gz" +HOMEPAGE="http://pqxx.org/development/libpqxx/" +LICENSE="BSD" +SLOT="0" +IUSE="" + +DEPEND="virtual/postgresql-base" +RDEPEND="${DEPEND}" + +src_prepare() { + # should be safe enough to remove the lines directly from configure, + # since it's copied directly from configure.ac + sed -i \ + -e 's/\(gcc_visibility\)=yes/\1=no/g' \ + -e 's@\(#define PQXX_HAVE_GCC_VISIBILITY 1\)@/* \1 */@g' \ + -e '/-Werror/d' \ + configure || die "sed failed" +} + +src_compile() { + econf --enable-shared || die "econf failed" + emake || die "emake failed" +} + +src_install () { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc AUTHORS ChangeLog NEWS README* TODO + dohtml -r doc/html/* +} + +src_test() { + ewarn "The tests need a running PostgreSQL server and an existing database!" + ewarn "You can set the following environment variables to change the connection parameters:" + ewarn "PGDATABASE (default: username, probably root)" + ewarn "PGHOST (default: localhost)" + ewarn "PGPORT (default: pg's UNIX domain-socket)" + ewarn "PGUSER (default: username, probably root)" + epause 10 + + if [[ -n ${PGDATABASE} ]] ; then + cd "${S}/test" + # Working around a mysterious bug in gcc-4.1 + sed -i -e 's/-O2/-O1/' Makefile + emake -j1 check || die "emake check failed" + else + ewarn "Tests skipped since PGDATABASE is not defined or empty" + fi +} |