[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2023-12-28 Thread Arthur Zamarin
commit: b1f88c01d22e8ca7f5f18f38f572a693aad8b9f3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 29 06:58:17 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 29 06:58:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1f88c01

dev-libs/libpqxx: Keyword 7.7.5 arm64, #920858

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.7.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.7.5.ebuild 
b/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
index c8e11d38610b..99b28dc6cc54 100644
--- a/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{9..11} )
 inherit python-any-r1
 
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2023-05-18 Thread Andreas Sturmlechner
commit: 29d9cabb15b997c734c258f446d35a89375d4a4a
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu May 18 14:02:12 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu May 18 15:41:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29d9cabb

dev-libs/libpqxx: drop 7.4.1, 7.7.4

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-libs/libpqxx/Manifest |  2 -
 dev-libs/libpqxx/libpqxx-7.4.1.ebuild | 78 --
 dev-libs/libpqxx/libpqxx-7.7.4.ebuild | 79 ---
 3 files changed, 159 deletions(-)

diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index 5eed6c0dc3a6..380122efe07c 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1,3 +1 @@
-DIST libpqxx-7.4.1.tar.gz 702581 BLAKE2B 
9190b62eaf4cee188e32611acfc938a4111e5ea510df50e424ebd3b6c73fe91dfc8fecd5f889dc2af95756f04c87a410a136cd4b4d6d1f276ce2e5fc26906df3
 SHA512 
a30a9f5ca87944922c9a3bd92d53392855ac3b2760cb7c21411caf364e443c25d1b2d4b4022e60ff7b30bc530fc3223ab3983325217d47fd7d71375c165c8c21
-DIST libpqxx-7.7.4.tar.gz 745900 BLAKE2B 
2306ca1481cb36d32a5911452944404d90760890dfa1f78eca1f9bd0aa8b194484f4a82f15eca2bb37ea9dc80baa81dba5dee45255c04ed7df7aaa01920747ad
 SHA512 
dd8fc9887eec81356d3c6cbcd11543e76bda8caebc770851bb6cf6e3eb5284ef33fc45f6de54c4cc902e07b06a8064f141841ad041addcc0e669d19486b7b4e1
 DIST libpqxx-7.7.5.tar.gz 745921 BLAKE2B 
0ca9b36aecc96a436023621a1fcfcac2732443fe9d85507a64b511914a606a05f1a1d7e569dbf893d47412fb4040d02c0af2c8de280335d1f7a43240464df59d
 SHA512 
78f1f17f5083347cfce607349d4f62be2878c41150c4afd1f26844dc796d0fe190b387b295e1b6bf9d81a26a0ebe1d82597fa651227c3a1cfe3acbd02ea7246c

diff --git a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild 
b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
deleted file mode 100644
index 6499c690a71b..
--- a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
-inherit python-any-r1
-
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86"
-
-DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
-SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-HOMEPAGE="http://pqxx.org/development/libpqxx/;
-LICENSE="BSD"
-SLOT="0"
-IUSE="doc static-libs"
-
-RDEPEND="dev-db/postgresql:="
-DEPEND="${RDEPEND}"
-BDEPEND="${PYTHON_DEPS}
-   doc? (
-   app-doc/doxygen
-   app-text/xmlto
-   )
-"
-
-DOCS=( AUTHORS NEWS README{.md,-UPGRADE} )
-
-src_configure() {
-   econf \
-   --enable-shared \
-   $(use_enable doc documentation) \
-   $(use_enable static-libs static)
-}
-
-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 "${BROOT}/etc/libpqxx_test_env"
-
-   if [[ -z $PGDATABASE || -z $PGUSER ]] ; then
-   if [[ -f ${BROOT}/etc/libpqxx_test_env ]] ; then
-   source "${BROOT}/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
-   cd "${S}/test" || die
-   emake check
-   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
-}
-
-src_install () {
-   use doc && HTML_DOCS=( doc/html/. )
-   default
-
-   if ! use static-libs; then
-   find "${D}" -name '*.la' -delete || die
-   fi
-}

diff --git a/dev-libs/libpqxx/libpqxx-7.7.4.ebuild 
b/dev-libs/libpqxx/libpqxx-7.7.4.ebuild
deleted file mode 100644
index 45c9d1648fa7..
--- a/dev-libs/libpqxx/libpqxx-7.7.4.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2023-05-01 Thread Arthur Zamarin
commit: ca84c2c17d63996c6245f81d49752b5c61a7503d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon May  1 06:02:13 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon May  1 06:02:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca84c2c1

dev-libs/libpqxx: Stabilize 7.7.5 sparc, #905375

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.7.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.7.5.ebuild 
b/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
index 172bd432be1b..c8e11d38610b 100644
--- a/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{9..11} )
 inherit python-any-r1
 
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2023-04-30 Thread Sam James
commit: aa286379b75fab4e6884d457246b6cf9e5a68000
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 04:15:18 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 04:15:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa286379

dev-libs/libpqxx: Stabilize 7.7.5 ppc, #905375

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.7.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.7.5.ebuild 
b/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
index ec06b7f56679..172bd432be1b 100644
--- a/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{9..11} )
 inherit python-any-r1
 
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~sparc x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2023-04-30 Thread Sam James
commit: 6a7229673f04322a13a03150f853f47977019d0e
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 02:26:35 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 02:26:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a722967

dev-libs/libpqxx: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libpqxx/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-libs/libpqxx/metadata.xml b/dev-libs/libpqxx/metadata.xml
index 57ddc42d6eae..b47de6bbc481 100644
--- a/dev-libs/libpqxx/metadata.xml
+++ b/dev-libs/libpqxx/metadata.xml
@@ -11,4 +11,7 @@
 about any platform — then libpqxx is the library you use. Supersedes the 
now
 defunct libpq++ (AKA, libpqpp) API.
   
+  
+jtv/libpqxx
+  
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2023-04-30 Thread Sam James
commit: cf8481ee1734107c8695de6de40a512b9f0ed27a
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 02:25:56 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 02:25:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf8481ee

dev-libs/libpqxx: Stabilize 7.7.5 ppc64, #905375

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.7.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.7.5.ebuild 
b/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
index ded998de780a..ec06b7f56679 100644
--- a/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{9..11} )
 inherit python-any-r1
 
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2023-04-30 Thread Sam James
commit: bd56cfbcb806421c6770570fcf68bf9648fbccbd
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 30 23:48:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 30 23:49:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd56cfbc

dev-libs/libpqxx: Stabilize 7.7.5 amd64, #905375

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.7.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.7.5.ebuild 
b/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
index f03e3568bf0e..ded998de780a 100644
--- a/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{9..11} )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2023-04-30 Thread Arthur Zamarin
commit: f165327a29a3107ab3389196322dfdabfc175e30
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 30 16:44:38 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 30 16:44:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f165327a

dev-libs/libpqxx: Stabilize 7.7.5 x86, #905375

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.7.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.7.5.ebuild 
b/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
index 1136bd19efe9..f03e3568bf0e 100644
--- a/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{9..11} )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2023-04-29 Thread Andreas Sturmlechner
commit: 8317507b7ce4a2bc22251efc0718c7fa4cda3356
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Apr 29 22:20:39 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Apr 29 22:28:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8317507b

dev-libs/libpqxx: add 7.7.5

Bug: https://bugs.gentoo.org/896718
Closes: https://bugs.gentoo.org/850694
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-libs/libpqxx/Manifest |  1 +
 dev-libs/libpqxx/libpqxx-7.7.5.ebuild | 80 +++
 2 files changed, 81 insertions(+)

diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index 8b49e6f0dfa0..5eed6c0dc3a6 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1,2 +1,3 @@
 DIST libpqxx-7.4.1.tar.gz 702581 BLAKE2B 
9190b62eaf4cee188e32611acfc938a4111e5ea510df50e424ebd3b6c73fe91dfc8fecd5f889dc2af95756f04c87a410a136cd4b4d6d1f276ce2e5fc26906df3
 SHA512 
a30a9f5ca87944922c9a3bd92d53392855ac3b2760cb7c21411caf364e443c25d1b2d4b4022e60ff7b30bc530fc3223ab3983325217d47fd7d71375c165c8c21
 DIST libpqxx-7.7.4.tar.gz 745900 BLAKE2B 
2306ca1481cb36d32a5911452944404d90760890dfa1f78eca1f9bd0aa8b194484f4a82f15eca2bb37ea9dc80baa81dba5dee45255c04ed7df7aaa01920747ad
 SHA512 
dd8fc9887eec81356d3c6cbcd11543e76bda8caebc770851bb6cf6e3eb5284ef33fc45f6de54c4cc902e07b06a8064f141841ad041addcc0e669d19486b7b4e1
+DIST libpqxx-7.7.5.tar.gz 745921 BLAKE2B 
0ca9b36aecc96a436023621a1fcfcac2732443fe9d85507a64b511914a606a05f1a1d7e569dbf893d47412fb4040d02c0af2c8de280335d1f7a43240464df59d
 SHA512 
78f1f17f5083347cfce607349d4f62be2878c41150c4afd1f26844dc796d0fe190b387b295e1b6bf9d81a26a0ebe1d82597fa651227c3a1cfe3acbd02ea7246c

