diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-02-02 07:58:35 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-02-02 07:58:35 +0000 |
commit | 11db60783dc33e3f5f30444637e86e7fca57191e (patch) | |
tree | 3fa68a781e76f6efda5df34a9f856b8c194a6350 /dev-libs/libpqxx | |
parent | virtual/cblas: Drop atlas from deps (diff) | |
download | historical-11db60783dc33e3f5f30444637e86e7fca57191e.tar.gz historical-11db60783dc33e3f5f30444637e86e7fca57191e.tar.bz2 historical-11db60783dc33e3f5f30444637e86e7fca57191e.zip |
Bump
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libpqxx')
-rw-r--r-- | dev-libs/libpqxx/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/libpqxx/Manifest | 14 | ||||
-rw-r--r-- | dev-libs/libpqxx/libpqxx-4.0.1.ebuild | 76 |
3 files changed, 86 insertions, 14 deletions
diff --git a/dev-libs/libpqxx/ChangeLog b/dev-libs/libpqxx/ChangeLog index e9526edebc98..2fe911a9273e 100644 --- a/dev-libs/libpqxx/ChangeLog +++ b/dev-libs/libpqxx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libpqxx -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/ChangeLog,v 1.88 2012/12/08 18:24:07 jer Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/ChangeLog,v 1.89 2013/02/02 07:58:25 patrick Exp $ + +*libpqxx-4.0.1 (02 Feb 2013) + + 02 Feb 2013; Patrick Lauer <patrick@gentoo.org> +libpqxx-4.0.1.ebuild: + Bump 08 Dec 2012; Jeroen Roovers <jer@gentoo.org> libpqxx-4.0-r1.ebuild: Stable for HPPA (bug #396483). @@ -334,4 +339,3 @@ 06 Jun 2003; Masatomo Nakano <nakano@gentoo.org> libpqxx-1.5.1.ebuild: Initial import. Thanks to Andy Pyles <a_pyles@yahoo.com>. - diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest index 60d45b79b0a0..bd0908c1598a 100644 --- a/dev-libs/libpqxx/Manifest +++ b/dev-libs/libpqxx/Manifest @@ -1,14 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - +DIST libpqxx-4.0.1.tar.gz 1582532 SHA256 097ceda2797761ce517faa5bee186c883df1c407cb2aada613a16773afeedc38 SHA512 00204985097ef8bb0a3376d6ba541dbb471d7c52d7135f6244a9f4acbf6c8e5254d6f813e4411421e49bb56f4a520fc6ac67e300141d724396ce0ac11bd3a95e WHIRLPOOL d377863f9200e7ed235f8a2cf132b554efa4223d5f542eea23d743ffe391a13d44da767ee2f70146558e5b393ba334656c09007241c1aadde750c00c16e25c12 DIST libpqxx-4.0.tar.gz 2631181 SHA256 b160043289cfbf2a186d3b12f9976b6914e76d918d3d4469ff408bd199bbb8ed SHA512 30c955b568a93ba7003a808f42414fd743cc7017fc443d327b55fea732d86ec0ecd34381bdcd4410db85c74287781af021423b5991c3f821fe64db2c9f84c011 WHIRLPOOL a3b0a8629b9f6a33282a8b5a7c6913c7b003dbaa94dcfd811fee74b45a396aa049f358ce399ca1cfdeabbd50a1da0515423c6a510a025773ec8acfd4899c88a5 EBUILD libpqxx-4.0-r1.ebuild 2297 SHA256 7ac0695b9a134b87b925c861357cb520c5c2ed590201f2eae29feaa47919c33e SHA512 08f142d3bd4d78fa2565b31f8e7a8f7aca33f32d1b1e2f5a1b0ba2b04775e05167a795799dbfd2c3ded4d041da1b5e2f23124d3912901828a7ab7610f67ddedf WHIRLPOOL 08be3d122c2d8cdaeba21f3e9ac75dec689cd8ad97eec0506a1f240e7467138114fb2f582e8c9c4019f3846e4356a36850c70badcb27fc0b5b104dbd73916e2d -MISC ChangeLog 11427 SHA256 4abec15f4495938fb4c8e3fcec68d99599ebdc9e0f4e8b8cad32da8bd605e87e SHA512 342373de2e3ce817855ca4b62d0ee1be258fa9f2bc221f63f67a2de8da4be698f2775a17e3ef77a93512c18193d2c0b638497bac863e910e52b515027a0084a5 WHIRLPOOL 6552f0c22e9fdfbc542850c1ef3dc4185db44bf477cbb001ca8888b7c9675b9e8b0d4564b72f6f68596e7ff39398bd3fed8e8fe48b8ad19270033493e5da32ed +EBUILD libpqxx-4.0.1.ebuild 2308 SHA256 081280c5ccce83e6b8edfd1ea03d4e080cebc561f27838d33c04a760f730c144 SHA512 eff8fbfc8dd54356f951864a5c3def4eab5142682556c3b44e6a97d8582f6cb95cf448f2b13e9670cf590e377b58261bb05dea063d918eba108430fa90a7c126 WHIRLPOOL e245000846d3ef3981d706b6aa0815afa4a606bf90b6b990eb0575f3b755991f731f0f13698b9646aa712705e0e36781d03cf12f1de7af40fb34ac875c59ce86 +MISC ChangeLog 11541 SHA256 fd03421e0673af63b7bf0a43299318388ec7096cec5757067ec64991ab438745 SHA512 beeb7e10dc7a9c7635e818bb541de696aa5d1564703bfe0d041aba625f994e9312298d11d9b22aafeb610e3ee75270846576a121b6bd245ee80c9cc13b90b2cd WHIRLPOOL c1ec4ea2784e3b54b392460b4079ee2026a6e68211e8382b460ec43b4ea42609d2043f558cb746da188bd766caf450bd3bb3c728e8e2024d3bbbd7bf4124e26d MISC metadata.xml 479 SHA256 42e814ea6ceb5a7133c3ddbe0afd13a1b97083893405fee6f7984d5c9cbbb938 SHA512 2ea23e10c795fa6f03916b6690321e1145c6e450b845dfdfd4f38dc5893c2bb3956ef80e59330fb1082ff534063389cdf602f1fcc9a947ef17af390d6b2a023a WHIRLPOOL b16c12678f4be4de62e2f2f4688dbcd6b1b721c4ab7b780cc9b66b34594abd686e5917923c542683b580a20836a15e738a755dbccc34bbdf98acd3c635f739d5 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iEYEAREIAAYFAlDDhcgACgkQVWmRsqeSphMongCcDxFpcQZUIMdLYyfdU31cfyMQ -xAsAoIAmxPqsiR8N7R36WB090JD9alGq -=q93s ------END PGP SIGNATURE----- diff --git a/dev-libs/libpqxx/libpqxx-4.0.1.ebuild b/dev-libs/libpqxx/libpqxx-4.0.1.ebuild new file mode 100644 index 000000000000..7a08d40d7452 --- /dev/null +++ b/dev-libs/libpqxx/libpqxx-4.0.1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/libpqxx-4.0.1.ebuild,v 1.1 2013/02/02 07:58:25 patrick Exp $ + +EAPI="4" + +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." +SRC_URI="http://pqxx.org/download/software/${PN}/${P}.tar.gz" +HOMEPAGE="http://pqxx.org/development/libpqxx/" +LICENSE="BSD" +SLOT="0" +IUSE="doc static-libs" + +DEPEND="dev-db/postgresql-base" +RDEPEND="${DEPEND}" + +src_configure() { + if use static-libs ; then + econf --enable-static + else + econf --enable-shared + fi +} + +src_install () { + emake DESTDIR="${D}" install + + dodoc AUTHORS ChangeLog NEWS README* + use doc && dohtml -r doc/html/* +} + +src_test() { + einfo "The tests need a running PostgreSQL server and an existing database." + einfo "Test requires PGDATABASE and PGUSER to be set at a minimum. Optionally," + einfo "set PGPORT and PGHOST. Define them at the command line or in:" + einfo " ${EROOT%/}/etc/libpqxx_test_env" + + if [[ -z $PGDATABASE || -z $PGUSER ]] ; then + if [[ -f ${EROOT%/}/etc/libpqxx_test_env ]] ; then + source "${EROOT%/}/etc/libpqxx_test_env" + [[ -n $PGDATABASE ]] && export PGDATABASE + [[ -n $PGHOST ]] && export PGHOST + [[ -n $PGPORT ]] && export PGPORT + [[ -n $PGUSER ]] && export PGUSER + fi + fi + + if [[ -n $PGDATABASE && -n $PGUSER ]] ; then + local server_version + server_version=$(psql -Aqtc 'SELECT version();' 2> /dev/null) + if [[ $? = 0 ]] ; then + # Currently works with highest server version in tree + #server_version=$(echo ${server_version} | cut -d " " -f 2 | cut -d "." -f -2 | tr -d .) + #if [[ $server_version < 92 ]] ; then + cd "${S}/test" + emake check + #else + # eerror "Server version must be 8.4.x or below." + # die "Server version isn't 8.4.x or below" + #fi + else + eerror "Is the server running?" + eerror "Verify role and database exist, and are permitted in pg_hba.conf for:" + eerror " Role: ${PGUSER}" + eerror " Database: ${PGDATABASE}" + die "Couldn't connect to server." + fi + else + eerror "PGDATABASE and PGUSER must be set to perform tests." + eerror "Skipping tests." + fi +} |