[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2024-05-04 Thread Michał Górny
commit: 6016afe133ab9f0f98293088d975595217f3a102
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May  4 08:58:16 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May  4 11:31:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6016afe1

dev-python/pygresql: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygresql/Manifest|  1 -
 dev-python/pygresql/pygresql-6.0.ebuild | 69 -
 2 files changed, 70 deletions(-)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index cc90a760f2b0..c9c50f176184 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1,2 +1 @@
-DIST PyGreSQL-6.0.tar.gz 271585 BLAKE2B 
80e5dc9be955ac2b9a69b1cdbc6f164d11bd8f0386da340fc414340a7ebc7e857727f8b6570acf6696ac83daeb41ef80cc5875f4ae0ea766e838d54d96b33910
 SHA512 
a6ed1f252a40ae4c429c142cc408993bfe5ec7a4318cf219f977a440a3e3f823291b160843bc497e3375e5acc36b8043178f77c0f9cfd108e580e80b7a5c8eb9
 DIST pygresql-6.0.1.tar.gz 271855 BLAKE2B 
76d3f18d2bdbe7aa1d4459784fd5f1d3d76feaaeb911f1679c66d1a579cef27a00af619416f03cfcd69804e4f5a997d82765c3e32d9ab371c6011b0915e3e018
 SHA512 
47b0296596d5d914ccd48e09f352f8da38ed82a0861a148525a675431df51b1261d03e7bbb158947d4d525d82e1790d0a4d4c4d293b29550c50965e2a4e89847

diff --git a/dev-python/pygresql/pygresql-6.0.ebuild 
b/dev-python/pygresql/pygresql-6.0.ebuild
deleted file mode 100644
index 0e238787676b..
--- a/dev-python/pygresql/pygresql-6.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYPI_PN="PyGreSQL"
-POSTGRES_COMPAT=( 9.6 {10..16} )
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 postgres pypi
-
-DESCRIPTION="A Python interface for the PostgreSQL database"
-HOMEPAGE="
-   https://pygresql.github.io/
-   https://github.com/PyGreSQL/PyGreSQL/
-   https://pypi.org/project/PyGreSQL/
-"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
-
-DEPEND="${POSTGRES_DEP}"
-RDEPEND="${DEPEND}"
-BDEPEND="
-   test? (
-   dev-db/postgresql[server]
-   )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
-)
-
-distutils_enable_tests unittest
-
-pkg_setup() {
-   if [[ ${MERGE_TYPE} != binary ]]; then
-   postgres_pkg_setup
-   fi
-}
-
-src_test() {
-   local db="${T}/pgsql"
-   initdb --username=portage -D "${db}" || die
-   pg_ctl -w -D "${db}" start \
-   -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die
-   psql -h "${T}" -U portage -d postgres \
-   -c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die
-   createdb -h "${T}" -U portage test || die
-
-   cat > tests/LOCAL_PyGreSQL.py <<-EOF || die
-   dbhost = '${T}'
-   EOF
-
-   rm -rf pg || die
-   distutils-r1_src_test
-
-   pg_ctl -w -D "${db}" stop || die
-}
-
-python_install_all() {
-   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
-
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2024-05-04 Thread Arthur Zamarin
commit: 6da5756a3a4100ab0c4f107eee752afd25c8be1c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  4 07:57:26 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  4 07:57:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6da5756a

dev-python/pygresql: Stabilize 6.0.1 amd64, #931179

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

 dev-python/pygresql/pygresql-6.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-6.0.1.ebuild 
b/dev-python/pygresql/pygresql-6.0.1.ebuild
index e4ea76c46b3a..20a92c0732cc 100644
--- a/dev-python/pygresql/pygresql-6.0.1.ebuild
+++ b/dev-python/pygresql/pygresql-6.0.1.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ~sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2024-05-04 Thread Arthur Zamarin
commit: 28db30cea3dffb3f4f8301c1a9ab8eebb7a0be14
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  4 07:34:47 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  4 07:34:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28db30ce

dev-python/pygresql: Stabilize 6.0.1 ppc, #931179

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

 dev-python/pygresql/pygresql-6.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-6.0.1.ebuild 
b/dev-python/pygresql/pygresql-6.0.1.ebuild
index 500190d8a3d8..e4ea76c46b3a 100644
--- a/dev-python/pygresql/pygresql-6.0.1.ebuild
+++ b/dev-python/pygresql/pygresql-6.0.1.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ~sparc x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2024-05-04 Thread Arthur Zamarin
commit: 46b9914df56bed0cbbb2c6a25538e4dd368ded5e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  4 07:28:41 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  4 07:28:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46b9914d

dev-python/pygresql: Stabilize 6.0.1 x86, #931179

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

 dev-python/pygresql/pygresql-6.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-6.0.1.ebuild 
b/dev-python/pygresql/pygresql-6.0.1.ebuild
index 6c126fb8b7d0..500190d8a3d8 100644
--- a/dev-python/pygresql/pygresql-6.0.1.ebuild
+++ b/dev-python/pygresql/pygresql-6.0.1.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2024-04-19 Thread Michał Górny
commit: 46b462b62a69856fcb5ac38f609ee17e778e0734
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 20 05:11:24 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 20 05:40:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46b462b6

dev-python/pygresql: Bump to 6.0.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygresql/Manifest  |  1 +
 dev-python/pygresql/pygresql-6.0.1.ebuild | 68 +++
 2 files changed, 69 insertions(+)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 91a14db0c922..cc90a760f2b0 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1 +1,2 @@
 DIST PyGreSQL-6.0.tar.gz 271585 BLAKE2B 
80e5dc9be955ac2b9a69b1cdbc6f164d11bd8f0386da340fc414340a7ebc7e857727f8b6570acf6696ac83daeb41ef80cc5875f4ae0ea766e838d54d96b33910
 SHA512 
a6ed1f252a40ae4c429c142cc408993bfe5ec7a4318cf219f977a440a3e3f823291b160843bc497e3375e5acc36b8043178f77c0f9cfd108e580e80b7a5c8eb9
+DIST pygresql-6.0.1.tar.gz 271855 BLAKE2B 
76d3f18d2bdbe7aa1d4459784fd5f1d3d76feaaeb911f1679c66d1a579cef27a00af619416f03cfcd69804e4f5a997d82765c3e32d9ab371c6011b0915e3e018
 SHA512 
47b0296596d5d914ccd48e09f352f8da38ed82a0861a148525a675431df51b1261d03e7bbb158947d4d525d82e1790d0a4d4c4d293b29550c50965e2a4e89847

diff --git a/dev-python/pygresql/pygresql-6.0.1.ebuild 
b/dev-python/pygresql/pygresql-6.0.1.ebuild
new file mode 100644
index ..6c126fb8b7d0
--- /dev/null
+++ b/dev-python/pygresql/pygresql-6.0.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYPI_PN="PyGreSQL"
+POSTGRES_COMPAT=( 9.6 {10..16} )
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 postgres pypi
+
+DESCRIPTION="A Python interface for the PostgreSQL database"
+HOMEPAGE="
+   https://pygresql.github.io/
+   https://github.com/PyGreSQL/PyGreSQL/
+   https://pypi.org/project/PyGreSQL/
+"
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+
+DEPEND="${POSTGRES_DEP}"
+RDEPEND="${DEPEND}"
+BDEPEND="
+   test? (
+   dev-db/postgresql[server]
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
+)
+
+distutils_enable_tests unittest
+
+pkg_setup() {
+   if [[ ${MERGE_TYPE} != binary ]]; then
+   postgres_pkg_setup
+   fi
+}
+
+src_test() {
+   local db="${T}/pgsql"
+   initdb --username=portage -D "${db}" || die
+   pg_ctl -w -D "${db}" start \
+   -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die
+   psql -h "${T}" -U portage -d postgres \
+   -c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die
+   createdb -h "${T}" -U portage test || die
+
+   cat > tests/LOCAL_PyGreSQL.py <<-EOF || die
+   dbhost = '${T}'
+   EOF
+
+   rm -rf pg || die
+   distutils-r1_src_test
+
+   pg_ctl -w -D "${db}" stop || die
+}
+
+python_install_all() {
+   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2023-12-02 Thread Michał Górny
commit: bd5cd14dafe721a3f8ea89d105fde8ea37ec5ab4
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  2 14:53:24 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  2 19:30:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd5cd14d

dev-python/pygresql: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygresql/Manifest  |  1 -
 dev-python/pygresql/pygresql-5.2.5.ebuild | 59 ---
 2 files changed, 60 deletions(-)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 8d40af04a532..91a14db0c922 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1,2 +1 @@
-DIST PyGreSQL-5.2.5.tar.gz 272605 BLAKE2B 
6b3d63ee5d34bbe4eb3f482c7a6e6ef02f6087bf8799aeabf57e2bd7bc77ba46d3d741d1f1355336df7f76f6d23c6d2894d3e3fcfbaafbe6171978c7fc4db30b
 SHA512 
e99a9776e92d812fcf06cf3f448b38aa39ccd108b28237e22dcb663293db41c92d78aa72ad0665552dd99a6a0a8bad518521cacf0b545b888132758f36488f88
 DIST PyGreSQL-6.0.tar.gz 271585 BLAKE2B 
80e5dc9be955ac2b9a69b1cdbc6f164d11bd8f0386da340fc414340a7ebc7e857727f8b6570acf6696ac83daeb41ef80cc5875f4ae0ea766e838d54d96b33910
 SHA512 
a6ed1f252a40ae4c429c142cc408993bfe5ec7a4318cf219f977a440a3e3f823291b160843bc497e3375e5acc36b8043178f77c0f9cfd108e580e80b7a5c8eb9

diff --git a/dev-python/pygresql/pygresql-5.2.5.ebuild 
b/dev-python/pygresql/pygresql-5.2.5.ebuild
deleted file mode 100644
index 1179fbdc23fe..
--- a/dev-python/pygresql/pygresql-5.2.5.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYPI_PN="PyGreSQL"
-POSTGRES_COMPAT=( 9.6 {10..14} )
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 postgres pypi
-
-DESCRIPTION="A Python interface for the PostgreSQL database"
-HOMEPAGE="https://pygresql.org/;
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
-
-DEPEND="${POSTGRES_DEP}"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
-)
-
-distutils_enable_tests unittest
-
-pkg_setup() {
-   if [[ ${MERGE_TYPE} != binary ]]; then
-   postgres_pkg_setup
-   fi
-}
-
-src_test() {
-   local db="${T}/pgsql"
-   initdb --username=portage -D "${db}" || die
-   pg_ctl -w -D "${db}" start \
-   -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die
-   psql -h "${T}" -U portage -d postgres \
-   -c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die
-   createdb -h "${T}" -U portage unittest || die
-
-   cat > tests/LOCAL_PyGreSQL.py <<-EOF || die
-   dbhost = '${T}'
-   EOF
-
-   distutils-r1_src_test
-
-   pg_ctl -w -D "${db}" stop || die
-}
-
-python_install_all() {
-   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
-
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2023-12-02 Thread Arthur Zamarin
commit: 134ce4442de3bcfacd08366a0cacd943765ed81d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  2 13:59:30 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  2 13:59:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=134ce444

dev-python/pygresql: Stabilize 6.0 ppc, #916932

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

 dev-python/pygresql/pygresql-6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-6.0.ebuild 
b/dev-python/pygresql/pygresql-6.0.ebuild
index fbf1e03646d5..0e238787676b 100644
--- a/dev-python/pygresql/pygresql-6.0.ebuild
+++ b/dev-python/pygresql/pygresql-6.0.ebuild
@@ -21,7 +21,7 @@ HOMEPAGE="
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2023-12-02 Thread Michał Górny
commit: 91a5331e16658802f7e474068286fb61272e09a6
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  2 13:02:41 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  2 13:10:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91a5331e

dev-python/pygresql: Add a missing dep on postgresql server

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygresql/pygresql-6.0.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/dev-python/pygresql/pygresql-6.0.ebuild 
b/dev-python/pygresql/pygresql-6.0.ebuild
index 77673b4cec61..fbf1e03646d5 100644
--- a/dev-python/pygresql/pygresql-6.0.ebuild
+++ b/dev-python/pygresql/pygresql-6.0.ebuild
@@ -25,6 +25,11 @@ KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"
+BDEPEND="
+   test? (
+   dev-db/postgresql[server]
+   )
+"
 
 PATCHES=(
"${FILESDIR}"/${PN}-5.2-CFLAGS.patch



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2023-12-02 Thread Arthur Zamarin
commit: d29f2cd755fb0adbcb212ac8354dffb751ce739a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  2 13:05:11 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  2 13:05:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d29f2cd7

dev-python/pygresql: Stabilize 6.0 x86, #916932

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

 dev-python/pygresql/pygresql-6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-6.0.ebuild 
b/dev-python/pygresql/pygresql-6.0.ebuild
index 60e843250e41..77673b4cec61 100644
--- a/dev-python/pygresql/pygresql-6.0.ebuild
+++ b/dev-python/pygresql/pygresql-6.0.ebuild
@@ -21,7 +21,7 @@ HOMEPAGE="
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2023-12-02 Thread Arthur Zamarin
commit: 586bfabaad0d8546874a608f3720d9e87bad0590
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  2 13:05:11 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  2 13:05:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=586bfaba

dev-python/pygresql: Stabilize 6.0 amd64, #916932

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

 dev-python/pygresql/pygresql-6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-6.0.ebuild 
b/dev-python/pygresql/pygresql-6.0.ebuild
index 7c308ca5fe2f..60e843250e41 100644
--- a/dev-python/pygresql/pygresql-6.0.ebuild
+++ b/dev-python/pygresql/pygresql-6.0.ebuild
@@ -21,7 +21,7 @@ HOMEPAGE="
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2023-11-09 Thread Michał Górny
commit: f2cc2a900aa7dbc717cdc4834074d084c7827cfd
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov  9 18:21:00 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Nov  9 18:24:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2cc2a90

dev-python/pygresql: Support postgres up to 16

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygresql/pygresql-6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-6.0.ebuild 
b/dev-python/pygresql/pygresql-6.0.ebuild
index 6ab105e94608..7c308ca5fe2f 100644
--- a/dev-python/pygresql/pygresql-6.0.ebuild
+++ b/dev-python/pygresql/pygresql-6.0.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
 PYPI_PN="PyGreSQL"
-POSTGRES_COMPAT=( 9.6 {10..14} )
+POSTGRES_COMPAT=( 9.6 {10..16} )
 PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 postgres pypi



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2023-10-24 Thread Michał Górny
commit: f244ffb8cf4d43cf98b9af8d2c30809525a8f009
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 25 05:10:45 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 25 05:54:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f244ffb8

dev-python/pygresql: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygresql/Manifest  |  1 -
 dev-python/pygresql/pygresql-5.2.4.ebuild | 53 ---
 2 files changed, 54 deletions(-)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index de78ed54fed7..8d40af04a532 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1,3 +1,2 @@
-DIST PyGreSQL-5.2.4.tar.gz 270319 BLAKE2B 
6ec2bf9786dd97f8649585bd00b87569d2cd668e43e8cc28443126ec2ee00943f044775b756785002c32aef516c4141e126e7d458b232bf8bfa1413bfdbd2db0
 SHA512 
3dbb90391e0a12f1ce4676dd5fa89d586d33a4bcb710779583beb05ae71131fbcf0412e702b542d856f3fd6ceeb145952c2f7bdede25efd08fe61ffcf0296212
 DIST PyGreSQL-5.2.5.tar.gz 272605 BLAKE2B 
6b3d63ee5d34bbe4eb3f482c7a6e6ef02f6087bf8799aeabf57e2bd7bc77ba46d3d741d1f1355336df7f76f6d23c6d2894d3e3fcfbaafbe6171978c7fc4db30b
 SHA512 
e99a9776e92d812fcf06cf3f448b38aa39ccd108b28237e22dcb663293db41c92d78aa72ad0665552dd99a6a0a8bad518521cacf0b545b888132758f36488f88
 DIST PyGreSQL-6.0.tar.gz 271585 BLAKE2B 
80e5dc9be955ac2b9a69b1cdbc6f164d11bd8f0386da340fc414340a7ebc7e857727f8b6570acf6696ac83daeb41ef80cc5875f4ae0ea766e838d54d96b33910
 SHA512 
a6ed1f252a40ae4c429c142cc408993bfe5ec7a4318cf219f977a440a3e3f823291b160843bc497e3375e5acc36b8043178f77c0f9cfd108e580e80b7a5c8eb9

diff --git a/dev-python/pygresql/pygresql-5.2.4.ebuild 
b/dev-python/pygresql/pygresql-5.2.4.ebuild
deleted file mode 100644
index 05d736defda9..
--- a/dev-python/pygresql/pygresql-5.2.4.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYPI_PN="PyGreSQL"
-POSTGRES_COMPAT=( 9.6 {10..14} )
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit distutils-r1 postgres pypi
-
-DESCRIPTION="A Python interface for the PostgreSQL database"
-HOMEPAGE="https://pygresql.org/;
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
-
-DEPEND="${POSTGRES_DEP}"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
-)
-
-distutils_enable_tests unittest
-
-src_test() {
-   local db="${T}/pgsql"
-   initdb --username=portage -D "${db}" || die
-   pg_ctl -w -D "${db}" start \
-   -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die
-   psql -h "${T}" -U portage -d postgres \
-   -c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die
-   createdb -h "${T}" -U portage unittest || die
-
-   cat > tests/LOCAL_PyGreSQL.py <<-EOF || die
-   dbhost = '${T}'
-   EOF
-
-   distutils-r1_src_test
-
-   pg_ctl -w -D "${db}" stop || die
-}
-
-python_install_all() {
-   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
-
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2023-10-24 Thread Arthur Zamarin
commit: 5b34ca6b5cc0a094d117a3be07017363bcc4974b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Oct 24 19:45:36 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Oct 24 19:45:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b34ca6b

dev-python/pygresql: Stabilize 5.2.5 amd64, #914951

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

 dev-python/pygresql/pygresql-5.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.2.5.ebuild 
b/dev-python/pygresql/pygresql-5.2.5.ebuild
index 65d81268f5ed..438a811968a0 100644
--- a/dev-python/pygresql/pygresql-5.2.5.ebuild
+++ b/dev-python/pygresql/pygresql-5.2.5.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://pygresql.org/;
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2023-10-24 Thread Arthur Zamarin
commit: d617e5cc71a2d74e7ec329f481fddd0b9fec
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Oct 24 19:45:42 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Oct 24 19:45:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d617e5cc

dev-python/pygresql: Stabilize 5.2.5 x86, #914951

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

 dev-python/pygresql/pygresql-5.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.2.5.ebuild 
b/dev-python/pygresql/pygresql-5.2.5.ebuild
index 85f6d7275610..1179fbdc23fe 100644
--- a/dev-python/pygresql/pygresql-5.2.5.ebuild
+++ b/dev-python/pygresql/pygresql-5.2.5.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://pygresql.org/;
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2023-10-24 Thread Arthur Zamarin
commit: 764faa252b19a74aa046efaab8dd43f36025955b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Oct 24 19:45:39 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Oct 24 19:45:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=764faa25

dev-python/pygresql: Stabilize 5.2.5 ppc, #914951

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

 dev-python/pygresql/pygresql-5.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.2.5.ebuild 
b/dev-python/pygresql/pygresql-5.2.5.ebuild
index 438a811968a0..85f6d7275610 100644
--- a/dev-python/pygresql/pygresql-5.2.5.ebuild
+++ b/dev-python/pygresql/pygresql-5.2.5.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://pygresql.org/;
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc ~x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2023-10-03 Thread Michał Górny
commit: 48984f5734d390d8ca9e5137a8995bbf98e21c9e
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 05:28:12 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 05:51:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48984f57

dev-python/pygresql: Bump to 6.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygresql/Manifest|  1 +
 dev-python/pygresql/pygresql-6.0.ebuild | 64 +
 2 files changed, 65 insertions(+)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 1cf74e6bf189..de78ed54fed7 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1,2 +1,3 @@
 DIST PyGreSQL-5.2.4.tar.gz 270319 BLAKE2B 
6ec2bf9786dd97f8649585bd00b87569d2cd668e43e8cc28443126ec2ee00943f044775b756785002c32aef516c4141e126e7d458b232bf8bfa1413bfdbd2db0
 SHA512 
3dbb90391e0a12f1ce4676dd5fa89d586d33a4bcb710779583beb05ae71131fbcf0412e702b542d856f3fd6ceeb145952c2f7bdede25efd08fe61ffcf0296212
 DIST PyGreSQL-5.2.5.tar.gz 272605 BLAKE2B 
6b3d63ee5d34bbe4eb3f482c7a6e6ef02f6087bf8799aeabf57e2bd7bc77ba46d3d741d1f1355336df7f76f6d23c6d2894d3e3fcfbaafbe6171978c7fc4db30b
 SHA512 
e99a9776e92d812fcf06cf3f448b38aa39ccd108b28237e22dcb663293db41c92d78aa72ad0665552dd99a6a0a8bad518521cacf0b545b888132758f36488f88
+DIST PyGreSQL-6.0.tar.gz 271585 BLAKE2B 
80e5dc9be955ac2b9a69b1cdbc6f164d11bd8f0386da340fc414340a7ebc7e857727f8b6570acf6696ac83daeb41ef80cc5875f4ae0ea766e838d54d96b33910
 SHA512 
a6ed1f252a40ae4c429c142cc408993bfe5ec7a4318cf219f977a440a3e3f823291b160843bc497e3375e5acc36b8043178f77c0f9cfd108e580e80b7a5c8eb9

diff --git a/dev-python/pygresql/pygresql-6.0.ebuild 
b/dev-python/pygresql/pygresql-6.0.ebuild
new file mode 100644
index ..6ab105e94608
--- /dev/null
+++ b/dev-python/pygresql/pygresql-6.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN="PyGreSQL"
+POSTGRES_COMPAT=( 9.6 {10..14} )
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 postgres pypi
+
+DESCRIPTION="A Python interface for the PostgreSQL database"
+HOMEPAGE="
+   https://pygresql.github.io/
+   https://github.com/PyGreSQL/PyGreSQL/
+   https://pypi.org/project/PyGreSQL/
+"
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+
+DEPEND="${POSTGRES_DEP}"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
+)
+
+distutils_enable_tests unittest
+
+pkg_setup() {
+   if [[ ${MERGE_TYPE} != binary ]]; then
+   postgres_pkg_setup
+   fi
+}
+
+src_test() {
+   local db="${T}/pgsql"
+   initdb --username=portage -D "${db}" || die
+   pg_ctl -w -D "${db}" start \
+   -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die
+   psql -h "${T}" -U portage -d postgres \
+   -c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die
+   createdb -h "${T}" -U portage test || die
+
+   cat > tests/LOCAL_PyGreSQL.py <<-EOF || die
+   dbhost = '${T}'
+   EOF
+
+   rm -rf pg || die
+   distutils-r1_src_test
+
+   pg_ctl -w -D "${db}" stop || die
+}
+
+python_install_all() {
+   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2023-08-28 Thread Michał Górny
commit: eee7e9ec23da7c31f93d547bb95fc2db2f166f8f
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Aug 28 16:32:39 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Aug 28 16:53:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eee7e9ec

dev-python/pygresql: Bump to 5.2.5

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygresql/Manifest  |  1 +
 dev-python/pygresql/pygresql-5.2.5.ebuild | 59 +++
 2 files changed, 60 insertions(+)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 406b3d42e47f..1cf74e6bf189 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1 +1,2 @@
 DIST PyGreSQL-5.2.4.tar.gz 270319 BLAKE2B 
6ec2bf9786dd97f8649585bd00b87569d2cd668e43e8cc28443126ec2ee00943f044775b756785002c32aef516c4141e126e7d458b232bf8bfa1413bfdbd2db0
 SHA512 
3dbb90391e0a12f1ce4676dd5fa89d586d33a4bcb710779583beb05ae71131fbcf0412e702b542d856f3fd6ceeb145952c2f7bdede25efd08fe61ffcf0296212
+DIST PyGreSQL-5.2.5.tar.gz 272605 BLAKE2B 
6b3d63ee5d34bbe4eb3f482c7a6e6ef02f6087bf8799aeabf57e2bd7bc77ba46d3d741d1f1355336df7f76f6d23c6d2894d3e3fcfbaafbe6171978c7fc4db30b
 SHA512 
e99a9776e92d812fcf06cf3f448b38aa39ccd108b28237e22dcb663293db41c92d78aa72ad0665552dd99a6a0a8bad518521cacf0b545b888132758f36488f88

diff --git a/dev-python/pygresql/pygresql-5.2.5.ebuild 
b/dev-python/pygresql/pygresql-5.2.5.ebuild
new file mode 100644
index ..65d81268f5ed
--- /dev/null
+++ b/dev-python/pygresql/pygresql-5.2.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN="PyGreSQL"
+POSTGRES_COMPAT=( 9.6 {10..14} )
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 postgres pypi
+
+DESCRIPTION="A Python interface for the PostgreSQL database"
+HOMEPAGE="https://pygresql.org/;
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+
+DEPEND="${POSTGRES_DEP}"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
+)
+
+distutils_enable_tests unittest
+
+pkg_setup() {
+   if [[ ${MERGE_TYPE} != binary ]]; then
+   postgres_pkg_setup
+   fi
+}
+
+src_test() {
+   local db="${T}/pgsql"
+   initdb --username=portage -D "${db}" || die
+   pg_ctl -w -D "${db}" start \
+   -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die
+   psql -h "${T}" -U portage -d postgres \
+   -c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die
+   createdb -h "${T}" -U portage unittest || die
+
+   cat > tests/LOCAL_PyGreSQL.py <<-EOF || die
+   dbhost = '${T}'
+   EOF
+
+   distutils-r1_src_test
+
+   pg_ctl -w -D "${db}" stop || die
+}
+
+python_install_all() {
+   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2023-05-02 Thread Sam James
commit: ef4d36a7487f5c337be7e2ddbff27ef88e3e28ca
Author: Sam James  gentoo  org>
AuthorDate: Wed May  3 05:10:12 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  3 05:22:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef4d36a7

dev-python/pygresql: enable py3.11

Closes: https://bugs.gentoo.org/896832
Signed-off-by: Sam James  gentoo.org>

 dev-python/pygresql/pygresql-5.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.2.4.ebuild 
b/dev-python/pygresql/pygresql-5.2.4.ebuild
index 2c4fcce017a1..5ad5dc18a36b 100644
--- a/dev-python/pygresql/pygresql-5.2.4.ebuild
+++ b/dev-python/pygresql/pygresql-5.2.4.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
 PYPI_PN="PyGreSQL"
 POSTGRES_COMPAT=( 9.6 {10..14} )
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{10..11} )
 
 inherit distutils-r1 postgres pypi
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2022-05-04 Thread Michał Górny
commit: bd5ba24bbe354ce17e8182728e5cf2e45382d961
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May  4 17:37:30 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May  4 17:53:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd5ba24b

dev-python/pygresql: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygresql/Manifest  |  2 --
 dev-python/pygresql/pygresql-5.2.2.ebuild | 53 --
 dev-python/pygresql/pygresql-5.2.3.ebuild | 54 ---
 3 files changed, 109 deletions(-)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 061778203ca7..406b3d42e47f 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1,3 +1 @@
-DIST PyGreSQL-5.2.2.tar.gz 268818 BLAKE2B 
4b74c5496f63208164efa10e70222b63512f3afb928bdc612f9874556ee2084b42a80ba05e9ebc6951c68c1c8a70c71320396aabb20b9d5c00d5edd46e287f3f
 SHA512 
a88af2590a515ece19b7f64796e241c6e7b53c8aef90c6e2ae064298a4c71d44695dcf43e0e84595a704c4fdafb9abe35e1779492d3a9ad3708759215cb188a1
-DIST PyGreSQL-5.2.3.tar.gz 269952 BLAKE2B 
9588f4e97dcc2b52e070405df3869c50bb9968716f19fa2154b6aa248d015c7b80aa6d2bf12a3bb30a77e4572b96939b5a6a98043fe70c911f80a54e09cb034e
 SHA512 
94fe212801e89a97ccaac0cd72df4a79e28acc0992e855dfc2e8e8fd08750c97d2f2801eef07fdfa8a258061cc63c4aa9e4127852ba58c845414ec2d5e5f1483
 DIST PyGreSQL-5.2.4.tar.gz 270319 BLAKE2B 
6ec2bf9786dd97f8649585bd00b87569d2cd668e43e8cc28443126ec2ee00943f044775b756785002c32aef516c4141e126e7d458b232bf8bfa1413bfdbd2db0
 SHA512 
3dbb90391e0a12f1ce4676dd5fa89d586d33a4bcb710779583beb05ae71131fbcf0412e702b542d856f3fd6ceeb145952c2f7bdede25efd08fe61ffcf0296212

diff --git a/dev-python/pygresql/pygresql-5.2.2.ebuild 
b/dev-python/pygresql/pygresql-5.2.2.ebuild
deleted file mode 100644
index cf922e7456c7..
--- a/dev-python/pygresql/pygresql-5.2.2.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-POSTGRES_COMPAT=( 9.6 {10..13} )
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1 postgres
-
-MY_P="PyGreSQL-${PV}"
-
-DESCRIPTION="A Python interface for the PostgreSQL database"
-HOMEPAGE="https://pygresql.org/;
-SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
-
-DEPEND="${POSTGRES_DEP}"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
-)
-
-distutils_enable_tests unittest
-
-src_test() {
-   local db="${T}/pgsql"
-   initdb --username=portage -D "${db}" || die
-   pg_ctl -w -D "${db}" start \
-   -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die
-   psql -h "${T}" -U portage -d postgres \
-   -c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die
-   createdb -h "${T}" -U portage unittest || die
-
-   cat > tests/LOCAL_PyGreSQL.py <<-EOF || die
-   dbhost = '${T}'
-   EOF
-
-   distutils-r1_src_test
-
-   pg_ctl -w -D "${db}" stop || die
-}
-
-python_install_all() {
-   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
-
-   distutils-r1_python_install_all
-}

diff --git a/dev-python/pygresql/pygresql-5.2.3.ebuild 
b/dev-python/pygresql/pygresql-5.2.3.ebuild
deleted file mode 100644
index b9bd244ac38a..
--- a/dev-python/pygresql/pygresql-5.2.3.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_PEP517=setuptools
-POSTGRES_COMPAT=( 9.6 {10..14} )
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1 postgres
-
-MY_P="PyGreSQL-${PV}"
-
-DESCRIPTION="A Python interface for the PostgreSQL database"
-HOMEPAGE="https://pygresql.org/;
-SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
-
-DEPEND="${POSTGRES_DEP}"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
-)
-
-distutils_enable_tests unittest
-
-src_test() {
-   local db="${T}/pgsql"
-   initdb --username=portage -D "${db}" || die
-   pg_ctl -w -D "${db}" start \
-   -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die
-   psql -h "${T}" -U portage -d postgres \
-   -c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die
-   createdb -h "${T}" -U portage unittest || die
-
-   cat > tests/LOCAL_PyGreSQL.py <<-EOF || die
-   dbhost = '${T}'
-   EOF
-
-   distutils-r1_src_test
-
-   pg_ctl -w -D "${db}" stop || die
-}
-
-python_install_all() {
-   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
-
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2022-04-21 Thread Jakov Smolić
commit: c6a20bf6fed9e359089c533dc87159dc51fc4b8d
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Apr 21 08:25:43 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Apr 21 08:25:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6a20bf6

dev-python/pygresql: Stabilize 5.2.4 x86, #835257

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

 dev-python/pygresql/pygresql-5.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.2.4.ebuild 
b/dev-python/pygresql/pygresql-5.2.4.ebuild
index b005a0878492..89f957483df9 100644
--- a/dev-python/pygresql/pygresql-5.2.4.ebuild
+++ b/dev-python/pygresql/pygresql-5.2.4.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2022-04-21 Thread Agostino Sarubbo
commit: 5007d885b8c8d206a376943a8dd27de71431a300
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Apr 21 07:02:14 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Apr 21 07:02:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5007d885

dev-python/pygresql: amd64 stable wrt bug #835257

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

 dev-python/pygresql/pygresql-5.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.2.4.ebuild 
b/dev-python/pygresql/pygresql-5.2.4.ebuild
index 0b535f825226..b005a0878492 100644
--- a/dev-python/pygresql/pygresql-5.2.4.ebuild
+++ b/dev-python/pygresql/pygresql-5.2.4.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc ~x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2022-04-19 Thread Arthur Zamarin
commit: e60d30eb39005989f75efde812b0f261a9e6e799
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr 19 17:04:44 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr 19 17:04:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e60d30eb

dev-python/pygresql: Stabilize 5.2.4 ppc, #835257

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

 dev-python/pygresql/pygresql-5.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.2.4.ebuild 
b/dev-python/pygresql/pygresql-5.2.4.ebuild
index b9bd244ac38a..0b535f825226 100644
--- a/dev-python/pygresql/pygresql-5.2.4.ebuild
+++ b/dev-python/pygresql/pygresql-5.2.4.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ~sparc ~x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2022-03-27 Thread Michał Górny
commit: 7f7bb99d3fa4a67c11ac5b1671ffac4609b289cb
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar 27 08:27:36 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 27 09:31:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f7bb99d

dev-python/pygresql: Bump to 5.2.4

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygresql/Manifest  |  1 +
 dev-python/pygresql/pygresql-5.2.4.ebuild | 54 +++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index eeaf21151278..061778203ca7 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1,2 +1,3 @@
 DIST PyGreSQL-5.2.2.tar.gz 268818 BLAKE2B 
4b74c5496f63208164efa10e70222b63512f3afb928bdc612f9874556ee2084b42a80ba05e9ebc6951c68c1c8a70c71320396aabb20b9d5c00d5edd46e287f3f
 SHA512 
a88af2590a515ece19b7f64796e241c6e7b53c8aef90c6e2ae064298a4c71d44695dcf43e0e84595a704c4fdafb9abe35e1779492d3a9ad3708759215cb188a1
 DIST PyGreSQL-5.2.3.tar.gz 269952 BLAKE2B 
9588f4e97dcc2b52e070405df3869c50bb9968716f19fa2154b6aa248d015c7b80aa6d2bf12a3bb30a77e4572b96939b5a6a98043fe70c911f80a54e09cb034e
 SHA512 
94fe212801e89a97ccaac0cd72df4a79e28acc0992e855dfc2e8e8fd08750c97d2f2801eef07fdfa8a258061cc63c4aa9e4127852ba58c845414ec2d5e5f1483
+DIST PyGreSQL-5.2.4.tar.gz 270319 BLAKE2B 
6ec2bf9786dd97f8649585bd00b87569d2cd668e43e8cc28443126ec2ee00943f044775b756785002c32aef516c4141e126e7d458b232bf8bfa1413bfdbd2db0
 SHA512 
3dbb90391e0a12f1ce4676dd5fa89d586d33a4bcb710779583beb05ae71131fbcf0412e702b542d856f3fd6ceeb145952c2f7bdede25efd08fe61ffcf0296212

diff --git a/dev-python/pygresql/pygresql-5.2.4.ebuild 
b/dev-python/pygresql/pygresql-5.2.4.ebuild
new file mode 100644
index ..b9bd244ac38a
--- /dev/null
+++ b/dev-python/pygresql/pygresql-5.2.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_PEP517=setuptools
+POSTGRES_COMPAT=( 9.6 {10..14} )
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 postgres
+
+MY_P="PyGreSQL-${PV}"
+
+DESCRIPTION="A Python interface for the PostgreSQL database"
+HOMEPAGE="https://pygresql.org/;
+SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+
+DEPEND="${POSTGRES_DEP}"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
+)
+
+distutils_enable_tests unittest
+
+src_test() {
+   local db="${T}/pgsql"
+   initdb --username=portage -D "${db}" || die
+   pg_ctl -w -D "${db}" start \
+   -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die
+   psql -h "${T}" -U portage -d postgres \
+   -c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die
+   createdb -h "${T}" -U portage unittest || die
+
+   cat > tests/LOCAL_PyGreSQL.py <<-EOF || die
+   dbhost = '${T}'
+   EOF
+
+   distutils-r1_src_test
+
+   pg_ctl -w -D "${db}" stop || die
+}
+
+python_install_all() {
+   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2022-01-30 Thread Michał Górny
commit: 00ac452118c676fa38aa115a1dcc6075de6bfc2c
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan 31 07:50:58 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan 31 07:52:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00ac4521

dev-python/pygresql: Bump to 5.2.3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygresql/Manifest  |  1 +
 dev-python/pygresql/pygresql-5.2.3.ebuild | 54 +++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index eb92599eee0c..eeaf21151278 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1 +1,2 @@
 DIST PyGreSQL-5.2.2.tar.gz 268818 BLAKE2B 
4b74c5496f63208164efa10e70222b63512f3afb928bdc612f9874556ee2084b42a80ba05e9ebc6951c68c1c8a70c71320396aabb20b9d5c00d5edd46e287f3f
 SHA512 
a88af2590a515ece19b7f64796e241c6e7b53c8aef90c6e2ae064298a4c71d44695dcf43e0e84595a704c4fdafb9abe35e1779492d3a9ad3708759215cb188a1
+DIST PyGreSQL-5.2.3.tar.gz 269952 BLAKE2B 
9588f4e97dcc2b52e070405df3869c50bb9968716f19fa2154b6aa248d015c7b80aa6d2bf12a3bb30a77e4572b96939b5a6a98043fe70c911f80a54e09cb034e
 SHA512 
94fe212801e89a97ccaac0cd72df4a79e28acc0992e855dfc2e8e8fd08750c97d2f2801eef07fdfa8a258061cc63c4aa9e4127852ba58c845414ec2d5e5f1483

diff --git a/dev-python/pygresql/pygresql-5.2.3.ebuild 
b/dev-python/pygresql/pygresql-5.2.3.ebuild
new file mode 100644
index ..b9bd244ac38a
--- /dev/null
+++ b/dev-python/pygresql/pygresql-5.2.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_PEP517=setuptools
+POSTGRES_COMPAT=( 9.6 {10..14} )
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 postgres
+
+MY_P="PyGreSQL-${PV}"
+
+DESCRIPTION="A Python interface for the PostgreSQL database"
+HOMEPAGE="https://pygresql.org/;
+SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+
+DEPEND="${POSTGRES_DEP}"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
+)
+
+distutils_enable_tests unittest
+
+src_test() {
+   local db="${T}/pgsql"
+   initdb --username=portage -D "${db}" || die
+   pg_ctl -w -D "${db}" start \
+   -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die
+   psql -h "${T}" -U portage -d postgres \
+   -c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die
+   createdb -h "${T}" -U portage unittest || die
+
+   cat > tests/LOCAL_PyGreSQL.py <<-EOF || die
+   dbhost = '${T}'
+   EOF
+
+   distutils-r1_src_test
+
+   pg_ctl -w -D "${db}" stop || die
+}
+
+python_install_all() {
+   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2021-11-04 Thread Arthur Zamarin
commit: 8dd1909481af4844bd735c5ab0ecdb64be37c973
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Nov  4 08:03:09 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Nov  4 08:04:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dd19094

dev-python/pygresql: enable tests

Closes: https://bugs.gentoo.org/798375
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pygresql/pygresql-5.2.2.ebuild | 26 --
 1 file changed, 24 insertions(+), 2 deletions(-)

diff --git a/dev-python/pygresql/pygresql-5.2.2.ebuild 
b/dev-python/pygresql/pygresql-5.2.2.ebuild
index 578b5884f40..5a676aa5de5 100644
--- a/dev-python/pygresql/pygresql-5.2.2.ebuild
+++ b/dev-python/pygresql/pygresql-5.2.2.ebuild
@@ -13,6 +13,7 @@ MY_P="PyGreSQL-${PV}"
 DESCRIPTION="A Python interface for the PostgreSQL database"
 HOMEPAGE="https://pygresql.org/;
 SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
@@ -21,8 +22,29 @@ KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}/${MY_P}"
-PATCHES=( "${FILESDIR}"/${PN}-5.2-CFLAGS.patch )
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
+)
+
+distutils_enable_tests unittest
+
+src_test() {
+   local db="${T}/pgsql"
+   initdb --username=portage -D "${db}" || die
+   pg_ctl -w -D "${db}" start \
+   -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die
+   psql -h "${T}" -U portage -d postgres \
+   -c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die
+   createdb -h "${T}" -U portage unittest || die
+
+   cat > tests/LOCAL_PyGreSQL.py <<-EOF || die
+   dbhost = '${T}'
+   EOF
+
+   distutils-r1_src_test
+
+   pg_ctl -w -D "${db}" stop || die
+}
 
 python_install_all() {
local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2021-11-04 Thread Arthur Zamarin
commit: f1707721678a8cb629719bbb3d8841056d43c064
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Nov  4 08:03:23 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Nov  4 08:04:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1707721

dev-python/pygresql: enable py3.10

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

 dev-python/pygresql/pygresql-5.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.2.2.ebuild 
b/dev-python/pygresql/pygresql-5.2.2.ebuild
index 5a676aa5de5..cf922e7456c 100644
--- a/dev-python/pygresql/pygresql-5.2.2.ebuild
+++ b/dev-python/pygresql/pygresql-5.2.2.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 POSTGRES_COMPAT=( 9.6 {10..13} )
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1 postgres
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2021-11-04 Thread Arthur Zamarin
commit: b7bb6521bfae0d08a5377d585908603a7cb4bda6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Nov  4 07:34:14 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Nov  4 08:04:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7bb6521

dev-python/pygresql: add github upstream metadata

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

 dev-python/pygresql/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pygresql/metadata.xml b/dev-python/pygresql/metadata.xml
index 3b27787860c..5580fe606fc 100644
--- a/dev-python/pygresql/metadata.xml
+++ b/dev-python/pygresql/metadata.xml
@@ -11,5 +11,6 @@


PyGreSQL
+   PyGreSQL/PyGreSQL

 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2021-08-22 Thread David Seifert
commit: e9a814e96e3eaf4d8e6e55c441bb39b3bcc0da54
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sun Aug 22 21:53:39 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug 22 21:53:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9a814e9

dev-python/pygresql: Remove postgres9_5

Closes: https://github.com/gentoo/gentoo/pull/21998
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 dev-python/pygresql/pygresql-5.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.2.2.ebuild 
b/dev-python/pygresql/pygresql-5.2.2.ebuild
index 89085e70a5e..578b5884f40 100644
--- a/dev-python/pygresql/pygresql-5.2.2.ebuild
+++ b/dev-python/pygresql/pygresql-5.2.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-POSTGRES_COMPAT=( 9.{5..6} {10..13} )
+POSTGRES_COMPAT=( 9.6 {10..13} )
 PYTHON_COMPAT=( python3_{7..9} )
 
 inherit distutils-r1 postgres



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2021-01-24 Thread Michał Górny
commit: 41c7f1337b983f64571f40d17cde0f6511c94041
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jan 24 09:40:14 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jan 24 10:15:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41c7f133

dev-python/pygresql: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygresql/Manifest  |  2 --
 dev-python/pygresql/pygresql-5.2.1.ebuild | 33 ---
 dev-python/pygresql/pygresql-5.2.ebuild   | 33 ---
 3 files changed, 68 deletions(-)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 4ae4f7fa593..eb92599eee0 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1,3 +1 @@
-DIST PyGreSQL-5.2.1.tar.gz 267750 BLAKE2B 
6c0d4bcfe4f01bf3214efffa1be274b4a92b5e173094e1afe217aae9a44f88d023b43a2de9d4977fb8ce28d25718cf1cd5d123e8ffc2588f2539b6c03277ec55
 SHA512 
b304de447c239e4737571b38f0e0761448bd4e313f5b28708aced12cf190f323b85f80d3d87e054b62733add770c7bcd33be644a4f17a96ecc0cf4ab3dba85f3
 DIST PyGreSQL-5.2.2.tar.gz 268818 BLAKE2B 
4b74c5496f63208164efa10e70222b63512f3afb928bdc612f9874556ee2084b42a80ba05e9ebc6951c68c1c8a70c71320396aabb20b9d5c00d5edd46e287f3f
 SHA512 
a88af2590a515ece19b7f64796e241c6e7b53c8aef90c6e2ae064298a4c71d44695dcf43e0e84595a704c4fdafb9abe35e1779492d3a9ad3708759215cb188a1
-DIST PyGreSQL-5.2.tar.gz 267557 BLAKE2B 
92c2c0810a9b763fc2e9fec2e920ca1e21da4eb4ede5f2e20f66fd385ccc623fd9fe74075c6b995c6ea6348df76dcd723c8e4b6d83afdb53c978c02cc5220e49
 SHA512 
ce1cd29c714ab863dbdc7dde920f8938b115535ae3a0b54c770d7648f05011a716d604eec2d73c321fe2a408e64bcd9208c204856e5ddb0e0675ef7c076e4da7

diff --git a/dev-python/pygresql/pygresql-5.2.1.ebuild 
b/dev-python/pygresql/pygresql-5.2.1.ebuild
deleted file mode 100644
index b1b9f1a131b..000
--- a/dev-python/pygresql/pygresql-5.2.1.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-POSTGRES_COMPAT=( 9.{5..6} {10..13} )
-PYTHON_COMPAT=( python3_{6..9} )
-
-inherit distutils-r1 postgres
-
-MY_P="PyGreSQL-${PV}"
-
-DESCRIPTION="A Python interface for the PostgreSQL database"
-HOMEPAGE="https://pygresql.org/;
-SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ~sparc ~x86"
-
-DEPEND="${POSTGRES_DEP}"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-PATCHES=(
-   "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
-)
-
-python_install_all() {
-   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
-
-   distutils-r1_python_install_all
-}

diff --git a/dev-python/pygresql/pygresql-5.2.ebuild 
b/dev-python/pygresql/pygresql-5.2.ebuild
deleted file mode 100644
index a4ad7e5b804..000
--- a/dev-python/pygresql/pygresql-5.2.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-POSTGRES_COMPAT=( 9.{5..6} {10..12} )
-PYTHON_COMPAT=( python3_{6..8} )
-
-inherit distutils-r1 postgres
-
-MY_P="PyGreSQL-${PV}"
-
-DESCRIPTION="A Python interface for the PostgreSQL database"
-HOMEPAGE="https://pygresql.org/;
-SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
-
-DEPEND="${POSTGRES_DEP}"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-PATCHES=(
-   "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
-)
-
-python_install_all() {
-   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
-
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2021-01-19 Thread Agostino Sarubbo
commit: 7bf7dcd820e896fdd6ec91104a80a72c722862f9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jan 20 07:41:49 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jan 20 07:41:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bf7dcd8

dev-python/pygresql: amd64 stable wrt bug #765952

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

 dev-python/pygresql/pygresql-5.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.2.2.ebuild 
b/dev-python/pygresql/pygresql-5.2.2.ebuild
index 96432e33a83..a56bba8e0cc 100644
--- a/dev-python/pygresql/pygresql-5.2.2.ebuild
+++ b/dev-python/pygresql/pygresql-5.2.2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc ~x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2021-01-19 Thread Sam James
commit: e383a017fd27a34372f2f8c36279a8c5b08392a4
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 20 00:04:01 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 20 00:04:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e383a017

dev-python/pygresql: Stabilize 5.2.2 ppc, #765952

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

 dev-python/pygresql/pygresql-5.2.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pygresql/pygresql-5.2.2.ebuild 
b/dev-python/pygresql/pygresql-5.2.2.ebuild
index 709e1ceeafe..96432e33a83 100644
--- a/dev-python/pygresql/pygresql-5.2.2.ebuild
+++ b/dev-python/pygresql/pygresql-5.2.2.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
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ~sparc ~x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2020-12-18 Thread Aaron W. Swenson
commit: 170bb9968f267f5de0e0c66de0d729a7774a779c
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Dec 18 12:28:19 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Fri Dec 18 12:28:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=170bb996

dev-python/pygresql: Bump to 5.2.2

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

 dev-python/pygresql/Manifest  |  1 +
 dev-python/pygresql/pygresql-5.2.2.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index fc6ae068b83..4ae4f7fa593 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1,2 +1,3 @@
 DIST PyGreSQL-5.2.1.tar.gz 267750 BLAKE2B 
6c0d4bcfe4f01bf3214efffa1be274b4a92b5e173094e1afe217aae9a44f88d023b43a2de9d4977fb8ce28d25718cf1cd5d123e8ffc2588f2539b6c03277ec55
 SHA512 
b304de447c239e4737571b38f0e0761448bd4e313f5b28708aced12cf190f323b85f80d3d87e054b62733add770c7bcd33be644a4f17a96ecc0cf4ab3dba85f3
+DIST PyGreSQL-5.2.2.tar.gz 268818 BLAKE2B 
4b74c5496f63208164efa10e70222b63512f3afb928bdc612f9874556ee2084b42a80ba05e9ebc6951c68c1c8a70c71320396aabb20b9d5c00d5edd46e287f3f
 SHA512 
a88af2590a515ece19b7f64796e241c6e7b53c8aef90c6e2ae064298a4c71d44695dcf43e0e84595a704c4fdafb9abe35e1779492d3a9ad3708759215cb188a1
 DIST PyGreSQL-5.2.tar.gz 267557 BLAKE2B 
92c2c0810a9b763fc2e9fec2e920ca1e21da4eb4ede5f2e20f66fd385ccc623fd9fe74075c6b995c6ea6348df76dcd723c8e4b6d83afdb53c978c02cc5220e49
 SHA512 
ce1cd29c714ab863dbdc7dde920f8938b115535ae3a0b54c770d7648f05011a716d604eec2d73c321fe2a408e64bcd9208c204856e5ddb0e0675ef7c076e4da7

diff --git a/dev-python/pygresql/pygresql-5.2.2.ebuild 
b/dev-python/pygresql/pygresql-5.2.2.ebuild
new file mode 100644
index 000..709e1ceeafe
--- /dev/null
+++ b/dev-python/pygresql/pygresql-5.2.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+POSTGRES_COMPAT=( 9.{5..6} {10..13} )
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1 postgres
+
+MY_P="PyGreSQL-${PV}"
+
+DESCRIPTION="A Python interface for the PostgreSQL database"
+HOMEPAGE="https://pygresql.org/;
+SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+
+DEPEND="${POSTGRES_DEP}"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+PATCHES=( "${FILESDIR}"/${PN}-5.2-CFLAGS.patch )
+
+python_install_all() {
+   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2020-11-30 Thread Aaron W. Swenson
commit: 6b89345e6331d17249392b12f23933711853e426
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Tue Dec  1 02:52:40 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Tue Dec  1 02:55:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b89345e

dev-python/pygresql: Bump to 5.2.1

Also bump EAPI to 7, add 3.9 to PYTHON_COMPAT, and add 13 to POSTGRES_COMPAT.

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

 dev-python/pygresql/Manifest  |  1 +
 dev-python/pygresql/pygresql-5.2.1.ebuild | 33 +++
 2 files changed, 34 insertions(+)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 6b53f536bee..fc6ae068b83 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1 +1,2 @@
+DIST PyGreSQL-5.2.1.tar.gz 267750 BLAKE2B 
6c0d4bcfe4f01bf3214efffa1be274b4a92b5e173094e1afe217aae9a44f88d023b43a2de9d4977fb8ce28d25718cf1cd5d123e8ffc2588f2539b6c03277ec55
 SHA512 
b304de447c239e4737571b38f0e0761448bd4e313f5b28708aced12cf190f323b85f80d3d87e054b62733add770c7bcd33be644a4f17a96ecc0cf4ab3dba85f3
 DIST PyGreSQL-5.2.tar.gz 267557 BLAKE2B 
92c2c0810a9b763fc2e9fec2e920ca1e21da4eb4ede5f2e20f66fd385ccc623fd9fe74075c6b995c6ea6348df76dcd723c8e4b6d83afdb53c978c02cc5220e49
 SHA512 
ce1cd29c714ab863dbdc7dde920f8938b115535ae3a0b54c770d7648f05011a716d604eec2d73c321fe2a408e64bcd9208c204856e5ddb0e0675ef7c076e4da7

diff --git a/dev-python/pygresql/pygresql-5.2.1.ebuild 
b/dev-python/pygresql/pygresql-5.2.1.ebuild
new file mode 100644
index 000..85268d8d534
--- /dev/null
+++ b/dev-python/pygresql/pygresql-5.2.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+POSTGRES_COMPAT=( 9.{5..6} {10..13} )
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1 postgres
+
+MY_P="PyGreSQL-${PV}"
+
+DESCRIPTION="A Python interface for the PostgreSQL database"
+HOMEPAGE="https://pygresql.org/;
+SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+
+DEPEND="${POSTGRES_DEP}"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
+)
+
+python_install_all() {
+   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2020-09-05 Thread Sam James
commit: 846c3d8e13a020a415c17790ca3c1fb68a136ae4
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep  5 15:14:07 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep  5 15:14:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=846c3d8e

dev-python/pygresql: Stabilize 5.2 amd64, #739960

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

 dev-python/pygresql/pygresql-5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.2.ebuild 
b/dev-python/pygresql/pygresql-5.2.ebuild
index 38394927cd9..203ad67ad06 100644
--- a/dev-python/pygresql/pygresql-5.2.ebuild
+++ b/dev-python/pygresql/pygresql-5.2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2020-09-03 Thread Thomas Deutschmann
commit: 7f24a93ca1315754a687e5654f109542f70d0b83
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Sep  3 14:25:56 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Sep  3 14:25:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f24a93c

dev-python/pygresql: x86 stable (bug #739960)

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

 dev-python/pygresql/pygresql-5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.2.ebuild 
b/dev-python/pygresql/pygresql-5.2.ebuild
index 849038866a6..38394927cd9 100644
--- a/dev-python/pygresql/pygresql-5.2.ebuild
+++ b/dev-python/pygresql/pygresql-5.2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2020-08-13 Thread Aaron W. Swenson
commit: f3f45cf486925ba660f4cff248c46680b5d4dee5
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Aug 14 00:49:03 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Fri Aug 14 00:49:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3f45cf4

dev-python/pygresql: Dropping Pg 9.4 Support

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

 dev-python/pygresql/pygresql-5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.1.ebuild 
b/dev-python/pygresql/pygresql-5.1.ebuild
index dc7d664eb53..d8a5320c881 100644
--- a/dev-python/pygresql/pygresql-5.1.ebuild
+++ b/dev-python/pygresql/pygresql-5.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-POSTGRES_COMPAT=( 9.{4..6} {10..11} )
+POSTGRES_COMPAT=( 9.{5..6} {10..11} )
 PYTHON_COMPAT=( python3_{6..7} )
 
 inherit distutils-r1 postgres



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/files/

2020-08-10 Thread Aaron Bauman
commit: 508334dfa8011ddb8ecbe2a0636c0d8d60f0f834
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Mon Aug  3 16:57:35 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Aug 10 23:14:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=508334df

dev-python/pygresql: remove unused patch

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16978
Signed-off-by: Aaron Bauman  gentoo.org>

 dev-python/pygresql/files/pygresql-5.1-CFLAGS.patch | 11 ---
 1 file changed, 11 deletions(-)

diff --git a/dev-python/pygresql/files/pygresql-5.1-CFLAGS.patch 
b/dev-python/pygresql/files/pygresql-5.1-CFLAGS.patch
deleted file mode 100644
index 480d0a3dc4c..000
--- a/dev-python/pygresql/files/pygresql-5.1-CFLAGS.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/setup.py
-+++ b/setup.py
-@@ -101,7 +101,7 @@
- library_dirs = [get_python_lib(), pg_config('libdir')]
- define_macros = [('PYGRESQL_VERSION', version)]
- undef_macros = []
--extra_compile_args = ['-O2', '-funsigned-char', '-Wall', '-Werror']
-+extra_compile_args = ['-funsigned-char', '-Wall']
- 
- 
- class build_pg_ext(build_ext):



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/files/, dev-python/pygresql/

2020-07-31 Thread Aaron W. Swenson
commit: 32fe2e0afd4604e906226748ab41b9f3202188c3
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sat Aug  1 03:45:24 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Sat Aug  1 03:45:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32fe2e0a

dev-python/pygresql: Bump to 5.2

Add patch to remove excess CFLAGS. Thanks, Jeroen Roovers.

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

 dev-python/pygresql/Manifest   |  1 +
 .../pygresql/files/pygresql-5.1-CFLAGS.patch   | 11 
 .../pygresql/files/pygresql-5.2-CFLAGS.patch   | 11 
 dev-python/pygresql/pygresql-5.2.ebuild| 33 ++
 4 files changed, 56 insertions(+)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 70883cb9ae0..e2878553a9e 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1 +1,2 @@
 DIST PyGreSQL-5.1.tar.gz 642216 BLAKE2B 
4f3ff4e59c47d86007884b41355ec5cbc3893ba21e3e5b7a354aab698dde947622ba4b7a1590325ae36f132759e26f37868844c3c21605ead068261129331453
 SHA512 
d36be0f121c20469193600c551e15b430fdc9e44db00e4ae7adb4985697ddc5653f52fb642b0f3de8316fb916616d07ac1ef03e1e6b20043b7cace131b232a3a
+DIST PyGreSQL-5.2.tar.gz 267557 BLAKE2B 
92c2c0810a9b763fc2e9fec2e920ca1e21da4eb4ede5f2e20f66fd385ccc623fd9fe74075c6b995c6ea6348df76dcd723c8e4b6d83afdb53c978c02cc5220e49
 SHA512 
ce1cd29c714ab863dbdc7dde920f8938b115535ae3a0b54c770d7648f05011a716d604eec2d73c321fe2a408e64bcd9208c204856e5ddb0e0675ef7c076e4da7

diff --git a/dev-python/pygresql/files/pygresql-5.1-CFLAGS.patch 
b/dev-python/pygresql/files/pygresql-5.1-CFLAGS.patch
new file mode 100644
index 000..480d0a3dc4c
--- /dev/null
+++ b/dev-python/pygresql/files/pygresql-5.1-CFLAGS.patch
@@ -0,0 +1,11 @@
+--- a/setup.py
 b/setup.py
+@@ -101,7 +101,7 @@
+ library_dirs = [get_python_lib(), pg_config('libdir')]
+ define_macros = [('PYGRESQL_VERSION', version)]
+ undef_macros = []
+-extra_compile_args = ['-O2', '-funsigned-char', '-Wall', '-Werror']
++extra_compile_args = ['-funsigned-char', '-Wall']
+ 
+ 
+ class build_pg_ext(build_ext):

diff --git a/dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch 
b/dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch
new file mode 100644
index 000..24b9da21d16
--- /dev/null
+++ b/dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch
@@ -0,0 +1,11 @@
+--- a/setup.py
 b/setup.py
+@@ -95,7 +95,7 @@
+ library_dirs = [get_python_lib(), pg_config('libdir')]
+ define_macros = [('PYGRESQL_VERSION', version)]
+ undef_macros = []
+-extra_compile_args = ['-O2', '-funsigned-char', '-Wall', '-Wconversion']
++extra_compile_args = ['-funsigned-char', '-Wall']
+ 
+ 
+ class build_pg_ext(build_ext):

diff --git a/dev-python/pygresql/pygresql-5.2.ebuild 
b/dev-python/pygresql/pygresql-5.2.ebuild
new file mode 100644
index 000..849038866a6
--- /dev/null
+++ b/dev-python/pygresql/pygresql-5.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+POSTGRES_COMPAT=( 9.{5..6} {10..12} )
+PYTHON_COMPAT=( python3_{6..8} )
+
+inherit distutils-r1 postgres
+
+MY_P="PyGreSQL-${PV}"
+
+DESCRIPTION="A Python interface for the PostgreSQL database"
+HOMEPAGE="https://pygresql.org/;
+SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+
+DEPEND="${POSTGRES_DEP}"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
+)
+
+python_install_all() {
+   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2020-07-27 Thread Aaron Bauman
commit: 6f9203768a174315e630c78fbaf5b230c0ca230c
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Tue Jul 21 14:39:59 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Jul 27 20:06:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f920376

dev-python/pygresql: use HTTPS

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Aaron Bauman  gentoo.org>

 dev-python/pygresql/pygresql-5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.1.ebuild 
b/dev-python/pygresql/pygresql-5.1.ebuild
index 36e8b55fb19..dc7d664eb53 100644
--- a/dev-python/pygresql/pygresql-5.1.ebuild
+++ b/dev-python/pygresql/pygresql-5.1.ebuild
@@ -11,7 +11,7 @@ inherit distutils-r1 postgres
 MY_P="PyGreSQL-${PV}"
 
 DESCRIPTION="A Python interface for the PostgreSQL database"
-HOMEPAGE="http://www.pygresql.org/;
+HOMEPAGE="https://pygresql.org/;
 SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2020-05-11 Thread Agostino Sarubbo
commit: 2e4776a87f68c5596e16bd8094c5728fc3cd48bd
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon May 11 16:48:50 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon May 11 16:49:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e4776a8

dev-python/pygresql: x86 stable wrt bug #714432

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

 dev-python/pygresql/pygresql-5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.1.ebuild 
b/dev-python/pygresql/pygresql-5.1.ebuild
index bbf2140abf2..36e8b55fb19 100644
--- a/dev-python/pygresql/pygresql-5.1.ebuild
+++ b/dev-python/pygresql/pygresql-5.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2020-05-05 Thread Agostino Sarubbo
commit: 16f8e46fead1a4d78c4c830b50bd2cf837499fe4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue May  5 06:45:45 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue May  5 06:45:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16f8e46f

dev-python/pygresql: ppc stable wrt bug #714432

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

 dev-python/pygresql/pygresql-5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.1.ebuild 
b/dev-python/pygresql/pygresql-5.1.ebuild
index 029e99909dd..bbf2140abf2 100644
--- a/dev-python/pygresql/pygresql-5.1.ebuild
+++ b/dev-python/pygresql/pygresql-5.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc ~x86"
 
 DEPEND="${POSTGRES_DEP}"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2020-03-28 Thread Michał Górny
commit: 07fa62ff8c7935a01e06ac9707e44d26d3d1d068
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 28 17:36:12 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 28 17:44:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07fa62ff

dev-python/pygresql: Remove redundant versions

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygresql/Manifest  |  1 -
 dev-python/pygresql/pygresql-5.0.4.ebuild | 34 ---
 2 files changed, 35 deletions(-)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 5b9e19f64c7..d604ba749b3 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1,3 +1,2 @@
-DIST PyGreSQL-5.0.4.tar.gz 637569 BLAKE2B 
3f7bddb8b5e455ca4f181d254d4d125b89a64d7aaa1440b9ab5d916c395b9d93fc9814269992c134b6fd8a81f436752dbe4d7c06125e683a5257361d428c6a6f
 SHA512 
f177ca3b023c007dafe80369b86a1742ff334137e493c3c19ac8bda0181d2543cd2431b8ab8d2d43f30d681121324bc4f236a9ebbddf1e927b071db7c9b34ea6
 DIST PyGreSQL-5.0.6.tar.gz 648481 BLAKE2B 
7e1d96b5c09a3d2f0e412504be27fcfa557804ace8a4c24d657f586a8e647f5001da943543d49f6d2bdec48a34017b7379305fb760436065ba7f36ce981d85c2
 SHA512 
fb42f462d749f824f52dd424464ecc3591e615e7e0d220a63a217797aeb3f05379fab071480946d09779dbdb9028351a596160989066589dde1be18f7d320ac8
 DIST PyGreSQL-5.1.tar.gz 642216 BLAKE2B 
4f3ff4e59c47d86007884b41355ec5cbc3893ba21e3e5b7a354aab698dde947622ba4b7a1590325ae36f132759e26f37868844c3c21605ead068261129331453
 SHA512 
d36be0f121c20469193600c551e15b430fdc9e44db00e4ae7adb4985697ddc5653f52fb642b0f3de8316fb916616d07ac1ef03e1e6b20043b7cace131b232a3a

diff --git a/dev-python/pygresql/pygresql-5.0.4.ebuild 
b/dev-python/pygresql/pygresql-5.0.4.ebuild
deleted file mode 100644
index 94062a1af33..000
--- a/dev-python/pygresql/pygresql-5.0.4.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-POSTGRES_COMPAT=( 9.{4..6} 10 )
-PYTHON_COMPAT=( python3_6 )
-
-inherit distutils-r1 postgres
-
-MY_P="PyGreSQL-${PV}"
-
-DESCRIPTION="A Python interface for the PostgreSQL database"
-HOMEPAGE="http://www.pygresql.org/;
-SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="~alpha amd64 hppa ia64 ppc sparc x86"
-IUSE=""
-
-REQUIRED_USE="${POSTGRES_REQ_USE}"
-
-DEPEND="${POSTGRES_DEP}"
-
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-python_install_all() {
-   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
-
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2020-01-18 Thread Michał Górny
commit: 412dc1d0cf5afab5d932053caa549e836cffb106
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan 18 18:27:45 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 18 18:47:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=412dc1d0

dev-python/pygresql: Remove Python 2 support

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygresql/pygresql-5.0.4.ebuild | 2 +-
 dev-python/pygresql/pygresql-5.0.6.ebuild | 2 +-
 dev-python/pygresql/pygresql-5.1.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/pygresql/pygresql-5.0.4.ebuild 
b/dev-python/pygresql/pygresql-5.0.4.ebuild
index 3dba0c81be5..da8b3e3a9b6 100644
--- a/dev-python/pygresql/pygresql-5.0.4.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.4.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 POSTGRES_COMPAT=( 9.{4..6} 10 )
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
 
 inherit distutils-r1 postgres
 

diff --git a/dev-python/pygresql/pygresql-5.0.6.ebuild 
b/dev-python/pygresql/pygresql-5.0.6.ebuild
index ab6199669c5..000a8dd9ff1 100644
--- a/dev-python/pygresql/pygresql-5.0.6.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.6.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 POSTGRES_COMPAT=( 9.{4..6} 10 )
-PYTHON_COMPAT=( python2_7 python3_{6..7} )
+PYTHON_COMPAT=( python3_{6..7} )
 
 inherit distutils-r1 postgres
 

diff --git a/dev-python/pygresql/pygresql-5.1.ebuild 
b/dev-python/pygresql/pygresql-5.1.ebuild
index 656803bec11..277389679d7 100644
--- a/dev-python/pygresql/pygresql-5.1.ebuild
+++ b/dev-python/pygresql/pygresql-5.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 POSTGRES_COMPAT=( 9.{4..6} {10..11} )
-PYTHON_COMPAT=( python2_7 python3_{6..7} )
+PYTHON_COMPAT=( python3_{6..7} )
 
 inherit distutils-r1 postgres
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2019-06-17 Thread Aaron W. Swenson
commit: 1d853f2b77c07efc45d247ea3714e7c38183f388
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Mon Jun 17 10:36:07 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Mon Jun 17 10:36:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d853f2b

dev-python/pygresql: Bump to 5.1

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

 dev-python/pygresql/Manifest|  1 +
 dev-python/pygresql/pygresql-5.1.ebuild | 35 +
 2 files changed, 36 insertions(+)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 413fdbc0e3d..5b9e19f64c7 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1,2 +1,3 @@
 DIST PyGreSQL-5.0.4.tar.gz 637569 BLAKE2B 
3f7bddb8b5e455ca4f181d254d4d125b89a64d7aaa1440b9ab5d916c395b9d93fc9814269992c134b6fd8a81f436752dbe4d7c06125e683a5257361d428c6a6f
 SHA512 
f177ca3b023c007dafe80369b86a1742ff334137e493c3c19ac8bda0181d2543cd2431b8ab8d2d43f30d681121324bc4f236a9ebbddf1e927b071db7c9b34ea6
 DIST PyGreSQL-5.0.6.tar.gz 648481 BLAKE2B 
7e1d96b5c09a3d2f0e412504be27fcfa557804ace8a4c24d657f586a8e647f5001da943543d49f6d2bdec48a34017b7379305fb760436065ba7f36ce981d85c2
 SHA512 
fb42f462d749f824f52dd424464ecc3591e615e7e0d220a63a217797aeb3f05379fab071480946d09779dbdb9028351a596160989066589dde1be18f7d320ac8
+DIST PyGreSQL-5.1.tar.gz 642216 BLAKE2B 
4f3ff4e59c47d86007884b41355ec5cbc3893ba21e3e5b7a354aab698dde947622ba4b7a1590325ae36f132759e26f37868844c3c21605ead068261129331453
 SHA512 
d36be0f121c20469193600c551e15b430fdc9e44db00e4ae7adb4985697ddc5653f52fb642b0f3de8316fb916616d07ac1ef03e1e6b20043b7cace131b232a3a

diff --git a/dev-python/pygresql/pygresql-5.1.ebuild 
b/dev-python/pygresql/pygresql-5.1.ebuild
new file mode 100644
index 000..1f1d7861a4f
--- /dev/null
+++ b/dev-python/pygresql/pygresql-5.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+POSTGRES_COMPAT=( 9.{4..6} {10..11} )
+PYTHON_COMPAT=( python2_7 python3_{5..7} )
+
+inherit distutils-r1 postgres
+
+MY_P="PyGreSQL-${PV}"
+
+DESCRIPTION="A Python interface for the PostgreSQL database"
+HOMEPAGE="http://www.pygresql.org/;
+SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+
+DEPEND="${POSTGRES_DEP}"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   sed "s/, '-Wall'//" -i setup.py || die
+   default
+}
+
+python_install_all() {
+   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2019-06-15 Thread Aaron W. Swenson
commit: 08d973554ae3e4766e55581fd6980b5a1e2d2bb8
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sat Jun 15 10:51:52 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Sat Jun 15 10:51:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08d97355

dev-python/pygresql: Remove POSTGRES_COMPAT 9.3

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

 dev-python/pygresql/pygresql-5.0.4.ebuild | 2 +-
 dev-python/pygresql/pygresql-5.0.6.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pygresql/pygresql-5.0.4.ebuild 
b/dev-python/pygresql/pygresql-5.0.4.ebuild
index f1e62372667..7ee66e6f8b2 100644
--- a/dev-python/pygresql/pygresql-5.0.4.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-POSTGRES_COMPAT=( 9.{3..6} 10 )
+POSTGRES_COMPAT=( 9.{4..6} 10 )
 PYTHON_COMPAT=( python2_7 python3_{5..6} )
 
 inherit distutils-r1 postgres

diff --git a/dev-python/pygresql/pygresql-5.0.6.ebuild 
b/dev-python/pygresql/pygresql-5.0.6.ebuild
index 0027fca8c7e..37b859644fb 100644
--- a/dev-python/pygresql/pygresql-5.0.6.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-POSTGRES_COMPAT=( 9.{3..6} 10 )
+POSTGRES_COMPAT=( 9.{4..6} 10 )
 PYTHON_COMPAT=( python2_7 python3_{5..7} )
 
 inherit distutils-r1 postgres



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2019-05-02 Thread Mikle Kolyada
commit: 450672977a81ea2a5d6181c4e9179fa1998e38dc
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu May  2 21:08:23 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu May  2 21:08:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45067297

dev-python/pygresql: alpha stable wrt bug #680804

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="alpha"

 dev-python/pygresql/pygresql-5.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.0.6.ebuild 
b/dev-python/pygresql/pygresql-5.0.6.ebuild
index f205352b517..0027fca8c7e 100644
--- a/dev-python/pygresql/pygresql-5.0.6.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.6.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ia64 ppc ~sparc x86"
+KEYWORDS="alpha amd64 ~hppa ia64 ppc ~sparc x86"
 IUSE=""
 
 DEPEND="${POSTGRES_DEP}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2019-04-01 Thread Thomas Deutschmann
commit: 0910b11500a9a5f0e7834de2bf6737faf3800c93
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Apr  1 19:54:07 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Apr  1 19:57:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0910b115

dev-python/pygresql: x86 stable (bug #680804)

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

 dev-python/pygresql/pygresql-5.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.0.6.ebuild 
b/dev-python/pygresql/pygresql-5.0.6.ebuild
index 4acb9dcddee..1d804e29d01 100644
--- a/dev-python/pygresql/pygresql-5.0.6.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.6.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ia64 ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ia64 ppc ~sparc x86"
 IUSE=""
 
 DEPEND="${POSTGRES_DEP}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2019-03-24 Thread Sergei Trofimovich
commit: 2a9801b735232b5a6341f510b19351e6798d6d31
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Mar 24 20:10:33 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Mar 24 20:10:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a9801b7

dev-python/pygresql: stable 5.0.6 for ppc, bug #680804

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

 dev-python/pygresql/pygresql-5.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.0.6.ebuild 
b/dev-python/pygresql/pygresql-5.0.6.ebuild
index 82bae3a8057..4acb9dcddee 100644
--- a/dev-python/pygresql/pygresql-5.0.6.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.6.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ia64 ppc ~sparc ~x86"
 IUSE=""
 
 DEPEND="${POSTGRES_DEP}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2019-03-24 Thread Sergei Trofimovich
commit: 2f61603440562d101e108617502b68f8c76f0a75
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Mar 24 19:39:52 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Mar 24 19:39:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f616034

dev-python/pygresql: stable 5.0.6 for ia64, bug #680804

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

 dev-python/pygresql/pygresql-5.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.0.6.ebuild 
b/dev-python/pygresql/pygresql-5.0.6.ebuild
index c67bca03dbf..82bae3a8057 100644
--- a/dev-python/pygresql/pygresql-5.0.6.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.6.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ia64 ~ppc ~sparc ~x86"
 IUSE=""
 
 DEPEND="${POSTGRES_DEP}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2019-03-24 Thread Agostino Sarubbo
commit: e006a0a86182dc4969aa3cfa4f184800af750953
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Mar 24 10:01:11 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Mar 24 10:01:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e006a0a8

dev-python/pygresql: amd64 stable wrt bug #680804

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

 dev-python/pygresql/pygresql-5.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.0.6.ebuild 
b/dev-python/pygresql/pygresql-5.0.6.ebuild
index 1647a3dc50c..c67bca03dbf 100644
--- a/dev-python/pygresql/pygresql-5.0.6.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.6.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
 IUSE=""
 
 DEPEND="${POSTGRES_DEP}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2019-02-14 Thread Aaron W. Swenson
commit: d1fffdd56d8db669e24c2c45616434a20322799b
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Feb 14 11:34:04 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Thu Feb 14 11:34:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1fffdd5

dev-python/pygresql: Bump to 5.0.6

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

 dev-python/pygresql/Manifest  |  1 +
 dev-python/pygresql/pygresql-5.0.6.ebuild | 32 +++
 2 files changed, 33 insertions(+)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 62d3219b757..413fdbc0e3d 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1 +1,2 @@
 DIST PyGreSQL-5.0.4.tar.gz 637569 BLAKE2B 
3f7bddb8b5e455ca4f181d254d4d125b89a64d7aaa1440b9ab5d916c395b9d93fc9814269992c134b6fd8a81f436752dbe4d7c06125e683a5257361d428c6a6f
 SHA512 
f177ca3b023c007dafe80369b86a1742ff334137e493c3c19ac8bda0181d2543cd2431b8ab8d2d43f30d681121324bc4f236a9ebbddf1e927b071db7c9b34ea6
+DIST PyGreSQL-5.0.6.tar.gz 648481 BLAKE2B 
7e1d96b5c09a3d2f0e412504be27fcfa557804ace8a4c24d657f586a8e647f5001da943543d49f6d2bdec48a34017b7379305fb760436065ba7f36ce981d85c2
 SHA512 
fb42f462d749f824f52dd424464ecc3591e615e7e0d220a63a217797aeb3f05379fab071480946d09779dbdb9028351a596160989066589dde1be18f7d320ac8

diff --git a/dev-python/pygresql/pygresql-5.0.6.ebuild 
b/dev-python/pygresql/pygresql-5.0.6.ebuild
new file mode 100644
index 000..1647a3dc50c
--- /dev/null
+++ b/dev-python/pygresql/pygresql-5.0.6.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+POSTGRES_COMPAT=( 9.{3..6} 10 )
+PYTHON_COMPAT=( python2_7 python3_{4..7} )
+
+inherit distutils-r1 postgres
+
+MY_P="PyGreSQL-${PV}"
+
+DESCRIPTION="A Python interface for the PostgreSQL database"
+HOMEPAGE="http://www.pygresql.org/;
+SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="${POSTGRES_DEP}"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+python_install_all() {
+   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2019-02-13 Thread Sergei Trofimovich
commit: ffeabc1278b02dcddfdde071b952a91a2943ddba
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Feb 14 06:16:18 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Feb 14 07:19:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffeabc12

dev-python/pygresql: stable 5.0.4 for hppa, bug #641570

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

 dev-python/pygresql/pygresql-5.0.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pygresql/pygresql-5.0.4.ebuild 
b/dev-python/pygresql/pygresql-5.0.4.ebuild
index 02d9d5b7bc8..dd8ec73329c 100644
--- a/dev-python/pygresql/pygresql-5.0.4.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="alpha amd64 ~hppa ia64 ppc sparc x86"
+KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86"
 IUSE=""
 
 REQUIRED_USE="${POSTGRES_REQ_USE}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2018-05-13 Thread Aaron Swenson
commit: 0447e6e3e5f51c5a29ff20f871e3d6851c9ed69f
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun May 13 16:29:19 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sun May 13 16:29:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0447e6e3

dev-python/pygresql: Cleanup old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-python/pygresql/Manifest |  1 -
 dev-python/pygresql/pygresql-4.1.1-r2.ebuild | 75 
 2 files changed, 76 deletions(-)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 398f8c971d4..62d3219b757 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1,2 +1 @@
-DIST PyGreSQL-4.1.1.tgz 100883 BLAKE2B 
8b3876803b61fde62a248cf6499b9396a16069fd5cebad8f17ca942990a5502a702081b395745863d54b304d426455dd94d816caea9e09809a7ff0ca1b4903b0
 SHA512 
4b37c56f2112471aa5f3003a1d867382ce1b7510afa0963f0ceeb2f8175ca601bb5bade9ea2038d44a1041f12233e364f138a635bb7b353d0a82aeb7d9d49b7f
 DIST PyGreSQL-5.0.4.tar.gz 637569 BLAKE2B 
3f7bddb8b5e455ca4f181d254d4d125b89a64d7aaa1440b9ab5d916c395b9d93fc9814269992c134b6fd8a81f436752dbe4d7c06125e683a5257361d428c6a6f
 SHA512 
f177ca3b023c007dafe80369b86a1742ff334137e493c3c19ac8bda0181d2543cd2431b8ab8d2d43f30d681121324bc4f236a9ebbddf1e927b071db7c9b34ea6

diff --git a/dev-python/pygresql/pygresql-4.1.1-r2.ebuild 
b/dev-python/pygresql/pygresql-4.1.1-r2.ebuild
deleted file mode 100644
index c3b79dd202c..000
--- a/dev-python/pygresql/pygresql-4.1.1-r2.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-POSTGRES_COMPAT=( 9.{0,1,2,3,4,5} )
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-MY_P="PyGreSQL-${PV}"
-
-DESCRIPTION="A Python interface for the PostgreSQL database"
-HOMEPAGE="http://www.pygresql.org/;
-SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tgz"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86"
-IUSE="doc"
-
-DEPEND="|| (
-   dev-db/postgresql:9.5
-   dev-db/postgresql:9.4
-   dev-db/postgresql:9.3
-   dev-db/postgresql:9.2
-   dev-db/postgresql:9.1
-   dev-db/postgresql:9.0
-)"
-
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-# Verify that the currently selected PostgreSQL slot is set to one of
-# the slots defined in POSTGRES_COMPAT.
-postgres_check_slot() {
-   if ! declare -p POSTGRES_COMPAT &>/dev/null; then
-   die 'POSTGRES_COMPAT not declared.'
-   fi
-
-# Don't die because we can't run postgresql-config during pretend.
-[[ "$EBUILD_PHASE" = "pretend" && -z "$(which postgresql-config 2> /dev/null)" 
]] \
-   && return 0
-
-   local res=$(echo ${POSTGRES_COMPAT[@]} \
-   | grep -c $(postgresql-config show 2> /dev/null) 2> /dev/null)
-
-   if [[ "$res" -eq "0" ]] ; then
-   eerror "PostgreSQL slot must be set to one of: "
-   eerror "${POSTGRES_COMPAT[@]}"
-   return 1
-   fi
-
-   return 0
-}
-
-pkg_pretend() {
-   postgres_check_slot
-}
-
-pkg_setup() {
-   postgres_check_slot || die
-}
-
-python_install_all() {
-   local DOCS=( docs/*.txt )
-   distutils-r1_python_install_all
-
-   if use doc; then
-   insinto /usr/share/doc/${PF}/tutorial
-   doins tutorial/*
-   dohtml docs/*.{html,css}
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2018-03-18 Thread Sergei Trofimovich
commit: d247bb717e9107890a939c86832022a3d7703d28
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Mar 18 20:50:38 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Mar 18 20:50:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d247bb71

dev-python/pygresql: stable 5.0.4 for ppc, bug #641570

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

 dev-python/pygresql/pygresql-5.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.0.4.ebuild 
b/dev-python/pygresql/pygresql-5.0.4.ebuild
index dbbe6fb5f52..02d9d5b7bc8 100644
--- a/dev-python/pygresql/pygresql-5.0.4.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="alpha amd64 ~hppa ia64 ~ppc sparc x86"
+KEYWORDS="alpha amd64 ~hppa ia64 ppc sparc x86"
 IUSE=""
 
 REQUIRED_USE="${POSTGRES_REQ_USE}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2018-03-03 Thread Tobias Klausmann
commit: 8cec740a2bc59ab241590f56a75fc3b9e22d289b
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sat Mar  3 12:14:08 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sat Mar  3 12:14:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cec740a

dev-python/pygresql-5.0.4-r0: alpha stable

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

 dev-python/pygresql/pygresql-5.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.0.4.ebuild 
b/dev-python/pygresql/pygresql-5.0.4.ebuild
index f746aca80af..dbbe6fb5f52 100644
--- a/dev-python/pygresql/pygresql-5.0.4.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ia64 ~ppc sparc x86"
+KEYWORDS="alpha amd64 ~hppa ia64 ~ppc sparc x86"
 IUSE=""
 
 REQUIRED_USE="${POSTGRES_REQ_USE}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2018-02-18 Thread Sergei Trofimovich
commit: 5dc6594a4b3807c34dc2b38585a8f9e480869d42
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Feb 18 21:05:12 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Feb 18 21:05:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dc6594a

dev-python/pygresql: stable 5.0.4 for ia64, bug #641570

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

 dev-python/pygresql/pygresql-5.0.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pygresql/pygresql-5.0.4.ebuild 
b/dev-python/pygresql/pygresql-5.0.4.ebuild
index 55f4eabc902..f746aca80af 100644
--- a/dev-python/pygresql/pygresql-5.0.4.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.4.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
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ia64 ~ppc sparc x86"
 IUSE=""
 
 REQUIRED_USE="${POSTGRES_REQ_USE}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2018-01-05 Thread Michał Górny
commit: d2e638542280ef166383662eb35022b03cd94b08
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  5 22:11:29 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan  5 23:19:13 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e63854

dev-python/pygresql: Clean old up

 dev-python/pygresql/Manifest|  1 -
 dev-python/pygresql/pygresql-4.2.ebuild | 75 -
 2 files changed, 76 deletions(-)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 44682f6f666..398f8c971d4 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1,3 +1,2 @@
 DIST PyGreSQL-4.1.1.tgz 100883 BLAKE2B 
8b3876803b61fde62a248cf6499b9396a16069fd5cebad8f17ca942990a5502a702081b395745863d54b304d426455dd94d816caea9e09809a7ff0ca1b4903b0
 SHA512 
4b37c56f2112471aa5f3003a1d867382ce1b7510afa0963f0ceeb2f8175ca601bb5bade9ea2038d44a1041f12233e364f138a635bb7b353d0a82aeb7d9d49b7f
-DIST PyGreSQL-4.2.zip 1377728 BLAKE2B 
bca6846881645e9ef9b29e2960b9db99b1029754a88a570b95a83cf7afba992e85d801092664239e3cc3a07063627ef46551cc00851631898a75d12641255b44
 SHA512 
84044480c3f25548137240ac999334546b87987ac6c601608bcae057cf93567f0eb24e343f6ee214ea87e09ac6bd5ce80cfeb5f75deb7896e87b001a2099c78f
 DIST PyGreSQL-5.0.4.tar.gz 637569 BLAKE2B 
3f7bddb8b5e455ca4f181d254d4d125b89a64d7aaa1440b9ab5d916c395b9d93fc9814269992c134b6fd8a81f436752dbe4d7c06125e683a5257361d428c6a6f
 SHA512 
f177ca3b023c007dafe80369b86a1742ff334137e493c3c19ac8bda0181d2543cd2431b8ab8d2d43f30d681121324bc4f236a9ebbddf1e927b071db7c9b34ea6

diff --git a/dev-python/pygresql/pygresql-4.2.ebuild 
b/dev-python/pygresql/pygresql-4.2.ebuild
deleted file mode 100644
index 2f8e16c6105..000
--- a/dev-python/pygresql/pygresql-4.2.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-POSTGRES_COMPAT=( 9.{0,1,2,3,4,5} )
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-MY_P="PyGreSQL-${PV}"
-
-DESCRIPTION="A Python interface for the PostgreSQL database"
-HOMEPAGE="http://www.pygresql.org/;
-SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.zip"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
-IUSE="doc"
-
-DEPEND="|| (
-   dev-db/postgresql:9.5
-   dev-db/postgresql:9.4
-   dev-db/postgresql:9.3
-   dev-db/postgresql:9.2
-   dev-db/postgresql:9.1
-   dev-db/postgresql:9.0
-)"
-
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-# Verify that the currently selected PostgreSQL slot is set to one of
-# the slots defined in POSTGRES_COMPAT.
-postgres_check_slot() {
-   if ! declare -p POSTGRES_COMPAT &>/dev/null; then
-   die 'POSTGRES_COMPAT not declared.'
-   fi
-
-# Don't die because we can't run postgresql-config during pretend.
-[[ "$EBUILD_PHASE" = "pretend" && -z "$(which postgresql-config 2> /dev/null)" 
]] \
-   && return 0
-
-   local res=$(echo ${POSTGRES_COMPAT[@]} \
-   | grep -c $(postgresql-config show 2> /dev/null) 2> /dev/null)
-
-   if [[ "$res" -eq "0" ]] ; then
-   eerror "PostgreSQL slot must be set to one of: "
-   eerror "${POSTGRES_COMPAT[@]}"
-   return 1
-   fi
-
-   return 0
-}
-
-pkg_pretend() {
-   postgres_check_slot
-}
-
-pkg_setup() {
-   postgres_check_slot || die
-}
-
-python_install_all() {
-   local DOCS=( docs/*.rst )
-   distutils-r1_python_install_all
-
-   if use doc; then
-   insinto /usr/share/doc/${PF}/tutorial
-   doins tutorial/*
-   dohtml docs/*.{html,css}
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2017-12-30 Thread Aaron Swenson
commit: 8ba5f1de720eaf629f32f0b00f11edbf113c98c9
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Dec 30 10:13:16 2017 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sat Dec 30 18:12:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba5f1de

dev-python/pygresql-5.0.4: add REQUIRED_USE for PostgreSQL

Closes: https://bugs.gentoo.org/595752
Closes: https://github.com/gentoo/gentoo/pull/6684

 dev-python/pygresql/pygresql-5.0.4.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-python/pygresql/pygresql-5.0.4.ebuild 
b/dev-python/pygresql/pygresql-5.0.4.ebuild
index 167b6c1a946..55f4eabc902 100644
--- a/dev-python/pygresql/pygresql-5.0.4.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.4.ebuild
@@ -19,6 +19,8 @@ SLOT="0"
 KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc sparc x86"
 IUSE=""
 
+REQUIRED_USE="${POSTGRES_REQ_USE}"
+
 DEPEND="${POSTGRES_DEP}"
 
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2017-12-30 Thread Sergei Trofimovich
commit: 6555fa2a727f7da8eb506df468bc3f7a366e1f86
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Dec 30 09:59:26 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Dec 30 11:01:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6555fa2a

dev-python/pygresql: stable 5.0.4 for sparc, bug #641570

Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --include-arches="sparc"

 dev-python/pygresql/pygresql-5.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.0.4.ebuild 
b/dev-python/pygresql/pygresql-5.0.4.ebuild
index e1d98174fea..167b6c1a946 100644
--- a/dev-python/pygresql/pygresql-5.0.4.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc sparc x86"
 IUSE=""
 
 DEPEND="${POSTGRES_DEP}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2017-12-29 Thread Mikle Kolyada
commit: 5ab1c9800c6f4d44b730270f522939afdba16d4f
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Dec 29 17:55:49 2017 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Dec 29 17:55:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ab1c980

dev-python/pygresql: amd64 stable wrt bug #641570

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/pygresql/pygresql-5.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.0.4.ebuild 
b/dev-python/pygresql/pygresql-5.0.4.ebuild
index e54a7a2a06d..e1d98174fea 100644
--- a/dev-python/pygresql/pygresql-5.0.4.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc x86"
 IUSE=""
 
 DEPEND="${POSTGRES_DEP}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2017-12-19 Thread Thomas Deutschmann
commit: fc8437c83493cb59f0209764f43aa6cf7f3b3138
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Dec 19 14:53:11 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Dec 19 15:43:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc8437c8

dev-python/pygresql: x86 stable (bug #641570)

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-python/pygresql/pygresql-5.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygresql/pygresql-5.0.4.ebuild 
b/dev-python/pygresql/pygresql-5.0.4.ebuild
index 5aa6ec1e3a2..e54a7a2a06d 100644
--- a/dev-python/pygresql/pygresql-5.0.4.ebuild
+++ b/dev-python/pygresql/pygresql-5.0.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
 
 LICENSE="POSTGRESQL"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc x86"
 IUSE=""
 
 DEPEND="${POSTGRES_DEP}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2017-11-16 Thread Aaron Swenson
commit: 1362bd3942ad45c108d26316ba0bdb89c5e6a952
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Nov 16 21:27:34 2017 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Thu Nov 16 21:27:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1362bd39

dev-python/pygresql: Bump to 5.0.4

Adds support for Python 3 and recent versions of PostgreSQL. Uses the
new postgres eclass to manage dependency on dev-db/postgresql.

Closes: https://bugs.gentoo.org/580668
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/pygresql/Manifest  |  1 +
 dev-python/pygresql/pygresql-5.0.4.ebuild | 32 +++
 2 files changed, 33 insertions(+)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 37947de5af4..e72696e8255 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1,2 +1,3 @@
 DIST PyGreSQL-4.1.1.tgz 100883 SHA256 
bb14092f97c66ed13b8faf71471b8c156c6b46d915858447f3a63e9abe48eef7 SHA512 
4b37c56f2112471aa5f3003a1d867382ce1b7510afa0963f0ceeb2f8175ca601bb5bade9ea2038d44a1041f12233e364f138a635bb7b353d0a82aeb7d9d49b7f
 WHIRLPOOL 
323bfd1b72341be6b14d71fd4f05f5005a0f8a387f9b050ef3c786531ea19e057aa67fb5737b5aa0c4ca0912ad697a39d8957d70bb6bb4056e81f406ade5a6b9
 DIST PyGreSQL-4.2.zip 1377728 SHA256 
c57adc6b76e8b513e819b8f36710cf906d21617ff6513a0c4dad4acecdfccf3c SHA512 
84044480c3f25548137240ac999334546b87987ac6c601608bcae057cf93567f0eb24e343f6ee214ea87e09ac6bd5ce80cfeb5f75deb7896e87b001a2099c78f
 WHIRLPOOL 
cac5d4fed22e51316c3c8cc0de367dc5998642c1425a944b147ed059ee3f70387ac704f8465b6fdbde0802e92c21369f0171c2dc0ee2ebbc1e7f0c827b5b900d
+DIST PyGreSQL-5.0.4.tar.gz 637569 SHA256 
c60eb9ee3cd4477d9bf0aa376989805ae11f825cef1bbef3e703ae462059d4f2 SHA512 
f177ca3b023c007dafe80369b86a1742ff334137e493c3c19ac8bda0181d2543cd2431b8ab8d2d43f30d681121324bc4f236a9ebbddf1e927b071db7c9b34ea6
 WHIRLPOOL 
2c378fab61c3419711bebd34cfd506f7953827ba504734047cf3d9dc6a05c8b51e2767dd7895b823cdb8f48fbc4bcdca9904a017a7277661e1b38898d2c939d9

diff --git a/dev-python/pygresql/pygresql-5.0.4.ebuild 
b/dev-python/pygresql/pygresql-5.0.4.ebuild
new file mode 100644
index 000..5aa6ec1e3a2
--- /dev/null
+++ b/dev-python/pygresql/pygresql-5.0.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+POSTGRES_COMPAT=( 9.{3..6} 10 )
+PYTHON_COMPAT=( python2_7 python3_{4..6} )
+
+inherit distutils-r1 postgres
+
+MY_P="PyGreSQL-${PV}"
+
+DESCRIPTION="A Python interface for the PostgreSQL database"
+HOMEPAGE="http://www.pygresql.org/;
+SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="${POSTGRES_DEP}"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+python_install_all() {
+   local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2017-05-02 Thread Michał Górny
commit: 9a110cb463b82a516a929fb8a99a16128f226bc6
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May  2 08:04:34 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May  2 08:46:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a110cb4

dev-python/pygresql: Clean old versions up

 dev-python/pygresql/pygresql-4.1.1-r1.ebuild | 73 ---
 dev-python/pygresql/pygresql-4.1.1.ebuild| 74 
 2 files changed, 147 deletions(-)

diff --git a/dev-python/pygresql/pygresql-4.1.1-r1.ebuild 
b/dev-python/pygresql/pygresql-4.1.1-r1.ebuild
deleted file mode 100644
index 1da441a5299..000
--- a/dev-python/pygresql/pygresql-4.1.1-r1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-POSTGRES_COMPAT=( 9.{0,1,2,3} )
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-MY_P="PyGreSQL-${PV}"
-
-DESCRIPTION="A Python interface for the PostgreSQL database"
-HOMEPAGE="http://www.pygresql.org/;
-SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tgz"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ~ppc sparc x86"
-IUSE="doc"
-
-DEPEND="|| (
-   dev-db/postgresql:9.3
-   dev-db/postgresql:9.2
-   dev-db/postgresql:9.1
-   dev-db/postgresql:9.0
-)"
-
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-# Verify that the currently selected PostgreSQL slot is set to one of
-# the slots defined in POSTGRES_COMPAT.
-postgres_check_slot() {
-   if ! declare -p POSTGRES_COMPAT &>/dev/null; then
-   die 'POSTGRES_COMPAT not declared.'
-   fi
-
-# Don't die because we can't run postgresql-config during pretend.
-[[ "$EBUILD_PHASE" = "pretend" && -z "$(which postgresql-config 2> /dev/null)" 
]] \
-   && return 0
-
-   local res=$(echo ${POSTGRES_COMPAT[@]} \
-   | grep -c $(postgresql-config show 2> /dev/null) 2> /dev/null)
-
-   if [[ "$res" -eq "0" ]] ; then
-   eerror "PostgreSQL slot must be set to one of: "
-   eerror "${POSTGRES_COMPAT[@]}"
-   return 1
-   fi
-
-   return 0
-}
-
-pkg_pretend() {
-   postgres_check_slot
-}
-
-pkg_setup() {
-   postgres_check_slot || die
-}
-
-python_install_all() {
-   local DOCS=( docs/*.txt )
-   distutils-r1_python_install_all
-
-   if use doc; then
-   insinto /usr/share/doc/${PF}/tutorial
-   doins tutorial/*
-   dohtml docs/*.{html,css}
-   fi
-}

diff --git a/dev-python/pygresql/pygresql-4.1.1.ebuild 
b/dev-python/pygresql/pygresql-4.1.1.ebuild
deleted file mode 100644
index b85290c40f0..000
--- a/dev-python/pygresql/pygresql-4.1.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-POSTGRES_COMPAT=( 8.{3,4} 9.{0,1,2} )
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-MY_P="PyGreSQL-${PV}"
-
-DESCRIPTION="A Python interface for the PostgreSQL database"
-HOMEPAGE="http://www.pygresql.org/;
-SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tgz"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86"
-IUSE="doc"
-
-DEPEND="|| (
-   dev-db/postgresql:8.3
-   dev-db/postgresql:8.4
-   dev-db/postgresql:9.0
-   dev-db/postgresql:9.1
-   dev-db/postgresql:9.2
-)"
-
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-# Verify that the currently selected PostgreSQL slot is set to one of
-# the slots defined in POSTGRES_COMPAT.
-postgres_check_slot() {
-   if ! declare -p POSTGRES_COMPAT &>/dev/null; then
-   die 'POSTGRES_COMPAT not declared.'
-   fi
-
-# Don't die because we can't run postgresql-config during pretend.
-[[ "$EBUILD_PHASE" = "pretend" && -z "$(which postgresql-config 2> /dev/null)" 
]] \
-   && return 0
-
-   local res=$(echo ${POSTGRES_COMPAT[@]} \
-   | grep -c $(postgresql-config show 2> /dev/null) 2> /dev/null)
-
-   if [[ "$res" -eq "0" ]] ; then
-   eerror "PostgreSQL slot must be set to one of: "
-   eerror "${POSTGRES_COMPAT[@]}"
-   return 1
-   fi
-
-   return 0
-}
-
-pkg_pretend() {
-   postgres_check_slot
-}
-
-pkg_setup() {
-   postgres_check_slot || die
-}
-
-python_install_all() {
-   local DOCS=( docs/*.txt )
-   distutils-r1_python_install_all
-
-   if use doc; then
-   insinto /usr/share/doc/${PF}/tutorial
-   doins tutorial/*
-   dohtml docs/*.{html,css}
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygresql/

2016-02-19 Thread Patrick Lauer
commit: 2de7b36bcc25ad41574baf85a065bdfc4a67eae2
Author: Patrick Lauer  gentoo  org>
AuthorDate: Fri Feb 19 12:39:22 2016 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Fri Feb 19 12:45:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2de7b36b

dev-python/pygresql: Bump

Package-Manager: portage-2.2.27

 dev-python/pygresql/Manifest|  1 +
 dev-python/pygresql/pygresql-4.2.ebuild | 76 +
 2 files changed, 77 insertions(+)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 621f42e..37947de 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1 +1,2 @@
 DIST PyGreSQL-4.1.1.tgz 100883 SHA256 
bb14092f97c66ed13b8faf71471b8c156c6b46d915858447f3a63e9abe48eef7 SHA512 
4b37c56f2112471aa5f3003a1d867382ce1b7510afa0963f0ceeb2f8175ca601bb5bade9ea2038d44a1041f12233e364f138a635bb7b353d0a82aeb7d9d49b7f
 WHIRLPOOL 
323bfd1b72341be6b14d71fd4f05f5005a0f8a387f9b050ef3c786531ea19e057aa67fb5737b5aa0c4ca0912ad697a39d8957d70bb6bb4056e81f406ade5a6b9
+DIST PyGreSQL-4.2.zip 1377728 SHA256 
c57adc6b76e8b513e819b8f36710cf906d21617ff6513a0c4dad4acecdfccf3c SHA512 
84044480c3f25548137240ac999334546b87987ac6c601608bcae057cf93567f0eb24e343f6ee214ea87e09ac6bd5ce80cfeb5f75deb7896e87b001a2099c78f
 WHIRLPOOL 
cac5d4fed22e51316c3c8cc0de367dc5998642c1425a944b147ed059ee3f70387ac704f8465b6fdbde0802e92c21369f0171c2dc0ee2ebbc1e7f0c827b5b900d

diff --git a/dev-python/pygresql/pygresql-4.2.ebuild 
b/dev-python/pygresql/pygresql-4.2.ebuild
new file mode 100644
index 000..91fb90d
--- /dev/null
+++ b/dev-python/pygresql/pygresql-4.2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+POSTGRES_COMPAT=( 9.{0,1,2,3,4,5} )
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+MY_P="PyGreSQL-${PV}"
+
+DESCRIPTION="A Python interface for the PostgreSQL database"
+HOMEPAGE="http://www.pygresql.org/;
+SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.zip"
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+IUSE="doc"
+
+DEPEND="|| (
+   dev-db/postgresql:9.5
+   dev-db/postgresql:9.4
+   dev-db/postgresql:9.3
+   dev-db/postgresql:9.2
+   dev-db/postgresql:9.1
+   dev-db/postgresql:9.0
+)"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+# Verify that the currently selected PostgreSQL slot is set to one of
+# the slots defined in POSTGRES_COMPAT.
+postgres_check_slot() {
+   if ! declare -p POSTGRES_COMPAT &>/dev/null; then
+   die 'POSTGRES_COMPAT not declared.'
+   fi
+
+# Don't die because we can't run postgresql-config during pretend.
+[[ "$EBUILD_PHASE" = "pretend" && -z "$(which postgresql-config 2> /dev/null)" 
]] \
+   && return 0
+
+   local res=$(echo ${POSTGRES_COMPAT[@]} \
+   | grep -c $(postgresql-config show 2> /dev/null) 2> /dev/null)
+
+   if [[ "$res" -eq "0" ]] ; then
+   eerror "PostgreSQL slot must be set to one of: "
+   eerror "${POSTGRES_COMPAT[@]}"
+   return 1
+   fi
+
+   return 0
+}
+
+pkg_pretend() {
+   postgres_check_slot
+}
+
+pkg_setup() {
+   postgres_check_slot || die
+}
+
+python_install_all() {
+   local DOCS=( docs/*.rst )
+   distutils-r1_python_install_all
+
+   if use doc; then
+   insinto /usr/share/doc/${PF}/tutorial
+   doins tutorial/*
+   dohtml docs/*.{html,css}
+   fi
+}