diff --git a/dev-libs/libpqxx/libpqxx-7.7.5.ebuild 
b/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
new file mode 100644
index ..1136bd19efe9
--- /dev/null
+++ b/dev-libs/libpqxx/libpqxx-7.7.5.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit python-any-r1
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
+SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+HOMEPAGE="https://pqxx.org/development/libpqxx/;
+LICENSE="BSD"
+# SONAME version is equal to major.minor
+SLOT="0/$(ver_cut 1-2)"
+IUSE="doc static-libs"
+
+RDEPEND="dev-db/postgresql:="
+DEPEND="${RDEPEND}"
+BDEPEND="${PYTHON_DEPS}
+   doc? (
+   app-doc/doxygen[dot]
+   app-text/xmlto
+   )
+"
+
+DOCS=( AUTHORS NEWS README.md )
+
+src_configure() {
+   econf \
+   --enable-shared \
+   $(use_enable doc documentation) \
+   $(use_enable static-libs static)
+}
+
+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 "${BROOT}/etc/libpqxx_test_env"
+
+   if [[ -z $PGDATABASE || -z $PGUSER ]] ; then
+   if [[ -f ${BROOT}/etc/libpqxx_test_env ]] ; then
+   source "${BROOT}/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
+   cd "${S}/test" || die
+   emake check
+   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
+}
+
+src_install () {
+   use doc && HTML_DOCS=( doc/html/. )
+   default
+
+   if ! use static-libs; then
+   find "${D}" -name '*.la' -delete || die
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2022-07-03 Thread Aaron W. Swenson
commit: 41c6d1d624bcfdfa812246cb60c74e6a40fd7393
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun Jul  3 11:59:47 2022 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Sun Jul  3 11:59:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41c6d1d6

dev-libs/libpqxx: Cleanup

Also fix VariableScope QA: EROOT -> BROOT.

Signed-off-by: Aaron W. Swenson  gentoo.org>

 dev-libs/libpqxx/Manifest |  3 --
 dev-libs/libpqxx/libpqxx-7.1.2.ebuild | 78 ---
 dev-libs/libpqxx/libpqxx-7.2.1.ebuild | 78 ---
 dev-libs/libpqxx/libpqxx-7.3.0.ebuild | 78 ---
 dev-libs/libpqxx/libpqxx-7.4.1.ebuild |  6 +--
 5 files changed, 3 insertions(+), 240 deletions(-)

diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index d8277f6c1f26..5370aa930b28 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1,4 +1 @@
-DIST libpqxx-7.1.2.tar.gz 693152 BLAKE2B 
da28d0041fc345eb7774eadf0a886e2a89692ac47d870120991aa97328a6be7d10e8cb2d6deb9e056dc7e05b04fd317d9d0fe4dcf8eab901114b27cd64bf4ff6
 SHA512 
a4a76c62f6115f5898e4c4bb1c6f095284bdb7ae6a1efa45add9efd422d2a8280d1698caa2469acbb087168208ae0fd8efa36c8735a8ce30e58853e27acd4161
-DIST libpqxx-7.2.1.tar.gz 691486 BLAKE2B 
ef1b12e436e33a26faa8f5acceef8d5ab1063b0618798fdf881fe38ab101da6d78989cc30c1e24f60fd81dd4f4034267e8b220b7b1d1932793028abf7e17c614
 SHA512 
baaa53f12aa87f512bbbe7494c915242cda8508b43414b79e6cd047dbd61902cbe54cb34af13d75bdccd70bdbafcaca155b4ccb426d8b831bd4df46e9a57e3a2
-DIST libpqxx-7.3.0.tar.gz 694012 BLAKE2B 
35770599fcb3131081e08c18d96b753cc6d412c6ea8fddf5617df7da2035cf8ee3a031b7c14d592e0c9560e1e1074e633734337113ed0b3943e519aa44806307
 SHA512 
897af8e1c0ab12df745116e5387d3c31fb8800b6c599f49413ddcc67df7968fb1922c96896c818ce3f34d9649fb6c1d2ea59784f8765fb765481b156be44eaa2
 DIST libpqxx-7.4.1.tar.gz 702581 BLAKE2B 
9190b62eaf4cee188e32611acfc938a4111e5ea510df50e424ebd3b6c73fe91dfc8fecd5f889dc2af95756f04c87a410a136cd4b4d6d1f276ce2e5fc26906df3
 SHA512 
a30a9f5ca87944922c9a3bd92d53392855ac3b2760cb7c21411caf364e443c25d1b2d4b4022e60ff7b30bc530fc3223ab3983325217d47fd7d71375c165c8c21

diff --git a/dev-libs/libpqxx/libpqxx-7.1.2.ebuild 
b/dev-libs/libpqxx/libpqxx-7.1.2.ebuild
deleted file mode 100644
index 1b4ea47de7a3..
--- a/dev-libs/libpqxx/libpqxx-7.1.2.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-inherit python-any-r1
-
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86"
-
-DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
-SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-HOMEPAGE="http://pqxx.org/development/libpqxx/;
-LICENSE="BSD"
-SLOT="0"
-IUSE="doc static-libs"
-
-RDEPEND="dev-db/postgresql:="
-DEPEND="${RDEPEND}
-   ${PYTHON_DEPS}
-   doc? (
-   app-doc/doxygen
-   app-text/xmlto
-   )
-"
-
-DOCS=( AUTHORS NEWS README{.md,-UPGRADE} )
-
-src_configure() {
-   econf \
-   --enable-shared \
-   $(use_enable doc documentation) \
-   $(use_enable static-libs static)
-}
-
-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
-   cd "${S}/test" || die
-   emake check
-   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
-}
-
-src_install () {
-   use doc && HTML_DOCS=( doc/html/. )
-   default
-
- 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2022-07-03 Thread Agostino Sarubbo
commit: f5c641d643fe43509fb47eebf27cf948074b3f62
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jul  3 10:51:22 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jul  3 10:51:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5c641d6

dev-libs/libpqxx: x86 stable wrt bug #853640

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild 
b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
index b7bce734b48d..1761c0636f7a 100644
--- a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{8..10} )
 inherit python-any-r1
 
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2022-07-03 Thread Agostino Sarubbo
commit: 058ab3682d92f5fa9bca23cf18ce95518d8914a3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jul  3 10:50:32 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jul  3 10:50:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=058ab368

dev-libs/libpqxx: sparc stable wrt bug #853640

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild 
b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
index 5d170635967d..b7bce734b48d 100644
--- a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{8..10} )
 inherit python-any-r1
 
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc ~x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2022-07-03 Thread Agostino Sarubbo
commit: f8e2a82137762dec469bf26fe5cff83ea9e27943
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jul  3 10:46:49 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jul  3 10:48:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8e2a821

dev-libs/libpqxx: amd64 stable wrt bug #853640

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild 
b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
index 79b564b0ce9f..5d170635967d 100644
--- a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{8..10} )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~sparc ~x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2022-07-02 Thread Jakov Smolić
commit: b408709885bd937aab812d54f70a21f9afb9cf3f
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Jul  2 16:23:42 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Jul  2 16:24:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4087098

dev-libs/libpqxx: Stabilize 7.4.1 ppc, #853640

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild 
b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
index b9648d1f4fad..0f5686c15178 100644
--- a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{8..10} )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ~ppc64 ~sparc ~x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2022-07-02 Thread Jakov Smolić
commit: c7207a7c3274ece463d2745988a17c09e8dfb6f6
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Jul  2 16:23:43 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Jul  2 16:24:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7207a7c

dev-libs/libpqxx: Stabilize 7.4.1 ppc64, #853640

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild 
b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
index 0f5686c15178..79b564b0ce9f 100644
--- a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{8..10} )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ppc64 ~sparc ~x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2022-06-08 Thread Sam James
commit: 8ec2387fe74cb7052ef37b39753cd21c6e23ffde
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  9 00:10:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  9 01:20:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ec2387f

dev-libs/libpqxx: drop noop Python 3.7

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild 
b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
index a1af8497ee8c..fb37c2b797df 100644
--- a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..9} )
 inherit python-any-r1
 
 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2022-06-08 Thread Sam James
commit: c4cd17a64db7d6b98825235d6249a568067576f8
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  9 00:11:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  9 01:20:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4cd17a6

dev-libs/libpqxx: enable py3.10

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild 
b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
index fb37c2b797df..b9648d1f4fad 100644
--- a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 inherit python-any-r1
 
 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2022-06-08 Thread Sam James
commit: 2253406b0c4b29a77112846c788fe3f685b4629b
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  9 00:09:50 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  9 01:20:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2253406b

dev-libs/libpqxx: use BDEPEND

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.4.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild 
b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
index 991fb39e97c7..a1af8497ee8c 100644
--- a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,8 +16,8 @@ SLOT="0"
 IUSE="doc static-libs"
 
 RDEPEND="dev-db/postgresql:="
-DEPEND="${RDEPEND}
-   ${PYTHON_DEPS}
+DEPEND="${RDEPEND}"
+BDEPEND="${PYTHON_DEPS}
doc? (
app-doc/doxygen
app-text/xmlto



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2021-03-03 Thread Aaron W. Swenson
commit: 39116240420d077e068c763e102316815b96689d
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Wed Mar  3 10:51:56 2021 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Wed Mar  3 10:51:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39116240

dev-libs/libpqxx: Bump to 7.4.1

Signed-off-by: Aaron W. Swenson  gentoo.org>

 dev-libs/libpqxx/Manifest |  1 +
 dev-libs/libpqxx/libpqxx-7.4.1.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index 56d248f83f7..d8277f6c1f2 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1,3 +1,4 @@
 DIST libpqxx-7.1.2.tar.gz 693152 BLAKE2B 
da28d0041fc345eb7774eadf0a886e2a89692ac47d870120991aa97328a6be7d10e8cb2d6deb9e056dc7e05b04fd317d9d0fe4dcf8eab901114b27cd64bf4ff6
 SHA512 
a4a76c62f6115f5898e4c4bb1c6f095284bdb7ae6a1efa45add9efd422d2a8280d1698caa2469acbb087168208ae0fd8efa36c8735a8ce30e58853e27acd4161
 DIST libpqxx-7.2.1.tar.gz 691486 BLAKE2B 
ef1b12e436e33a26faa8f5acceef8d5ab1063b0618798fdf881fe38ab101da6d78989cc30c1e24f60fd81dd4f4034267e8b220b7b1d1932793028abf7e17c614
 SHA512 
baaa53f12aa87f512bbbe7494c915242cda8508b43414b79e6cd047dbd61902cbe54cb34af13d75bdccd70bdbafcaca155b4ccb426d8b831bd4df46e9a57e3a2
 DIST libpqxx-7.3.0.tar.gz 694012 BLAKE2B 
35770599fcb3131081e08c18d96b753cc6d412c6ea8fddf5617df7da2035cf8ee3a031b7c14d592e0c9560e1e1074e633734337113ed0b3943e519aa44806307
 SHA512 
897af8e1c0ab12df745116e5387d3c31fb8800b6c599f49413ddcc67df7968fb1922c96896c818ce3f34d9649fb6c1d2ea59784f8765fb765481b156be44eaa2
+DIST libpqxx-7.4.1.tar.gz 702581 BLAKE2B 
9190b62eaf4cee188e32611acfc938a4111e5ea510df50e424ebd3b6c73fe91dfc8fecd5f889dc2af95756f04c87a410a136cd4b4d6d1f276ce2e5fc26906df3
 SHA512 
a30a9f5ca87944922c9a3bd92d53392855ac3b2760cb7c21411caf364e443c25d1b2d4b4022e60ff7b30bc530fc3223ab3983325217d47fd7d71375c165c8c21

diff --git a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild 
b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
new file mode 100644
index 000..991fb39e97c
--- /dev/null
+++ b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+inherit python-any-r1
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
+SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="http://pqxx.org/development/libpqxx/;
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc static-libs"
+
+RDEPEND="dev-db/postgresql:="
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   doc? (
+   app-doc/doxygen
+   app-text/xmlto
+   )
+"
+
+DOCS=( AUTHORS NEWS README{.md,-UPGRADE} )
+
+src_configure() {
+   econf \
+   --enable-shared \
+   $(use_enable doc documentation) \
+   $(use_enable static-libs static)
+}
+
+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
+   cd "${S}/test" || die
+   emake check
+   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
+}
+
+src_install () {
+   use doc && HTML_DOCS=( doc/html/. )
+   default
+
+   if ! use static-libs; then
+   find "${D}" -name '*.la' -delete || die
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2021-01-04 Thread Sam James
commit: 7a211f298cd729a90b085a597eed57041a640cb0
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan  4 15:31:19 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan  4 15:31:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a211f29

dev-libs/libpqxx: Stabilize 7.2.1 x86, #761469

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.2.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.2.1.ebuild 
b/dev-libs/libpqxx/libpqxx-7.2.1.ebuild
index a0398842021..a46d4fa101d 100644
--- a/dev-libs/libpqxx/libpqxx-7.2.1.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{6..9} )
 inherit python-any-r1
 
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~sparc x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2020-12-27 Thread Sergei Trofimovich
commit: 4f0b1089e94ddb18bd897769439cbdd0b2e94efa
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Dec 27 12:00:14 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec 27 12:28:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f0b1089

dev-libs/libpqxx: stable 7.2.1 for ppc64

stable wrt bug #761469

Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.2.1.ebuild 
b/dev-libs/libpqxx/libpqxx-7.2.1.ebuild
index 446f411bd2a..a0398842021 100644
--- a/dev-libs/libpqxx/libpqxx-7.2.1.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.2.1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{6..9} )
 inherit python-any-r1
 
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~sparc ~x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2020-12-27 Thread Sergei Trofimovich
commit: befe278b34486b0e70787e2861fbc1d06a6b0835
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Dec 27 11:33:03 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec 27 11:38:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=befe278b

dev-libs/libpqxx: stable 7.2.1 for ppc

stable wrt bug #761469

Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.2.1.ebuild 
b/dev-libs/libpqxx/libpqxx-7.2.1.ebuild
index cf1ddcc6fb0..446f411bd2a 100644
--- a/dev-libs/libpqxx/libpqxx-7.2.1.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.2.1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{6..9} )
 inherit python-any-r1
 
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~ppc64 ~sparc ~x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2020-12-25 Thread Sam James
commit: 5486bdbe048348b3ae4e3662477e0c899ed8f8bf
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec 26 00:08:47 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 26 00:08:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5486bdbe

dev-libs/libpqxx: Stabilize 7.2.1 amd64, #761469

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.2.1.ebuild 
b/dev-libs/libpqxx/libpqxx-7.2.1.ebuild
index 1ce7f1510f3..cf1ddcc6fb0 100644
--- a/dev-libs/libpqxx/libpqxx-7.2.1.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.2.1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{6..9} )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2020-12-18 Thread Aaron W. Swenson
commit: e3809a7df5caa26b6e3a748cefa29dc164a4fbbe
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Dec 18 14:55:58 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Fri Dec 18 14:55:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3809a7d

dev-libs/libpqxx: Bump to 7.3.0

Signed-off-by: Aaron W. Swenson  gentoo.org>

 dev-libs/libpqxx/Manifest |  1 +
 dev-libs/libpqxx/libpqxx-7.3.0.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index c7e4685aa03..56d248f83f7 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1,2 +1,3 @@
 DIST libpqxx-7.1.2.tar.gz 693152 BLAKE2B 
da28d0041fc345eb7774eadf0a886e2a89692ac47d870120991aa97328a6be7d10e8cb2d6deb9e056dc7e05b04fd317d9d0fe4dcf8eab901114b27cd64bf4ff6
 SHA512 
a4a76c62f6115f5898e4c4bb1c6f095284bdb7ae6a1efa45add9efd422d2a8280d1698caa2469acbb087168208ae0fd8efa36c8735a8ce30e58853e27acd4161
 DIST libpqxx-7.2.1.tar.gz 691486 BLAKE2B 
ef1b12e436e33a26faa8f5acceef8d5ab1063b0618798fdf881fe38ab101da6d78989cc30c1e24f60fd81dd4f4034267e8b220b7b1d1932793028abf7e17c614
 SHA512 
baaa53f12aa87f512bbbe7494c915242cda8508b43414b79e6cd047dbd61902cbe54cb34af13d75bdccd70bdbafcaca155b4ccb426d8b831bd4df46e9a57e3a2
+DIST libpqxx-7.3.0.tar.gz 694012 BLAKE2B 
35770599fcb3131081e08c18d96b753cc6d412c6ea8fddf5617df7da2035cf8ee3a031b7c14d592e0c9560e1e1074e633734337113ed0b3943e519aa44806307
 SHA512 
897af8e1c0ab12df745116e5387d3c31fb8800b6c599f49413ddcc67df7968fb1922c96896c818ce3f34d9649fb6c1d2ea59784f8765fb765481b156be44eaa2

diff --git a/dev-libs/libpqxx/libpqxx-7.3.0.ebuild 
b/dev-libs/libpqxx/libpqxx-7.3.0.ebuild
new file mode 100644
index 000..1ce7f1510f3
--- /dev/null
+++ b/dev-libs/libpqxx/libpqxx-7.3.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+inherit python-any-r1
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
+SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="http://pqxx.org/development/libpqxx/;
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc static-libs"
+
+RDEPEND="dev-db/postgresql:="
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   doc? (
+   app-doc/doxygen
+   app-text/xmlto
+   )
+"
+
+DOCS=( AUTHORS NEWS README{.md,-UPGRADE} )
+
+src_configure() {
+   econf \
+   --enable-shared \
+   $(use_enable doc documentation) \
+   $(use_enable static-libs static)
+}
+
+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
+   cd "${S}/test" || die
+   emake check
+   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
+}
+
+src_install () {
+   use doc && HTML_DOCS=( doc/html/. )
+   default
+
+   if ! use static-libs; then
+   find "${D}" -name '*.la' -delete || die
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2020-11-23 Thread Aaron W. Swenson
commit: 150f69aa4fcc10432cf1cb90978b956c420e7900
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Mon Nov 23 11:32:34 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Mon Nov 23 11:32:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=150f69aa

dev-libs/libpqxx: Bump to 7.2.1

Signed-off-by: Aaron W. Swenson  gentoo.org>

 dev-libs/libpqxx/Manifest |  1 +
 dev-libs/libpqxx/libpqxx-7.2.1.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index f677376bf96..c7e4685aa03 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1 +1,2 @@
 DIST libpqxx-7.1.2.tar.gz 693152 BLAKE2B 
da28d0041fc345eb7774eadf0a886e2a89692ac47d870120991aa97328a6be7d10e8cb2d6deb9e056dc7e05b04fd317d9d0fe4dcf8eab901114b27cd64bf4ff6
 SHA512 
a4a76c62f6115f5898e4c4bb1c6f095284bdb7ae6a1efa45add9efd422d2a8280d1698caa2469acbb087168208ae0fd8efa36c8735a8ce30e58853e27acd4161
+DIST libpqxx-7.2.1.tar.gz 691486 BLAKE2B 
ef1b12e436e33a26faa8f5acceef8d5ab1063b0618798fdf881fe38ab101da6d78989cc30c1e24f60fd81dd4f4034267e8b220b7b1d1932793028abf7e17c614
 SHA512 
baaa53f12aa87f512bbbe7494c915242cda8508b43414b79e6cd047dbd61902cbe54cb34af13d75bdccd70bdbafcaca155b4ccb426d8b831bd4df46e9a57e3a2

diff --git a/dev-libs/libpqxx/libpqxx-7.2.1.ebuild 
b/dev-libs/libpqxx/libpqxx-7.2.1.ebuild
new file mode 100644
index 000..1ce7f1510f3
--- /dev/null
+++ b/dev-libs/libpqxx/libpqxx-7.2.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+inherit python-any-r1
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
+SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="http://pqxx.org/development/libpqxx/;
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc static-libs"
+
+RDEPEND="dev-db/postgresql:="
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   doc? (
+   app-doc/doxygen
+   app-text/xmlto
+   )
+"
+
+DOCS=( AUTHORS NEWS README{.md,-UPGRADE} )
+
+src_configure() {
+   econf \
+   --enable-shared \
+   $(use_enable doc documentation) \
+   $(use_enable static-libs static)
+}
+
+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
+   cd "${S}/test" || die
+   emake check
+   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
+}
+
+src_install () {
+   use doc && HTML_DOCS=( doc/html/. )
+   default
+
+   if ! use static-libs; then
+   find "${D}" -name '*.la' -delete || die
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2020-09-24 Thread Aaron W. Swenson
commit: e060b4e293bcf57618071baa87728c43471249e1
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Sep 24 10:12:17 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Thu Sep 24 10:23:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e060b4e2

dev-libs/libpqxx: Cleanup

Signed-off-by: Aaron W. Swenson  gentoo.org>

 dev-libs/libpqxx/Manifest |  1 -
 dev-libs/libpqxx/libpqxx-6.4.5.ebuild | 86 ---
 2 files changed, 87 deletions(-)

diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index 511e2fd88f7..f677376bf96 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1,2 +1 @@
-DIST libpqxx-6.4.5.tar.gz 715081 BLAKE2B 
4f1356dc5fc9baddd8fdea6095541f4d90657ef0211edec7796ddd3693933b8d37d5bb14e19249a2e4627b85aef11c582b0ffac0226c8e99a70af1d2b0396e5c
 SHA512 
b6f79c4af93876eaf859626c2deae3b23bd4fa1a438390bc01513ccc48b90565d59588f6977e7475bb7b8dbeb8b1c8ef2a4737d8eb4d15682531fbf78590ed5e
 DIST libpqxx-7.1.2.tar.gz 693152 BLAKE2B 
da28d0041fc345eb7774eadf0a886e2a89692ac47d870120991aa97328a6be7d10e8cb2d6deb9e056dc7e05b04fd317d9d0fe4dcf8eab901114b27cd64bf4ff6
 SHA512 
a4a76c62f6115f5898e4c4bb1c6f095284bdb7ae6a1efa45add9efd422d2a8280d1698caa2469acbb087168208ae0fd8efa36c8735a8ce30e58853e27acd4161

diff --git a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild 
b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
deleted file mode 100644
index 6c454747213..000
--- a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 )
-inherit python-any-r1
-
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86"
-
-DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
-SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-HOMEPAGE="http://pqxx.org/development/libpqxx/;
-LICENSE="BSD"
-SLOT="0"
-IUSE="doc static-libs"
-
-RDEPEND="dev-db/postgresql:="
-DEPEND="${RDEPEND}
-   ${PYTHON_DEPS}
-   doc? (
-   app-doc/doxygen
-   app-text/xmlto
-   )
-"
-
-DOCS=( AUTHORS NEWS README{.md,-UPGRADE} )
-
-src_prepare() {
-   default
-
-   sed -e 's/python/python2/' \
-   -i tools/{splitconfig,template2mak.py} \
-   || die "Couldn't fix Python shebangs"
-}
-
-src_configure() {
-   econf \
-   --enable-shared \
-   $(use_enable doc documentation) \
-   $(use_enable static-libs static)
-}
-
-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
-   cd "${S}/test" || die
-   emake check
-   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
-}
-
-src_install() {
-   use doc && HTML_DOCS=( doc/html/. )
-   default
-
-   if ! use static-libs; then
-   find "${D}" -name '*.la' -delete || die
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2020-09-20 Thread Agostino Sarubbo
commit: 05583c02dd9884b85eabc6a77c79a2d5fb210289
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Sep 20 20:18:27 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Sep 20 20:18:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05583c02

dev-libs/libpqxx: amd64 stable wrt bug #697548

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.1.2.ebuild 
b/dev-libs/libpqxx/libpqxx-7.1.2.ebuild
index 1f157acfdd5..4460810bab3 100644
--- a/dev-libs/libpqxx/libpqxx-7.1.2.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.1.2.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{6..9} )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2020-09-13 Thread Sergei Trofimovich
commit: b934c9e9e13ed12f45c6fbf3664a8fe3b757ef73
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Sep 13 08:41:39 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Sep 13 08:44:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b934c9e9

dev-libs/libpqxx: stable 7.1.2 for ppc

stable wrt bug #697548

Package-Manager: Portage-3.0.6, Repoman-3.0.1
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.1.2.ebuild 
b/dev-libs/libpqxx/libpqxx-7.1.2.ebuild
index 78b4adcbdb8..77dcda1c600 100644
--- a/dev-libs/libpqxx/libpqxx-7.1.2.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.1.2.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{6..9} )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ppc64 sparc ~x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2020-09-13 Thread Sergei Trofimovich
commit: 09411aa072a19f1e9900c40a1fd2303fbfa8cc30
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Sep 13 08:37:55 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Sep 13 08:38:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09411aa0

dev-libs/libpqxx: stable 7.1.2 for sparc

stable wrt bug #697548

Package-Manager: Portage-3.0.6, Repoman-3.0.1
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.1.2.ebuild 
b/dev-libs/libpqxx/libpqxx-7.1.2.ebuild
index 203cee81a6d..78b4adcbdb8 100644
--- a/dev-libs/libpqxx/libpqxx-7.1.2.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.1.2.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{6..9} )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ppc64 sparc ~x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2020-09-13 Thread Sergei Trofimovich
commit: 9c5e965afbba8b770f5ebd36fe1e03fd4b3bcacc
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Sep 13 08:29:31 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Sep 13 08:30:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c5e965a

dev-libs/libpqxx: stable 7.1.2 for ppc64

stable wrt bug #697548

Package-Manager: Portage-3.0.6, Repoman-3.0.1
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libpqxx/libpqxx-7.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-7.1.2.ebuild 
b/dev-libs/libpqxx/libpqxx-7.1.2.ebuild
index 1ce7f1510f3..203cee81a6d 100644
--- a/dev-libs/libpqxx/libpqxx-7.1.2.ebuild
+++ b/dev-libs/libpqxx/libpqxx-7.1.2.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{6..9} )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ppc64 ~sparc ~x86"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2020-07-29 Thread Aaron W. Swenson
commit: 34059e350be41038f98967e1112c3205c352c0d2
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Jul 30 04:27:03 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Thu Jul 30 04:27:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34059e35

dev-libs/libpqxx: Bump to 7.1.2

Bug: https://bugs.gentoo.org/697548
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Aaron W. Swenson  gentoo.org>

 dev-libs/libpqxx/Manifest |  1 +
 dev-libs/libpqxx/libpqxx-7.1.2.ebuild | 78 +++
 dev-libs/libpqxx/metadata.xml | 21 +-
 3 files changed, 89 insertions(+), 11 deletions(-)

diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index 5c138ba7ab3..511e2fd88f7 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1 +1,2 @@
 DIST libpqxx-6.4.5.tar.gz 715081 BLAKE2B 
4f1356dc5fc9baddd8fdea6095541f4d90657ef0211edec7796ddd3693933b8d37d5bb14e19249a2e4627b85aef11c582b0ffac0226c8e99a70af1d2b0396e5c
 SHA512 
b6f79c4af93876eaf859626c2deae3b23bd4fa1a438390bc01513ccc48b90565d59588f6977e7475bb7b8dbeb8b1c8ef2a4737d8eb4d15682531fbf78590ed5e
+DIST libpqxx-7.1.2.tar.gz 693152 BLAKE2B 
da28d0041fc345eb7774eadf0a886e2a89692ac47d870120991aa97328a6be7d10e8cb2d6deb9e056dc7e05b04fd317d9d0fe4dcf8eab901114b27cd64bf4ff6
 SHA512 
a4a76c62f6115f5898e4c4bb1c6f095284bdb7ae6a1efa45add9efd422d2a8280d1698caa2469acbb087168208ae0fd8efa36c8735a8ce30e58853e27acd4161

diff --git a/dev-libs/libpqxx/libpqxx-7.1.2.ebuild 
b/dev-libs/libpqxx/libpqxx-7.1.2.ebuild
new file mode 100644
index 000..1ce7f1510f3
--- /dev/null
+++ b/dev-libs/libpqxx/libpqxx-7.1.2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+inherit python-any-r1
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
+SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="http://pqxx.org/development/libpqxx/;
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc static-libs"
+
+RDEPEND="dev-db/postgresql:="
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   doc? (
+   app-doc/doxygen
+   app-text/xmlto
+   )
+"
+
+DOCS=( AUTHORS NEWS README{.md,-UPGRADE} )
+
+src_configure() {
+   econf \
+   --enable-shared \
+   $(use_enable doc documentation) \
+   $(use_enable static-libs static)
+}
+
+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
+   cd "${S}/test" || die
+   emake check
+   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
+}
+
+src_install () {
+   use doc && HTML_DOCS=( doc/html/. )
+   default
+
+   if ! use static-libs; then
+   find "${D}" -name '*.la' -delete || die
+   fi
+}

diff --git a/dev-libs/libpqxx/metadata.xml b/dev-libs/libpqxx/metadata.xml
index 7a7404b989e..488d8965cfe 100644
--- a/dev-libs/libpqxx/metadata.xml
+++ b/dev-libs/libpqxx/metadata.xml
@@ -1,15 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   pgsql-b...@gentoo.org
-   PostgreSQL and Related Package Development
-   
-   
-   libpqxx is the official C++ client API for PostgreSQL. If you 
are
-   writing software in C++ that needs to access databases managed 
by
-   Postgres — on just about any platform — then libpqxx is the
-   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2019-08-05 Thread Aaron W. Swenson
commit: 15906ffa06950e98548993c0c5790446d8f982fb
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Mon Aug  5 09:49:30 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Mon Aug  5 09:49:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15906ffa

dev-libs/libpqxx: Remove 6.0.0

Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Aaron W. Swenson  gentoo.org>

 dev-libs/libpqxx/Manifest |  1 -
 dev-libs/libpqxx/libpqxx-6.0.0.ebuild | 86 ---
 2 files changed, 87 deletions(-)

diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index 53c788a6c84..5c138ba7ab3 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1,2 +1 @@
-DIST libpqxx-6.0.0.tar.gz 676528 BLAKE2B 
a40095ba9851acde1296d93af7e4c4414f334a734b5062874b63a146836105fdde24672707caf623f2073dc1caf87b1053f25c80b10c3fa779fc91a52f9ec7ae
 SHA512 
f237cc03c01a8262eee44a9428206c1cc11b6034dddf540afef145f58eee5c32b880d84832563480d73d834c24311170e2ef6789e100793afbe0b6e393bd4169
 DIST libpqxx-6.4.5.tar.gz 715081 BLAKE2B 
4f1356dc5fc9baddd8fdea6095541f4d90657ef0211edec7796ddd3693933b8d37d5bb14e19249a2e4627b85aef11c582b0ffac0226c8e99a70af1d2b0396e5c
 SHA512 
b6f79c4af93876eaf859626c2deae3b23bd4fa1a438390bc01513ccc48b90565d59588f6977e7475bb7b8dbeb8b1c8ef2a4737d8eb4d15682531fbf78590ed5e

diff --git a/dev-libs/libpqxx/libpqxx-6.0.0.ebuild 
b/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
deleted file mode 100644
index 6f10efcd346..000
--- a/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PYTHON_COMPAT=( python2_7 )
-inherit python-any-r1
-
-KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-
-DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
-SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-HOMEPAGE="http://pqxx.org/development/libpqxx/;
-LICENSE="BSD"
-SLOT="0"
-IUSE="doc static-libs"
-
-RDEPEND="dev-db/postgresql:="
-DEPEND="${RDEPEND}
-   ${PYTHON_DEPS}
-   doc? (
-   app-doc/doxygen
-   app-text/xmlto
-   )
-"
-
-DOCS=( AUTHORS NEWS README{.md,-UPGRADE} )
-
-src_prepare() {
-   default
-
-   sed -e 's/python/python2/' \
-   -i tools/{splitconfig,template2mak.py} \
-   || die "Couldn't fix Python shebangs"
-}
-
-src_configure() {
-   econf \
-   --enable-shared \
-   $(use_enable doc documentation) \
-   $(use_enable static-libs static)
-}
-
-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
-   cd "${S}/test" || die
-   emake check
-   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
-}
-
-src_install () {
-   use doc && HTML_DOCS=( doc/html/. )
-   default
-
-   if ! use static-libs; then
-   find "${D}" -name '*.la' -delete || die
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2019-07-31 Thread Agostino Sarubbo
commit: 4e7098f14d0c67d0e13acecc96464b8d7d0b2664
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jul 31 12:09:46 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jul 31 12:09:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e7098f1

dev-libs/libpqxx: alpha stable wrt bug #690578

Package-Manager: Portage-2.3.66, Repoman-2.3.16
RepoMan-Options: --include-arches="alpha"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libpqxx/libpqxx-6.4.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild 
b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
index 62ad3091eb6..4d6ea997a9d 100644
--- a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
+++ b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="~alpha amd64 ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2019-07-26 Thread Sergei Trofimovich
commit: 3153b9547cf9f8966ee83304826324f08f464c7a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Jul 26 21:32:07 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Jul 26 21:32:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3153b954

dev-libs/libpqxx: stable 6.4.5 for ia64, bug #690578

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libpqxx/libpqxx-6.4.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild 
b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
index fd2c2cfd34e..62ad3091eb6 100644
--- a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
+++ b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2019-07-26 Thread Agostino Sarubbo
commit: f54456830afd4d48cff11e979e236ce8c086c561
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul 26 10:43:01 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul 26 10:43:01 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5445683

dev-libs/libpqxx: ppc stable wrt bug #690578

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="ppc"

 dev-libs/libpqxx/libpqxx-6.4.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild 
b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
index 7dad31da8ba..fd2c2cfd34e 100644
--- a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
+++ b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2019-07-26 Thread Agostino Sarubbo
commit: 29324a87ee696c7a52dab68adda79c59bb696f24
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul 26 09:53:03 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul 26 09:53:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29324a87

dev-libs/libpqxx: ppc64 stable wrt bug #690578

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="ppc64"

 dev-libs/libpqxx/libpqxx-6.4.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild 
b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
index 66de534a99a..7dad31da8ba 100644
--- a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
+++ b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ppc64 sparc x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2019-07-26 Thread Agostino Sarubbo
commit: fdc79fae4f1c15848d03ac42af4907e2668eb394
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul 26 08:38:02 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul 26 08:38:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdc79fae

dev-libs/libpqxx: amd64 stable wrt bug #690578

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 dev-libs/libpqxx/libpqxx-6.4.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild 
b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
index 283a3afa6d7..66de534a99a 100644
--- a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
+++ b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2019-07-25 Thread Sergei Trofimovich
commit: d74d792d14dbad298c8010664895626848870651
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Jul 25 14:01:36 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jul 25 18:31:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d74d792d

dev-libs/libpqxx: stable 6.4.5 for sparc, bug #690578

Package-Manager: Portage-2.3.66, Repoman-2.3.16
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libpqxx/libpqxx-6.4.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild 
b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
index 2a88ceb1df6..283a3afa6d7 100644
--- a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
+++ b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2019-07-24 Thread Thomas Deutschmann
commit: 01ea34f424cfa64541990f526ae70113bc2d5969
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Jul 24 20:26:44 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Jul 24 20:48:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01ea34f4

dev-libs/libpqxx: x86 stable (bug #690578)

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-libs/libpqxx/libpqxx-6.4.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild 
b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
index 26fc139ec31..2a88ceb1df6 100644
--- a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
+++ b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2019-06-23 Thread Aaron W. Swenson
commit: b673140ca5bd5dfd7c00c25a515075a8bc6d0576
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun Jun 23 09:57:58 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Sun Jun 23 09:58:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b673140c

dev-libs/libpqxx: Bump to 6.4.5

Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Aaron W. Swenson  gentoo.org>

 dev-libs/libpqxx/Manifest |  1 +
 dev-libs/libpqxx/libpqxx-6.4.5.ebuild | 86 +++
 2 files changed, 87 insertions(+)

diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index a926d45549a..53c788a6c84 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1 +1,2 @@
 DIST libpqxx-6.0.0.tar.gz 676528 BLAKE2B 
a40095ba9851acde1296d93af7e4c4414f334a734b5062874b63a146836105fdde24672707caf623f2073dc1caf87b1053f25c80b10c3fa779fc91a52f9ec7ae
 SHA512 
f237cc03c01a8262eee44a9428206c1cc11b6034dddf540afef145f58eee5c32b880d84832563480d73d834c24311170e2ef6789e100793afbe0b6e393bd4169
+DIST libpqxx-6.4.5.tar.gz 715081 BLAKE2B 
4f1356dc5fc9baddd8fdea6095541f4d90657ef0211edec7796ddd3693933b8d37d5bb14e19249a2e4627b85aef11c582b0ffac0226c8e99a70af1d2b0396e5c
 SHA512 
b6f79c4af93876eaf859626c2deae3b23bd4fa1a438390bc01513ccc48b90565d59588f6977e7475bb7b8dbeb8b1c8ef2a4737d8eb4d15682531fbf78590ed5e

diff --git a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild 
b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
new file mode 100644
index 000..26fc139ec31
--- /dev/null
+++ b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
+SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="http://pqxx.org/development/libpqxx/;
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc static-libs"
+
+RDEPEND="dev-db/postgresql:="
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   doc? (
+   app-doc/doxygen
+   app-text/xmlto
+   )
+"
+
+DOCS=( AUTHORS NEWS README{.md,-UPGRADE} )
+
+src_prepare() {
+   default
+
+   sed -e 's/python/python2/' \
+   -i tools/{splitconfig,template2mak.py} \
+   || die "Couldn't fix Python shebangs"
+}
+
+src_configure() {
+   econf \
+   --enable-shared \
+   $(use_enable doc documentation) \
+   $(use_enable static-libs static)
+}
+
+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
+   cd "${S}/test" || die
+   emake check
+   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
+}
+
+src_install () {
+   use doc && HTML_DOCS=( doc/html/. )
+   default
+
+   if ! use static-libs; then
+   find "${D}" -name '*.la' -delete || die
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2018-05-15 Thread Aaron Swenson
commit: 847228fc6fdbde73141282081e5eca15a025ad90
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Tue May 15 20:01:00 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Tue May 15 20:01:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=847228fc

dev-libs/libpqxx: Cleanup

Closes: https://bugs.gentoo.org/642434
Closes: https://bugs.gentoo.org/640154
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-libs/libpqxx/Manifest |  3 --
 dev-libs/libpqxx/libpqxx-4.0.1.ebuild | 84 --
 dev-libs/libpqxx/libpqxx-5.1.0.ebuild | 86 ---
 dev-libs/libpqxx/libpqxx-5.1.1.ebuild | 86 ---
 4 files changed, 259 deletions(-)

diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index 4218eaa6053..a926d45549a 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1,4 +1 @@
-DIST libpqxx-4.0.1.tar.gz 1582532 BLAKE2B 
e84f455de3cdce1bbcdb29ae0ff5fea6e5c624f910a3612976eea1f50e054b785b9b7f2b816fa5d0e11ec4f53498404eb2ec1d9c80fc60a8be27d0e0cef0de14
 SHA512 
00204985097ef8bb0a3376d6ba541dbb471d7c52d7135f6244a9f4acbf6c8e5254d6f813e4411421e49bb56f4a520fc6ac67e300141d724396ce0ac11bd3a95e
-DIST libpqxx-5.1.0.tar.gz 677998 BLAKE2B 
5d486beff9d45249d191b380b2a552dcab621c0509c318e8745abfcb5d6d30b0c31dbe3431fea0c1c212b7a3d6d48abf15d537c6f5a6b3869963dd7615f3e4d3
 SHA512 
4e881bb509b36b6b48d180895ab6864ba0430630d3e1417036ff8ff0008b446467868f2672e0b49b46cc3a86c6a61a8a3e5c6b63e0bf422be3268d7f9702
-DIST libpqxx-5.1.1.tar.gz 678031 BLAKE2B 
c615094b7d872355ad45eb49c3f2e9776f314bca0fbf393ab9ec96daeae5732082c9907eef4793f575cf2cbb95ffa30e1d83cbfb9c4a2938019d9d207ebcc9cf
 SHA512 
fbbefe37d01ef58dd7f73629b5174c7285c0fe7d2f2ae10d3118d55d944f7e92b88d0e9c8ac72425c3bc55bdcc12f3e110e1974b303b7fb227be805e935982dd
 DIST libpqxx-6.0.0.tar.gz 676528 BLAKE2B 
a40095ba9851acde1296d93af7e4c4414f334a734b5062874b63a146836105fdde24672707caf623f2073dc1caf87b1053f25c80b10c3fa779fc91a52f9ec7ae
 SHA512 
f237cc03c01a8262eee44a9428206c1cc11b6034dddf540afef145f58eee5c32b880d84832563480d73d834c24311170e2ef6789e100793afbe0b6e393bd4169

diff --git a/dev-libs/libpqxx/libpqxx-4.0.1.ebuild 
b/dev-libs/libpqxx/libpqxx-4.0.1.ebuild
deleted file mode 100644
index 1be9171fb27..000
--- a/dev-libs/libpqxx/libpqxx-4.0.1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-PYTHON_COMPAT=( python2_7 )
-inherit python-any-r1
-
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-
-DESCRIPTION="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"
-
-RDEPEND="dev-db/postgresql"
-DEPEND="${PYTHON_DEPS}
-   ${RDEPEND}
-"
-
-src_prepare() {
-   sed -e 's/python/python2/' \
-   -i tools/{splitconfig,template2mak.py} \
-   || die "Couldn't fix Python shebangs"
-}
-
-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"
-   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2018-03-20 Thread Sergei Trofimovich
commit: 12cc262c63d7a21c902ce7ed6f1bb0419a77f42c
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Mar 20 22:44:44 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Mar 20 22:44:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12cc262c

dev-libs/libpqxx: stable 6.0.0 for ppc64, bug #641128

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc64"

 dev-libs/libpqxx/libpqxx-6.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-6.0.0.ebuild 
b/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
index 54ba9cb47d8..6f10efcd346 100644
--- a/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
+++ b/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
@@ -6,7 +6,7 @@ EAPI="6"
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="alpha amd64 ~hppa ia64 ppc ~ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2018-03-18 Thread Sergei Trofimovich
commit: 0fd181c06f762a379152ff3a055da17992d08b5e
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Mar 18 20:09:10 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Mar 18 20:09:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fd181c0

dev-libs/libpqxx: stable 6.0.0 for ppc, bug #641128

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc"

 dev-libs/libpqxx/libpqxx-6.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-6.0.0.ebuild 
b/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
index 894bdfffebf..54ba9cb47d8 100644
--- a/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
+++ b/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
@@ -6,7 +6,7 @@ EAPI="6"
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="alpha amd64 ~hppa ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~hppa ia64 ppc ~ppc64 sparc x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2018-03-03 Thread Tobias Klausmann
commit: 27f995d6a7caa0966521b5f82084032869ef7fd3
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sat Mar  3 12:14:07 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sat Mar  3 12:14:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27f995d6

dev-libs/libpqxx-6.0.0-r0: alpha stable

Gentoo-Bug: http://bugs.gentoo.org/641128

 dev-libs/libpqxx/libpqxx-6.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-6.0.0.ebuild 
b/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
index decfb6bafb4..894bdfffebf 100644
--- a/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
+++ b/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
@@ -6,7 +6,7 @@ EAPI="6"
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="~alpha amd64 ~hppa ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~hppa ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2018-02-10 Thread Sergei Trofimovich
commit: 33386e0c24ef3271d8c2910e9f8c04a6e97dbd5b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Feb 10 15:18:28 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Feb 10 15:18:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33386e0c

dev-libs/libpqxx: stable 6.0.0 for ia64, bug #641128

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="ia64"

 dev-libs/libpqxx/libpqxx-6.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-6.0.0.ebuild 
b/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
index b7616bb1764..8d86d4a643c 100644
--- a/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
+++ b/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
@@ -6,7 +6,7 @@ EAPI="6"
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~hppa ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2018-02-09 Thread Thomas Deutschmann
commit: bd4d29dceb84e3bf6fd76dec71c8bf12cf7431e1
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Feb 10 00:20:54 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Feb 10 00:20:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd4d29dc

dev-libs/libpqxx: x86 stable (bug #641128)

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-libs/libpqxx/libpqxx-6.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-6.0.0.ebuild 
b/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
index a8e36af55d9..b7616bb1764 100644
--- a/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
+++ b/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
@@ -6,7 +6,7 @@ EAPI="6"
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2018-02-08 Thread Sergei Trofimovich
commit: dfcf8ee271cabd081c4de46ef0c3c4ce61195dd1
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Feb  8 22:02:52 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Feb  8 22:13:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfcf8ee2

dev-libs/libpqxx: stable 6.0.0 for sparc, bug #641128

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 dev-libs/libpqxx/libpqxx-6.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-6.0.0.ebuild 
b/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
index 28955cdc841..a8e36af55d9 100644
--- a/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
+++ b/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
@@ -6,7 +6,7 @@ EAPI="6"
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2018-01-05 Thread Aaron Swenson
commit: eb2ced4f37a8fa4373d33f33f31cb8d3a609fb8e
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Jan  5 14:38:37 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Fri Jan  5 14:38:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb2ced4f

dev-libs/libpqxx: Bump to 6.0.0

Now requires C++11. Also fixes tests (Bug 642434).

Bug: https://bugs.gentoo.org/642434
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-libs/libpqxx/Manifest |  1 +
 dev-libs/libpqxx/libpqxx-6.0.0.ebuild | 86 +++
 2 files changed, 87 insertions(+)

diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index cc4edb9ded8..4218eaa6053 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1,3 +1,4 @@
 DIST libpqxx-4.0.1.tar.gz 1582532 BLAKE2B 
e84f455de3cdce1bbcdb29ae0ff5fea6e5c624f910a3612976eea1f50e054b785b9b7f2b816fa5d0e11ec4f53498404eb2ec1d9c80fc60a8be27d0e0cef0de14
 SHA512 
00204985097ef8bb0a3376d6ba541dbb471d7c52d7135f6244a9f4acbf6c8e5254d6f813e4411421e49bb56f4a520fc6ac67e300141d724396ce0ac11bd3a95e
 DIST libpqxx-5.1.0.tar.gz 677998 BLAKE2B 
5d486beff9d45249d191b380b2a552dcab621c0509c318e8745abfcb5d6d30b0c31dbe3431fea0c1c212b7a3d6d48abf15d537c6f5a6b3869963dd7615f3e4d3
 SHA512 
4e881bb509b36b6b48d180895ab6864ba0430630d3e1417036ff8ff0008b446467868f2672e0b49b46cc3a86c6a61a8a3e5c6b63e0bf422be3268d7f9702
 DIST libpqxx-5.1.1.tar.gz 678031 BLAKE2B 
c615094b7d872355ad45eb49c3f2e9776f314bca0fbf393ab9ec96daeae5732082c9907eef4793f575cf2cbb95ffa30e1d83cbfb9c4a2938019d9d207ebcc9cf
 SHA512 
fbbefe37d01ef58dd7f73629b5174c7285c0fe7d2f2ae10d3118d55d944f7e92b88d0e9c8ac72425c3bc55bdcc12f3e110e1974b303b7fb227be805e935982dd
+DIST libpqxx-6.0.0.tar.gz 676528 BLAKE2B 
a40095ba9851acde1296d93af7e4c4414f334a734b5062874b63a146836105fdde24672707caf623f2073dc1caf87b1053f25c80b10c3fa779fc91a52f9ec7ae
 SHA512 
f237cc03c01a8262eee44a9428206c1cc11b6034dddf540afef145f58eee5c32b880d84832563480d73d834c24311170e2ef6789e100793afbe0b6e393bd4169

diff --git a/dev-libs/libpqxx/libpqxx-6.0.0.ebuild 
b/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
new file mode 100644
index 000..28955cdc841
--- /dev/null
+++ b/dev-libs/libpqxx/libpqxx-6.0.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
+SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="http://pqxx.org/development/libpqxx/;
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc static-libs"
+
+RDEPEND="dev-db/postgresql:="
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   doc? (
+   app-doc/doxygen
+   app-text/xmlto
+   )
+"
+
+DOCS=( AUTHORS NEWS README{.md,-UPGRADE} )
+
+src_prepare() {
+   default
+
+   sed -e 's/python/python2/' \
+   -i tools/{splitconfig,template2mak.py} \
+   || die "Couldn't fix Python shebangs"
+}
+
+src_configure() {
+   econf \
+   --enable-shared \
+   $(use_enable doc documentation) \
+   $(use_enable static-libs static)
+}
+
+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
+   cd "${S}/test" || die
+   emake check
+   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
+}
+
+src_install () {
+   use doc && HTML_DOCS=( 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2018-01-04 Thread Mikle Kolyada
commit: a09f05d67c8b919311eb72d72df150ad6b9e3d75
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Jan  4 17:00:22 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Jan  4 17:00:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a09f05d6

dev-libs/libpqxx: amd64 stable wrt bug #641128

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-libs/libpqxx/libpqxx-5.1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libpqxx/libpqxx-5.1.0.ebuild 
b/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
index be28e9f387f..65bd4b7a280 100644
--- a/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
+++ b/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -6,7 +6,7 @@ EAPI="6"
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ia64 ppc ppc64 ~sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~hppa ia64 ppc ppc64 ~sparc x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2017-12-29 Thread Sergei Trofimovich
commit: fbf3e6a41a8dab75ab0a594ffbc17eaee9a42bbb
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Dec 29 17:38:59 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Dec 29 17:40:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbf3e6a4

dev-libs/libpqxx: stable 5.1.0 for ia64, bug #641128

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="ia64"

 dev-libs/libpqxx/libpqxx-5.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-5.1.0.ebuild 
b/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
index 1be267352c8..be28e9f387f 100644
--- a/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
+++ b/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
@@ -6,7 +6,7 @@ EAPI="6"
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~hppa ia64 ppc ppc64 ~sparc x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2017-12-25 Thread Sergei Trofimovich
commit: e3c962e019c63b982c12ee274fccf0ca372baed3
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Dec 25 18:19:55 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Dec 25 18:29:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3c962e0

dev-libs/libpqxx: stable 5.1.0 for ppc, bug #641128

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc"

 dev-libs/libpqxx/libpqxx-5.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-5.1.0.ebuild 
b/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
index 7666f2f0850..1be267352c8 100644
--- a/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
+++ b/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
@@ -6,7 +6,7 @@ EAPI="6"
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2017-12-25 Thread Sergei Trofimovich
commit: f89a33875c8a1fe73da616e2f0a7371e918e0295
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Dec 25 10:58:18 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Dec 25 11:01:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f89a3387

dev-libs/libpqxx: stable 5.1.0 for ppc64, bug #641128

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc64"

 dev-libs/libpqxx/libpqxx-5.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-5.1.0.ebuild 
b/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
index 0bc1595185e..7666f2f0850 100644
--- a/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
+++ b/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
@@ -6,7 +6,7 @@ EAPI="6"
 PYTHON_COMPAT=( python2_7 )
 inherit python-any-r1
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86 ~x86-fbsd"
 
 DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
 SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2017-12-15 Thread Aaron Swenson
commit: 352570a0f7ba0d4ba07cf06fd7aa56a33d269537
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Dec 15 15:15:25 2017 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Fri Dec 15 15:15:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=352570a0

dev-libs/libpqxx: Bump to 5.1.1

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-libs/libpqxx/Manifest |  1 +
 dev-libs/libpqxx/libpqxx-5.1.1.ebuild | 86 +++
 2 files changed, 87 insertions(+)

diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index 54b59a37e0e..cc4edb9ded8 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1,2 +1,3 @@
 DIST libpqxx-4.0.1.tar.gz 1582532 BLAKE2B 
e84f455de3cdce1bbcdb29ae0ff5fea6e5c624f910a3612976eea1f50e054b785b9b7f2b816fa5d0e11ec4f53498404eb2ec1d9c80fc60a8be27d0e0cef0de14
 SHA512 
00204985097ef8bb0a3376d6ba541dbb471d7c52d7135f6244a9f4acbf6c8e5254d6f813e4411421e49bb56f4a520fc6ac67e300141d724396ce0ac11bd3a95e
 DIST libpqxx-5.1.0.tar.gz 677998 BLAKE2B 
5d486beff9d45249d191b380b2a552dcab621c0509c318e8745abfcb5d6d30b0c31dbe3431fea0c1c212b7a3d6d48abf15d537c6f5a6b3869963dd7615f3e4d3
 SHA512 
4e881bb509b36b6b48d180895ab6864ba0430630d3e1417036ff8ff0008b446467868f2672e0b49b46cc3a86c6a61a8a3e5c6b63e0bf422be3268d7f9702
+DIST libpqxx-5.1.1.tar.gz 678031 BLAKE2B 
c615094b7d872355ad45eb49c3f2e9776f314bca0fbf393ab9ec96daeae5732082c9907eef4793f575cf2cbb95ffa30e1d83cbfb9c4a2938019d9d207ebcc9cf
 SHA512 
fbbefe37d01ef58dd7f73629b5174c7285c0fe7d2f2ae10d3118d55d944f7e92b88d0e9c8ac72425c3bc55bdcc12f3e110e1974b303b7fb227be805e935982dd

diff --git a/dev-libs/libpqxx/libpqxx-5.1.1.ebuild 
b/dev-libs/libpqxx/libpqxx-5.1.1.ebuild
new file mode 100644
index 000..83c831e8738
--- /dev/null
+++ b/dev-libs/libpqxx/libpqxx-5.1.1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
+SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="http://pqxx.org/development/libpqxx/;
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc static-libs"
+
+RDEPEND="dev-db/postgresql:="
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   doc? (
+   app-doc/doxygen
+   app-text/xmlto
+   )
+"
+
+DOCS=( AUTHORS NEWS README{.md,-UPGRADE} )
+
+src_prepare() {
+   default
+
+   sed -e 's/python/python2/' \
+   -i tools/{splitconfig,template2mak.py} \
+   || die "Couldn't fix Python shebangs"
+}
+
+src_configure() {
+   econf \
+   --enable-shared \
+   $(use_enable doc documentation) \
+   $(use_enable static-libs static)
+}
+
+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
+   cd "${S}/test" || die
+   emake check
+   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
+}
+
+src_install () {
+   use doc && HTML_DOCS=( doc/html/. )
+   default
+
+   if ! use static-libs; then
+   find "${D}" -name '*.la' -delete || die
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2017-09-17 Thread Andreas Sturmlechner
commit: 0902eba3032f998a6ae627554e4d35ef1f2d29b3
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Sep  3 23:31:32 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Sep 17 19:58:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0902eba3

dev-libs/libpqxx: Cleanup, indendation, add missing die

Fix src_* order.

Closes: https://github.com/gentoo/gentoo/pull/5218
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-libs/libpqxx/libpqxx-5.1.0.ebuild | 42 ++-
 1 file changed, 17 insertions(+), 25 deletions(-)

diff --git a/dev-libs/libpqxx/libpqxx-5.1.0.ebuild 
b/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
index 6c01ca8a607..83c831e8738 100644
--- a/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
+++ b/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
@@ -16,12 +16,12 @@ SLOT="0"
 IUSE="doc static-libs"
 
 RDEPEND="dev-db/postgresql:="
-DEPEND="${PYTHON_DEPS}
-   ${RDEPEND}
-   doc? (
-app-doc/doxygen
-app-text/xmlto
-   )
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   doc? (
+   app-doc/doxygen
+   app-text/xmlto
+   )
 "
 
 DOCS=( AUTHORS NEWS README{.md,-UPGRADE} )
@@ -41,16 +41,6 @@ src_configure() {
$(use_enable static-libs static)
 }
 
-src_install () {
-   use doc && HTML_DOCS=( doc/html/. )
-
-   default
-
-   if ! use static-libs; then
-   find "${D}" -name '*.la' -delete || die
-   fi
-}
-
 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,"
@@ -71,15 +61,8 @@ src_test() {
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
+   cd "${S}/test" || die
+   emake check
else
eerror "Is the server running?"
eerror "Verify role and database exist, and are 
permitted in pg_hba.conf for:"
@@ -92,3 +75,12 @@ src_test() {
eerror "Skipping tests."
fi
 }
+
+src_install () {
+   use doc && HTML_DOCS=( doc/html/. )
+   default
+
+   if ! use static-libs; then
+   find "${D}" -name '*.la' -delete || die
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2017-09-17 Thread Andreas Sturmlechner
commit: 0be037bb483ba0b9a7cb1a7fdb201d527075cc6b
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Sep  3 23:33:18 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Sep 17 19:58:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0be037bb

dev-libs/libpqxx: Drop old

Gentoo-bug: 626076
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-libs/libpqxx/Manifest |  1 -
 dev-libs/libpqxx/libpqxx-5.0.1.ebuild | 89 ---
 2 files changed, 90 deletions(-)

diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index 1ddac126f29..f43da5d2206 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1,3 +1,2 @@
 DIST libpqxx-4.0.1.tar.gz 1582532 SHA256 
097ceda2797761ce517faa5bee186c883df1c407cb2aada613a16773afeedc38 SHA512 
00204985097ef8bb0a3376d6ba541dbb471d7c52d7135f6244a9f4acbf6c8e5254d6f813e4411421e49bb56f4a520fc6ac67e300141d724396ce0ac11bd3a95e
 WHIRLPOOL 
d377863f9200e7ed235f8a2cf132b554efa4223d5f542eea23d743ffe391a13d44da767ee2f70146558e5b393ba334656c09007241c1aadde750c00c16e25c12
-DIST libpqxx-5.0.1.tar.gz 743560 SHA256 
21ba7167aeeb76142c0e865127514b4834cefde45eaab2d5eb79099188e21a06 SHA512 
a097a419301d45e8078af08eb4667b7ae06c91d8bb62d57d26e0f6df138eeea350d4ba672a96271f724b3de86f3dd1d57da81aee093835c4b08b2084e98720ef
 WHIRLPOOL 
ca447f769f01a876edae5fd05c9b42fb6c33c5684ba61e07b1055586f332310290d85f2dfea9ba4d537100d427b342afd3f75ba948def9b70dabc68ac926d28a
 DIST libpqxx-5.1.0.tar.gz 677998 SHA256 
c94c8796e3e82f3dda8e8d39b767bc45e95e1cb6e32d03d7fbf71b3e3bd9edd5 SHA512 
4e881bb509b36b6b48d180895ab6864ba0430630d3e1417036ff8ff0008b446467868f2672e0b49b46cc3a86c6a61a8a3e5c6b63e0bf422be3268d7f9702
 WHIRLPOOL 
270430f4428b9a4d61cf6c94b36de85c8c575c4712688542b771cdaa535f2147a458d859d66f08d3ef9b0f40bc68033dc90f1b5a8c925921707bad6eaebcb8eb

diff --git a/dev-libs/libpqxx/libpqxx-5.0.1.ebuild 
b/dev-libs/libpqxx/libpqxx-5.0.1.ebuild
deleted file mode 100644
index 821b96a2fcc..000
--- a/dev-libs/libpqxx/libpqxx-5.0.1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PYTHON_COMPAT=( python2_7 )
-inherit python-any-r1
-
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-
-DESCRIPTION="Standard front end for writing C++ programs that use PostgreSQL"
-SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-HOMEPAGE="http://pqxx.org/development/libpqxx/;
-LICENSE="BSD"
-SLOT="0"
-IUSE="doc static-libs"
-
-RDEPEND="dev-db/postgresql:="
-DEPEND="${PYTHON_DEPS}
-   ${RDEPEND}
-   doc? (
-app-doc/doxygen
-app-text/xmlto
-   )
-"
-
-src_prepare() {
-   sed -e 's/python/python2/' \
-   -i tools/{splitconfig,template2mak.py} \
-   || die "Couldn't fix Python shebangs"
-
-   eapply_user
-}
-
-src_configure() {
-   local myconf
-   use static-libs && myconf="--enable-static" || myconf="--enable-shared"
-
-   econf ${myconf} $(use_enable doc documentation)
-}
-
-src_install () {
-   emake DESTDIR="${D}" install
-
-   dodoc AUTHORS ChangeLog NEWS README*
-   use doc && dodoc -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?"
- 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2017-08-10 Thread Andreas Sturmlechner
commit: f4676d81db9d16ad436b9dcc849206bad7dacaa1
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Aug 10 18:33:21 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Aug 10 18:33:21 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4676d81

dev-libs/libpqxx: Remove bogus myconf remains

 dev-libs/libpqxx/libpqxx-5.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libpqxx/libpqxx-5.1.0.ebuild 
b/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
index 8ef0695ac56..6c01ca8a607 100644
--- a/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
+++ b/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
@@ -38,7 +38,7 @@ src_configure() {
econf \
--enable-shared \
$(use_enable doc documentation) \
-   $(use_enable static-libs static)local myconf
+   $(use_enable static-libs static)
 }
 
 src_install () {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2017-08-10 Thread Aaron Swenson
commit: 0e5ca9aa1739831e140c68d090319e189d38977a
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Aug 10 12:40:08 2017 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Thu Aug 10 12:40:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e5ca9aa

dev-libs/libpqxx: Bump to 5.1.0

Fixes bug 626076 where newer version of sed are more strict about
character class syntax.

Last release to support pre-C++11 compilers.

Gentoo-Bug: 626076

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-libs/libpqxx/Manifest |  1 +
 dev-libs/libpqxx/libpqxx-5.1.0.ebuild | 94 +++
 2 files changed, 95 insertions(+)

diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index 78db94de1d9..1ddac126f29 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1,2 +1,3 @@
 DIST libpqxx-4.0.1.tar.gz 1582532 SHA256 
097ceda2797761ce517faa5bee186c883df1c407cb2aada613a16773afeedc38 SHA512 
00204985097ef8bb0a3376d6ba541dbb471d7c52d7135f6244a9f4acbf6c8e5254d6f813e4411421e49bb56f4a520fc6ac67e300141d724396ce0ac11bd3a95e
 WHIRLPOOL 
d377863f9200e7ed235f8a2cf132b554efa4223d5f542eea23d743ffe391a13d44da767ee2f70146558e5b393ba334656c09007241c1aadde750c00c16e25c12
 DIST libpqxx-5.0.1.tar.gz 743560 SHA256 
21ba7167aeeb76142c0e865127514b4834cefde45eaab2d5eb79099188e21a06 SHA512 
a097a419301d45e8078af08eb4667b7ae06c91d8bb62d57d26e0f6df138eeea350d4ba672a96271f724b3de86f3dd1d57da81aee093835c4b08b2084e98720ef
 WHIRLPOOL 
ca447f769f01a876edae5fd05c9b42fb6c33c5684ba61e07b1055586f332310290d85f2dfea9ba4d537100d427b342afd3f75ba948def9b70dabc68ac926d28a
+DIST libpqxx-5.1.0.tar.gz 677998 SHA256 
c94c8796e3e82f3dda8e8d39b767bc45e95e1cb6e32d03d7fbf71b3e3bd9edd5 SHA512 
4e881bb509b36b6b48d180895ab6864ba0430630d3e1417036ff8ff0008b446467868f2672e0b49b46cc3a86c6a61a8a3e5c6b63e0bf422be3268d7f9702
 WHIRLPOOL 
270430f4428b9a4d61cf6c94b36de85c8c575c4712688542b771cdaa535f2147a458d859d66f08d3ef9b0f40bc68033dc90f1b5a8c925921707bad6eaebcb8eb

diff --git a/dev-libs/libpqxx/libpqxx-5.1.0.ebuild 
b/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
new file mode 100644
index 000..8ef0695ac56
--- /dev/null
+++ b/dev-libs/libpqxx/libpqxx-5.1.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
+SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="http://pqxx.org/development/libpqxx/;
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc static-libs"
+
+RDEPEND="dev-db/postgresql:="
+DEPEND="${PYTHON_DEPS}
+   ${RDEPEND}
+   doc? (
+app-doc/doxygen
+app-text/xmlto
+   )
+"
+
+DOCS=( AUTHORS NEWS README{.md,-UPGRADE} )
+
+src_prepare() {
+   default
+
+   sed -e 's/python/python2/' \
+   -i tools/{splitconfig,template2mak.py} \
+   || die "Couldn't fix Python shebangs"
+}
+
+src_configure() {
+   econf \
+   --enable-shared \
+   $(use_enable doc documentation) \
+   $(use_enable static-libs static)local myconf
+}
+
+src_install () {
+   use doc && HTML_DOCS=( doc/html/. )
+
+   default
+
+   if ! use static-libs; then
+   find "${D}" -name '*.la' -delete || die
+   fi
+}
+
+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 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libpqxx/

2017-07-10 Thread Aaron Swenson
commit: 072c025c352d47e2674f65320958859a5141a168
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Mon Jul 10 16:38:00 2017 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Mon Jul 10 16:38:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=072c025c

dev-libs/libpqxx: Bump to 5.0.1

Version bump fixes bug 604906.
Bump EAPI to 6.
New dependencies for building documentation.
Use dodoc instead of dohtml.
Add slot dependency to dev-db/postgresql.

Bugs: 604906

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-libs/libpqxx/Manifest |  1 +
 dev-libs/libpqxx/libpqxx-5.0.1.ebuild | 89 +++
 2 files changed, 90 insertions(+)

diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index d4644e6b6a2..78db94de1d9 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1 +1,2 @@
 DIST libpqxx-4.0.1.tar.gz 1582532 SHA256 
097ceda2797761ce517faa5bee186c883df1c407cb2aada613a16773afeedc38 SHA512 
00204985097ef8bb0a3376d6ba541dbb471d7c52d7135f6244a9f4acbf6c8e5254d6f813e4411421e49bb56f4a520fc6ac67e300141d724396ce0ac11bd3a95e
 WHIRLPOOL 
d377863f9200e7ed235f8a2cf132b554efa4223d5f542eea23d743ffe391a13d44da767ee2f70146558e5b393ba334656c09007241c1aadde750c00c16e25c12
+DIST libpqxx-5.0.1.tar.gz 743560 SHA256 
21ba7167aeeb76142c0e865127514b4834cefde45eaab2d5eb79099188e21a06 SHA512 
a097a419301d45e8078af08eb4667b7ae06c91d8bb62d57d26e0f6df138eeea350d4ba672a96271f724b3de86f3dd1d57da81aee093835c4b08b2084e98720ef
 WHIRLPOOL 
ca447f769f01a876edae5fd05c9b42fb6c33c5684ba61e07b1055586f332310290d85f2dfea9ba4d537100d427b342afd3f75ba948def9b70dabc68ac926d28a

diff --git a/dev-libs/libpqxx/libpqxx-5.0.1.ebuild 
b/dev-libs/libpqxx/libpqxx-5.0.1.ebuild
new file mode 100644
index 000..b7801bbff4a
--- /dev/null
+++ b/dev-libs/libpqxx/libpqxx-5.0.1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL"
+SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="http://pqxx.org/development/libpqxx/;
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc static-libs"
+
+RDEPEND="dev-db/postgresql:="
+DEPEND="${PYTHON_DEPS}
+   ${RDEPEND}
+   doc? (
+app-doc/doxygen
+app-text/xmlto
+   )
+"
+
+src_prepare() {
+   sed -e 's/python/python2/' \
+   -i tools/{splitconfig,template2mak.py} \
+   || die "Couldn't fix Python shebangs"
+
+   eapply_user
+}
+
+src_configure() {
+   local myconf
+   use static-libs && myconf="--enable-static" || myconf="--enable-shared"
+
+   econf ${myconf} $(use_enable doc documentation)
+}
+
+src_install () {
+   emake DESTDIR="${D}" install
+
+   dodoc AUTHORS ChangeLog NEWS README*
+   use doc && dodoc -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