[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/files/, dev-db/pgcli/

2024-02-20 Thread Michał Górny
commit: 34109a72d19f799791d16bbfac2c643c82c36a0d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 20 12:20:42 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 20 12:23:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34109a72

dev-db/pgcli: Backport dev-python/pendulum removal

Bug: https://bugs.gentoo.org/924881
Pull-Request: https://github.com/dbcli/pgcli/pull/1452
Signed-off-by: Michał Górny  gentoo.org>

 dev-db/pgcli/files/pgcli-4.0.1-no-pendulum.patch | 112 +++
 dev-db/pgcli/pgcli-4.0.1-r1.ebuild   |   6 +-
 2 files changed, 117 insertions(+), 1 deletion(-)

diff --git a/dev-db/pgcli/files/pgcli-4.0.1-no-pendulum.patch 
b/dev-db/pgcli/files/pgcli-4.0.1-no-pendulum.patch
new file mode 100644
index ..b761f1c13634
--- /dev/null
+++ b/dev-db/pgcli/files/pgcli-4.0.1-no-pendulum.patch
@@ -0,0 +1,112 @@
+From da189aaa1852170cb852a7a435a20d8246e59c30 Mon Sep 17 00:00:00 2001
+From: Damien Baty 
+Date: Mon, 19 Feb 2024 09:36:46 +0100
+Subject: [PATCH] feat: Replace pendulum by home-made duration-to-words
+ function
+
+diff --git a/pgcli/main.py b/pgcli/main.py
+index bbb1989d..cfa1c970 100644
+--- a/pgcli/main.py
 b/pgcli/main.py
+@@ -11,7 +11,6 @@
+ import threading
+ import shutil
+ import functools
+-import pendulum
+ import datetime as dt
+ import itertools
+ import platform
+@@ -800,9 +799,9 @@ def execute_command(self, text, 
handle_closed_connection=True):
+ "Time: %0.03fs (%s), executed in: %0.03fs (%s)"
+ % (
+ query.total_time,
+-
pendulum.Duration(seconds=query.total_time).in_words(),
++duration_in_words(query.total_time),
+ query.execution_time,
+-
pendulum.Duration(seconds=query.execution_time).in_words(),
++duration_in_words(query.execution_time),
+ )
+ )
+ else:
+@@ -1735,5 +1734,28 @@ def parse_service_info(service):
+ return service_conf, service_file
+ 
+ 
++def duration_in_words(duration_in_seconds: float) -> str:
++if not duration_in_seconds:
++return "0 seconds"
++components = []
++hours, remainder = divmod(duration_in_seconds, 3600)
++if hours > 1:
++components.append(f"{hours} hours")
++elif hours == 1:
++components.append("1 hour")
++minutes, seconds = divmod(remainder, 60)
++if minutes > 1:
++components.append(f"{minutes} minutes")
++elif minutes == 1:
++components.append("1 minute")
++if seconds >= 2:
++components.append(f"{int(seconds)} seconds")
++elif seconds >= 1:
++components.append("1 second")
++elif seconds:
++components.append(f"{round(seconds, 3)} second")
++return " ".join(components)
++
++
+ if __name__ == "__main__":
+ cli()
+diff --git a/setup.py b/setup.py
+index f9dbc56a..640dca00 100644
+--- a/setup.py
 b/setup.py
+@@ -16,7 +16,6 @@
+ "psycopg-binary >= 3.0.14; sys_platform == 'win32'",
+ "sqlparse >=0.3.0,<0.5",
+ "configobj >= 5.0.6",
+-"pendulum>=2.1.0",
+ "cli_helpers[styles] >= 2.2.1",
+ ]
+ 
+diff --git a/tests/test_main.py b/tests/test_main.py
+index cbf20a6a..0aeba80e 100644
+--- a/tests/test_main.py
 b/tests/test_main.py
+@@ -11,6 +11,7 @@
+ 
+ from pgcli.main import (
+ obfuscate_process_password,
++duration_in_words,
+ format_output,
+ PGCli,
+ OutputSettings,
+@@ -488,3 +489,28 @@ def test_application_name_db_uri(tmpdir):
+ mock_pgexecute.assert_called_with(
+ "bar", "bar", "", "baz.com", "", "", application_name="cow"
+ )
++
++
++@pytest.mark.parametrize(
++"duration_in_seconds,words",
++[
++(0, "0 seconds"),
++(0.0009, "0.001 second"),
++(0.0005, "0.001 second"),
++(0.0004, "0.0 second"),  # not perfect, but will do
++(0.2, "0.2 second"),
++(1, "1 second"),
++(1.4, "1 second"),
++(2, "2 seconds"),
++(3.4, "3 seconds"),
++(60, "1 minute"),
++(61, "1 minute 1 second"),
++(123, "2 minutes 3 seconds"),
++(3600, "1 hour"),
++(7235, "2 hours 35 seconds"),
++(9005, "2 hours 30 minutes 5 seconds"),
++(86401, "24 hours 1 second"),
++],
++)
++def test_duration_in_words(duration_in_seconds, words):
++assert duration_in_words(duration_in_seconds) == words

diff --git a/dev-db/pgcli/pgcli-4.0.1-r1.ebuild 
b/dev-db/pgcli/pgcli-4.0.1-r1.ebuild
index 510cad08ad1e..d168855385f8 100644
--- a/dev-db/pgcli/pgcli-4.0.1-r1.ebuild
+++ b/dev-db/pgcli/pgcli-4.0.1-r1.ebuild
@@ -19,7 +19,6 @@ RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
>=dev-python/cli-helpers-2.2.1[${PYTHON_USEDEP}]
dev-python/configobj[${PYTHON_USEDEP}]
-   

[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2024-02-20 Thread Michał Górny
commit: 315eab0f86abf1e7e7f492ce9a73fb6143bf9a50
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 20 12:19:01 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 20 12:23:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=315eab0f

dev-db/pgcli: Deselect hanging tests

Bug: https://bugs.gentoo.org/925085
Signed-off-by: Michał Górny  gentoo.org>

 .../{pgcli-4.0.1.ebuild => pgcli-4.0.1-r1.ebuild}  | 18 --
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/dev-db/pgcli/pgcli-4.0.1.ebuild 
b/dev-db/pgcli/pgcli-4.0.1-r1.ebuild
similarity index 76%
rename from dev-db/pgcli/pgcli-4.0.1.ebuild
rename to dev-db/pgcli/pgcli-4.0.1-r1.ebuild
index 111362fa7895..510cad08ad1e 100644
--- a/dev-db/pgcli/pgcli-4.0.1.ebuild
+++ b/dev-db/pgcli/pgcli-4.0.1-r1.ebuild
@@ -26,11 +26,25 @@ RDEPEND="
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/setproctitle[${PYTHON_USEDEP}]
dev-python/sqlparse[${PYTHON_USEDEP}]
-   dev-python/sshtunnel[${PYTHON_USEDEP}]"
+   dev-python/sshtunnel[${PYTHON_USEDEP}]
+"
 BDEPEND="
test? (
dev-db/postgresql
dev-python/mock[${PYTHON_USEDEP}]
-   )"
+   )
+"
 
 distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # hang while trying to create a keyring
+   # https://bugs.gentoo.org/925085
+   tests/test_main.py::test_pg_service_file
+   tests/test_ssh_tunnel.py::test_ssh_tunnel
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2024-01-10 Thread Jakov Smolić
commit: 37ce89d70c2e0bf1376e71f28b1f75410e409173
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Jan 10 08:20:33 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Jan 10 08:20:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37ce89d7

dev-db/pgcli: drop 3.3.1-r2

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

 dev-db/pgcli/Manifest  |  1 -
 dev-db/pgcli/pgcli-3.3.1-r2.ebuild | 35 ---
 2 files changed, 36 deletions(-)

diff --git a/dev-db/pgcli/Manifest b/dev-db/pgcli/Manifest
index bf5794e565c6..e446d14d1e52 100644
--- a/dev-db/pgcli/Manifest
+++ b/dev-db/pgcli/Manifest
@@ -1,2 +1 @@
-DIST pgcli-3.3.1.tar.gz 446637 BLAKE2B 
c7c946b905f72e18b06100012c32b332c278fcf6dab2bdd304972b5bd4936a2d3d2c1b2be23a9fd5f986afa14ed8a8f3b6a0a08703ec6142ee3bc3d1a2ece68d
 SHA512 
01286ce62919a8845ca55b40851ad8c3832dba58d523ce2d953d555a60d2785b0129b76361e854574340cb1c0933c7b83eb03d7c2a7df81fbc4231dc42e45357
 DIST pgcli-4.0.1.tar.gz 646421 BLAKE2B 
ceb0537344d1fc4c22fc424b7d1df809515778e9d1e492aead517c904ed6274f8c330e1f9bd73da377543e0d078acc8c385951a6717784205dbff0ab427b2d49
 SHA512 
eba490b979d7b1120eda817c3fe2afc2f2a8e4608e67e41be9b73597dc51027fbe013d5f72f8a6f2853c85395fb51f622dcf6b30c8d2185e5d9a9c1aada378ba

diff --git a/dev-db/pgcli/pgcli-3.3.1-r2.ebuild 
b/dev-db/pgcli/pgcli-3.3.1-r2.ebuild
deleted file mode 100644
index 13478cf57da7..
--- a/dev-db/pgcli/pgcli-3.3.1-r2.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
-
-DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting"
-HOMEPAGE="https://www.pgcli.com https://github.com/dbcli/pgcli;
-SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD MIT"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-
-RDEPEND="
-   dev-python/click[${PYTHON_USEDEP}]
-   >=dev-python/cli-helpers-2.2.1[${PYTHON_USEDEP}]
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/pendulum[${PYTHON_USEDEP}]
-   dev-python/pgspecial[${PYTHON_USEDEP}]
-   dev-python/prompt-toolkit[${PYTHON_USEDEP}]
-   dev-python/psycopg:2[${PYTHON_USEDEP}]
-   dev-python/pygments[${PYTHON_USEDEP}]
-   dev-python/setproctitle[${PYTHON_USEDEP}]
-   dev-python/sqlparse[${PYTHON_USEDEP}]"
-BDEPEND="
-   test? (
-   dev-db/postgresql
-   dev-python/mock[${PYTHON_USEDEP}]
-   )"
-
-distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2024-01-08 Thread Arthur Zamarin
commit: f0368d681eaa7be7c4249aa680e6f9ed031584c4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jan  8 21:10:09 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jan  8 21:10:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0368d68

dev-db/pgcli: Stabilize 4.0.1 ALLARCHES, #921590

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

 dev-db/pgcli/pgcli-4.0.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/pgcli/pgcli-4.0.1.ebuild b/dev-db/pgcli/pgcli-4.0.1.ebuild
index 48845c0b6508..111362fa7895 100644
--- a/dev-db/pgcli/pgcli-4.0.1.ebuild
+++ b/dev-db/pgcli/pgcli-4.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="BSD MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 RDEPEND="
dev-python/click[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2023-11-22 Thread 罗百科
commit: b171fb50c2ee9038d4170494368de9f355e17873
Author: Patrick Lauer  gentoo  org>
AuthorDate: Thu Nov 23 06:01:27 2023 +
Commit: 罗百科  gentoo  org>
CommitDate: Thu Nov 23 06:01:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b171fb50

dev-db/pgcli: add 4.0.1

Signed-off-by: Patrick Lauer  gentoo.org>

 dev-db/pgcli/Manifest   |  1 +
 dev-db/pgcli/pgcli-4.0.1.ebuild | 36 
 2 files changed, 37 insertions(+)

diff --git a/dev-db/pgcli/Manifest b/dev-db/pgcli/Manifest
index 7f6c02dec2bc..bf5794e565c6 100644
--- a/dev-db/pgcli/Manifest
+++ b/dev-db/pgcli/Manifest
@@ -1 +1,2 @@
 DIST pgcli-3.3.1.tar.gz 446637 BLAKE2B 
c7c946b905f72e18b06100012c32b332c278fcf6dab2bdd304972b5bd4936a2d3d2c1b2be23a9fd5f986afa14ed8a8f3b6a0a08703ec6142ee3bc3d1a2ece68d
 SHA512 
01286ce62919a8845ca55b40851ad8c3832dba58d523ce2d953d555a60d2785b0129b76361e854574340cb1c0933c7b83eb03d7c2a7df81fbc4231dc42e45357
+DIST pgcli-4.0.1.tar.gz 646421 BLAKE2B 
ceb0537344d1fc4c22fc424b7d1df809515778e9d1e492aead517c904ed6274f8c330e1f9bd73da377543e0d078acc8c385951a6717784205dbff0ab427b2d49
 SHA512 
eba490b979d7b1120eda817c3fe2afc2f2a8e4608e67e41be9b73597dc51027fbe013d5f72f8a6f2853c85395fb51f622dcf6b30c8d2185e5d9a9c1aada378ba

diff --git a/dev-db/pgcli/pgcli-4.0.1.ebuild b/dev-db/pgcli/pgcli-4.0.1.ebuild
new file mode 100644
index ..48845c0b6508
--- /dev/null
+++ b/dev-db/pgcli/pgcli-4.0.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1
+
+DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting"
+HOMEPAGE="https://www.pgcli.com https://github.com/dbcli/pgcli;
+SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-python/click[${PYTHON_USEDEP}]
+   >=dev-python/cli-helpers-2.2.1[${PYTHON_USEDEP}]
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/pendulum[${PYTHON_USEDEP}]
+   dev-python/pgspecial[${PYTHON_USEDEP}]
+   dev-python/prompt-toolkit[${PYTHON_USEDEP}]
+   dev-python/psycopg:0[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   dev-python/setproctitle[${PYTHON_USEDEP}]
+   dev-python/sqlparse[${PYTHON_USEDEP}]
+   dev-python/sshtunnel[${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-db/postgresql
+   dev-python/mock[${PYTHON_USEDEP}]
+   )"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/, dev-python/cli-helpers/, dev-python/cli_helpers/, ...

2023-10-27 Thread Michał Górny
commit: bffeec800d813a86a7ae59ef2f6a42dedd04b004
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 27 16:27:52 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 27 16:27:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bffeec80

Rename dev-python/{cli_helpers → cli-helpers}

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

 dev-db/mycli/mycli-1.26.1-r2.ebuild | 2 +-
 dev-db/mycli/mycli-1.27.0.ebuild| 2 +-
 dev-db/pgcli/pgcli-3.3.1-r2.ebuild  | 2 +-
 dev-python/{cli_helpers => cli-helpers}/Manifest| 0
 .../cli_helpers-2.3.0.ebuild => cli-helpers/cli-helpers-2.3.0.ebuild}   | 0
 .../cli_helpers-.ebuild => cli-helpers/cli-helpers-.ebuild} | 0
 dev-python/{cli_helpers => cli-helpers}/metadata.xml| 0
 profiles/updates/4Q-2023| 1 +
 8 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-db/mycli/mycli-1.26.1-r2.ebuild 
b/dev-db/mycli/mycli-1.26.1-r2.ebuild
index 2baddf8fd9a6..f8a2f5f6aca2 100644
--- a/dev-db/mycli/mycli-1.26.1-r2.ebuild
+++ b/dev-db/mycli/mycli-1.26.1-r2.ebuild
@@ -27,7 +27,7 @@ IUSE="ssh"
 
 RDEPEND="
$(python_gen_cond_dep '
-   >=dev-python/cli_helpers-2.2.1[${PYTHON_USEDEP}]
+   >=dev-python/cli-helpers-2.2.1[${PYTHON_USEDEP}]
>=dev-python/click-7.0[${PYTHON_USEDEP}]
>=dev-python/configobj-5.0.5[${PYTHON_USEDEP}]
>=dev-python/cryptography-1.0.0[${PYTHON_USEDEP}]

diff --git a/dev-db/mycli/mycli-1.27.0.ebuild b/dev-db/mycli/mycli-1.27.0.ebuild
index 2baddf8fd9a6..f8a2f5f6aca2 100644
--- a/dev-db/mycli/mycli-1.27.0.ebuild
+++ b/dev-db/mycli/mycli-1.27.0.ebuild
@@ -27,7 +27,7 @@ IUSE="ssh"
 
 RDEPEND="
$(python_gen_cond_dep '
-   >=dev-python/cli_helpers-2.2.1[${PYTHON_USEDEP}]
+   >=dev-python/cli-helpers-2.2.1[${PYTHON_USEDEP}]
>=dev-python/click-7.0[${PYTHON_USEDEP}]
>=dev-python/configobj-5.0.5[${PYTHON_USEDEP}]
>=dev-python/cryptography-1.0.0[${PYTHON_USEDEP}]

diff --git a/dev-db/pgcli/pgcli-3.3.1-r2.ebuild 
b/dev-db/pgcli/pgcli-3.3.1-r2.ebuild
index 65af71f16b94..13478cf57da7 100644
--- a/dev-db/pgcli/pgcli-3.3.1-r2.ebuild
+++ b/dev-db/pgcli/pgcli-3.3.1-r2.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="amd64 ~x86"
 
 RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
-   >=dev-python/cli_helpers-2.2.1[${PYTHON_USEDEP}]
+   >=dev-python/cli-helpers-2.2.1[${PYTHON_USEDEP}]
dev-python/configobj[${PYTHON_USEDEP}]
dev-python/pendulum[${PYTHON_USEDEP}]
dev-python/pgspecial[${PYTHON_USEDEP}]

diff --git a/dev-python/cli_helpers/Manifest b/dev-python/cli-helpers/Manifest
similarity index 100%
rename from dev-python/cli_helpers/Manifest
rename to dev-python/cli-helpers/Manifest

diff --git a/dev-python/cli_helpers/cli_helpers-2.3.0.ebuild 
b/dev-python/cli-helpers/cli-helpers-2.3.0.ebuild
similarity index 100%
rename from dev-python/cli_helpers/cli_helpers-2.3.0.ebuild
rename to dev-python/cli-helpers/cli-helpers-2.3.0.ebuild

diff --git a/dev-python/cli_helpers/cli_helpers-.ebuild 
b/dev-python/cli-helpers/cli-helpers-.ebuild
similarity index 100%
rename from dev-python/cli_helpers/cli_helpers-.ebuild
rename to dev-python/cli-helpers/cli-helpers-.ebuild

diff --git a/dev-python/cli_helpers/metadata.xml 
b/dev-python/cli-helpers/metadata.xml
similarity index 100%
rename from dev-python/cli_helpers/metadata.xml
rename to dev-python/cli-helpers/metadata.xml

diff --git a/profiles/updates/4Q-2023 b/profiles/updates/4Q-2023
index 9fec159c850d..763a512fbee3 100644
--- a/profiles/updates/4Q-2023
+++ b/profiles/updates/4Q-2023
@@ -9,3 +9,4 @@ move media-libs/OpenImageIO media-libs/openimageio
 move media-libs/OpenColorIO media-libs/opencolorio
 move media-libs/OpenShadingLanguage media-libs/osl
 move dev-libs/Imath dev-libs/imath
+move dev-python/cli_helpers dev-python/cli-helpers



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2023-03-04 Thread Jakov Smolić
commit: ad8e6b209595cba5daf0bffad5b020b419b04bfa
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Mar  4 22:17:27 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Mar  4 22:17:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad8e6b20

dev-db/pgcli: Enable py3.11

Closes: https://bugs.gentoo.org/896680
Signed-off-by: Jakov Smolić  gentoo.org>

 dev-db/pgcli/{pgcli-3.3.1-r1.ebuild => pgcli-3.3.1-r2.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-db/pgcli/pgcli-3.3.1-r1.ebuild 
b/dev-db/pgcli/pgcli-3.3.1-r2.ebuild
similarity index 93%
rename from dev-db/pgcli/pgcli-3.3.1-r1.ebuild
rename to dev-db/pgcli/pgcli-3.3.1-r2.ebuild
index 924b39e0aeeb..65af71f16b94 100644
--- a/dev-db/pgcli/pgcli-3.3.1-r1.ebuild
+++ b/dev-db/pgcli/pgcli-3.3.1-r2.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
 inherit distutils-r1
 
 DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting"



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2022-06-06 Thread Jakov Smolić
commit: b312fae749ce6004e936466f782a20f4bf519ff9
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Jun  6 09:33:21 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Jun  6 09:33:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b312fae7

dev-db/pgcli: enable py3.10

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

 dev-db/pgcli/pgcli-3.3.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/pgcli/pgcli-3.3.1-r1.ebuild 
b/dev-db/pgcli/pgcli-3.3.1-r1.ebuild
index 17e2c3964591..90fbe7be5b70 100644
--- a/dev-db/pgcli/pgcli-3.3.1-r1.ebuild
+++ b/dev-db/pgcli/pgcli-3.3.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1
 
 DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting"



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2022-06-04 Thread Michał Górny
commit: 17a674a88d49aa1bd8ee8f40aef3a655d1e97da3
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun  4 07:07:00 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun  4 07:41:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17a674a8

dev-db/pgcli: Use slot for dev-python/psycopg

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

 dev-db/pgcli/{pgcli-3.3.1.ebuild => pgcli-3.3.1-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/pgcli/pgcli-3.3.1.ebuild 
b/dev-db/pgcli/pgcli-3.3.1-r1.ebuild
similarity index 95%
rename from dev-db/pgcli/pgcli-3.3.1.ebuild
rename to dev-db/pgcli/pgcli-3.3.1-r1.ebuild
index 1878a36b4cf2..17e2c3964591 100644
--- a/dev-db/pgcli/pgcli-3.3.1.ebuild
+++ b/dev-db/pgcli/pgcli-3.3.1-r1.ebuild
@@ -21,7 +21,7 @@ RDEPEND="
dev-python/pendulum[${PYTHON_USEDEP}]
dev-python/pgspecial[${PYTHON_USEDEP}]
dev-python/prompt_toolkit[${PYTHON_USEDEP}]
-   dev-python/psycopg[${PYTHON_USEDEP}]
+   dev-python/psycopg:2[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/setproctitle[${PYTHON_USEDEP}]
dev-python/sqlparse[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2022-03-25 Thread Jakov Smolić
commit: 85ffc4382c65f1f48650faa0af56dfce9f2c479d
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Mar 25 19:36:30 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Mar 25 19:36:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85ffc438

dev-db/pgcli: destabilize 3.3.1 for ~x86

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

 dev-db/pgcli/pgcli-3.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/pgcli/pgcli-3.3.1.ebuild b/dev-db/pgcli/pgcli-3.3.1.ebuild
index 4ec86e5ef373..1878a36b4cf2 100644
--- a/dev-db/pgcli/pgcli-3.3.1.ebuild
+++ b/dev-db/pgcli/pgcli-3.3.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="BSD MIT"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~x86"
 
 RDEPEND="
dev-python/click[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2022-02-11 Thread Jakov Smolić
commit: f963144b231b3e8edd17f6fa07532f3bcc9ea148
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Feb 11 19:43:35 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Feb 11 19:43:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f963144b

dev-db/pgcli: drop 3.1.0

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

 dev-db/pgcli/Manifest   |  1 -
 dev-db/pgcli/pgcli-3.1.0.ebuild | 35 ---
 2 files changed, 36 deletions(-)

diff --git a/dev-db/pgcli/Manifest b/dev-db/pgcli/Manifest
index d95ecb89203f..7f6c02dec2bc 100644
--- a/dev-db/pgcli/Manifest
+++ b/dev-db/pgcli/Manifest
@@ -1,2 +1 @@
-DIST pgcli-3.1.0.tar.gz 441939 BLAKE2B 
2c9c9a3afb233eee6f88d304e26e482760f1ff2a458103a80ffb80d877f63bd3ec74ba4be06238e8d78adf36ec251cd27849e0899f3b257b75ac9585f3c04572
 SHA512 
458871bf7ea0a83a66f44ecbde88590ca2aa08420a58c97d2716d4e36c61738d92283d007fc3968063daa01c25b2c46360292ad6339757c119ff04891e1a1c46
 DIST pgcli-3.3.1.tar.gz 446637 BLAKE2B 
c7c946b905f72e18b06100012c32b332c278fcf6dab2bdd304972b5bd4936a2d3d2c1b2be23a9fd5f986afa14ed8a8f3b6a0a08703ec6142ee3bc3d1a2ece68d
 SHA512 
01286ce62919a8845ca55b40851ad8c3832dba58d523ce2d953d555a60d2785b0129b76361e854574340cb1c0933c7b83eb03d7c2a7df81fbc4231dc42e45357

diff --git a/dev-db/pgcli/pgcli-3.1.0.ebuild b/dev-db/pgcli/pgcli-3.1.0.ebuild
deleted file mode 100644
index 47be22f33026..
--- a/dev-db/pgcli/pgcli-3.1.0.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-inherit distutils-r1
-
-DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting"
-HOMEPAGE="https://www.pgcli.com https://github.com/dbcli/pgcli;
-SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-RDEPEND="
-   dev-python/click[${PYTHON_USEDEP}]
-   dev-python/cli_helpers[${PYTHON_USEDEP}]
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/pendulum[${PYTHON_USEDEP}]
-   dev-python/pgspecial[${PYTHON_USEDEP}]
-   dev-python/prompt_toolkit[${PYTHON_USEDEP}]
-   dev-python/psycopg[${PYTHON_USEDEP}]
-   dev-python/pygments[${PYTHON_USEDEP}]
-   dev-python/setproctitle[${PYTHON_USEDEP}]
-   dev-python/sqlparse[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   test? (
-   dev-db/postgresql
-   dev-python/mock[${PYTHON_USEDEP}]
-   )"
-
-distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2022-02-11 Thread Jakov Smolić
commit: 27b9a92455d6aeba82ef3c5770dd91b401796f5f
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Feb 11 19:42:15 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Feb 11 19:42:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27b9a924

dev-db/pgcli: Stabilize 3.3.1 amd64, #833134

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

 dev-db/pgcli/pgcli-3.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/pgcli/pgcli-3.3.1.ebuild b/dev-db/pgcli/pgcli-3.3.1.ebuild
index d83f2fae4792..1878a36b4cf2 100644
--- a/dev-db/pgcli/pgcli-3.3.1.ebuild
+++ b/dev-db/pgcli/pgcli-3.3.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="BSD MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 RDEPEND="
dev-python/click[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2022-02-11 Thread Jakov Smolić
commit: d4ef55d29d721c53e9cc5676aa8ad0f69208d2da
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Feb 11 19:42:20 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Feb 11 19:42:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4ef55d2

dev-db/pgcli: Stabilize 3.3.1 x86, #833134

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

 dev-db/pgcli/pgcli-3.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/pgcli/pgcli-3.3.1.ebuild b/dev-db/pgcli/pgcli-3.3.1.ebuild
index 1878a36b4cf2..4ec86e5ef373 100644
--- a/dev-db/pgcli/pgcli-3.3.1.ebuild
+++ b/dev-db/pgcli/pgcli-3.3.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="BSD MIT"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 RDEPEND="
dev-python/click[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2022-02-10 Thread Jakov Smolić
commit: 62d24b24e8ab4ee796a7a086a367c232477e8071
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Feb 10 19:37:42 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Feb 10 19:55:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62d24b24

dev-db/pgcli: add 3.3.1

Closes: https://bugs.gentoo.org/832898
Signed-off-by: Jakov Smolić  gentoo.org>

 dev-db/pgcli/Manifest   |  1 +
 dev-db/pgcli/pgcli-3.3.1.ebuild | 34 ++
 2 files changed, 35 insertions(+)

diff --git a/dev-db/pgcli/Manifest b/dev-db/pgcli/Manifest
index 18f2a1baa603..d95ecb89203f 100644
--- a/dev-db/pgcli/Manifest
+++ b/dev-db/pgcli/Manifest
@@ -1 +1,2 @@
 DIST pgcli-3.1.0.tar.gz 441939 BLAKE2B 
2c9c9a3afb233eee6f88d304e26e482760f1ff2a458103a80ffb80d877f63bd3ec74ba4be06238e8d78adf36ec251cd27849e0899f3b257b75ac9585f3c04572
 SHA512 
458871bf7ea0a83a66f44ecbde88590ca2aa08420a58c97d2716d4e36c61738d92283d007fc3968063daa01c25b2c46360292ad6339757c119ff04891e1a1c46
+DIST pgcli-3.3.1.tar.gz 446637 BLAKE2B 
c7c946b905f72e18b06100012c32b332c278fcf6dab2bdd304972b5bd4936a2d3d2c1b2be23a9fd5f986afa14ed8a8f3b6a0a08703ec6142ee3bc3d1a2ece68d
 SHA512 
01286ce62919a8845ca55b40851ad8c3832dba58d523ce2d953d555a60d2785b0129b76361e854574340cb1c0933c7b83eb03d7c2a7df81fbc4231dc42e45357

diff --git a/dev-db/pgcli/pgcli-3.3.1.ebuild b/dev-db/pgcli/pgcli-3.3.1.ebuild
new file mode 100644
index ..d83f2fae4792
--- /dev/null
+++ b/dev-db/pgcli/pgcli-3.3.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..9} )
+inherit distutils-r1
+
+DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting"
+HOMEPAGE="https://www.pgcli.com https://github.com/dbcli/pgcli;
+SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-python/click[${PYTHON_USEDEP}]
+   >=dev-python/cli_helpers-2.2.1[${PYTHON_USEDEP}]
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/pendulum[${PYTHON_USEDEP}]
+   dev-python/pgspecial[${PYTHON_USEDEP}]
+   dev-python/prompt_toolkit[${PYTHON_USEDEP}]
+   dev-python/psycopg[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   dev-python/setproctitle[${PYTHON_USEDEP}]
+   dev-python/sqlparse[${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-db/postgresql
+   dev-python/mock[${PYTHON_USEDEP}]
+   )"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2021-09-25 Thread Jakov Smolić
commit: e4fa660917d2744f9b9c40e7eb21d36d61aa6163
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Sep 25 07:56:27 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Sep 25 09:02:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4fa6609

dev-db/pgcli: Fix DISTUTILS_USE_SETUPTOOLS

Closes: https://bugs.gentoo.org/814566
Signed-off-by: Jakov Smolić  gentoo.org>

 dev-db/pgcli/pgcli-3.1.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-db/pgcli/pgcli-3.1.0.ebuild b/dev-db/pgcli/pgcli-3.1.0.ebuild
index 8813d3a0b17..47be22f3302 100644
--- a/dev-db/pgcli/pgcli-3.1.0.ebuild
+++ b/dev-db/pgcli/pgcli-3.1.0.ebuild
@@ -3,7 +3,6 @@
 
 EAPI=7
 
-DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_COMPAT=( python3_{7..9} )
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/files/, dev-db/pgcli/

2021-02-18 Thread David Seifert
commit: cbdcaf3bbed131b764e0159730bdcd6bd24d2faf
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Feb 18 18:55:21 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Feb 18 18:55:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbdcaf3b

dev-db/pgcli: Remove old

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 dev-db/pgcli/Manifest |  1 -
 dev-db/pgcli/files/pgcli-3.0.0-sqlparse.patch | 37 --
 dev-db/pgcli/pgcli-3.0.0-r1.ebuild| 38 ---
 3 files changed, 76 deletions(-)

diff --git a/dev-db/pgcli/Manifest b/dev-db/pgcli/Manifest
index f22aac8bbf3..18f2a1baa60 100644
--- a/dev-db/pgcli/Manifest
+++ b/dev-db/pgcli/Manifest
@@ -1,2 +1 @@
-DIST pgcli-3.0.0.tar.gz 437733 BLAKE2B 
5db69997f675812c3ef847b220b66e7872b134b4d8debd668154bdfa6020432ac08829e7c2ce42adc4cf124e84de5eb9aacbe19636216502f81373a71f21b68f
 SHA512 
7ac52cbfc492dc85163dac7df7a5dde6bfa0327ac1ef6580891cb76d617b998d74c2a59b27d2f8abf8699eb5a69aba30bf13e95ad7bee75c83350730ac061262
 DIST pgcli-3.1.0.tar.gz 441939 BLAKE2B 
2c9c9a3afb233eee6f88d304e26e482760f1ff2a458103a80ffb80d877f63bd3ec74ba4be06238e8d78adf36ec251cd27849e0899f3b257b75ac9585f3c04572
 SHA512 
458871bf7ea0a83a66f44ecbde88590ca2aa08420a58c97d2716d4e36c61738d92283d007fc3968063daa01c25b2c46360292ad6339757c119ff04891e1a1c46

diff --git a/dev-db/pgcli/files/pgcli-3.0.0-sqlparse.patch 
b/dev-db/pgcli/files/pgcli-3.0.0-sqlparse.patch
deleted file mode 100644
index 4403a2e9c03..000
--- a/dev-db/pgcli/files/pgcli-3.0.0-sqlparse.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Taken from: https://github.com/dbcli/pgcli/pull/1224
-Author: Kevin Marsh 
-
 a/pgcli/packages/parseutils/ctes.py
-+++ b/pgcli/packages/parseutils/ctes.py
-@@ -16,7 +16,7 @@
- def isolate_query_ctes(full_text, text_before_cursor):
- """Simplify a query by converting CTEs into table metadata objects"""
- 
--if not full_text:
-+if not full_text or not full_text.strip():
- return full_text, text_before_cursor, tuple()
- 
- ctes, remainder = extract_ctes(full_text)
 a/setup.py
-+++ b/setup.py
-@@ -13,7 +13,7 @@
- # see: https://github.com/dbcli/pgcli/pull/1197
- "prompt_toolkit>=2.0.6,<4.0.0",
- "psycopg2 >= 2.8",
--"sqlparse >=0.3.0,<0.4",
-+"sqlparse >=0.3.0,<0.5",
- "configobj >= 5.0.6",
- "pendulum>=2.1.0",
- "cli_helpers[styles] >= 2.0.0",
 a/tests/test_sqlcompletion.py
-+++ b/tests/test_sqlcompletion.py
-@@ -816,7 +816,7 @@ def test_create_db_with_template():
- assert set(suggestions) == set((Database(),))
- 
- 
--@pytest.mark.parametrize("initial_text", ("", "", "\t \t"))
-+@pytest.mark.parametrize("initial_text", ("", "", "\t \t", "\n"))
- def test_specials_included_for_initial_completion(initial_text):
- suggestions = suggest_type(initial_text, initial_text)
- 
-

diff --git a/dev-db/pgcli/pgcli-3.0.0-r1.ebuild 
b/dev-db/pgcli/pgcli-3.0.0-r1.ebuild
deleted file mode 100644
index dfbd3a9b475..000
--- a/dev-db/pgcli/pgcli-3.0.0-r1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7..9} )
-inherit distutils-r1
-
-DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting"
-HOMEPAGE="https://www.pgcli.com https://github.com/dbcli/pgcli;
-SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-RDEPEND="
-   dev-python/click[${PYTHON_USEDEP}]
-   dev-python/cli_helpers[${PYTHON_USEDEP}]
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/humanize[${PYTHON_USEDEP}]
-   dev-python/pgspecial[${PYTHON_USEDEP}]
-   >=dev-python/prompt_toolkit-3.0.0[${PYTHON_USEDEP}]
-   dev-python/psycopg[${PYTHON_USEDEP}]
-   dev-python/pygments[${PYTHON_USEDEP}]
-   dev-python/setproctitle[${PYTHON_USEDEP}]
-   dev-python/sqlparse[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   test? (
-   dev-db/postgresql
-   dev-python/mock[${PYTHON_USEDEP}]
-   )"
-
-PATCHES=( "${FILESDIR}"/${P}-sqlparse.patch )
-
-distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2021-02-18 Thread Sam James
commit: 739acda8a9bfb91de3aa4ce7ec008ddd22af9d9d
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 18 17:12:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 18 17:12:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=739acda8

dev-db/pgcli: Stabilize 3.1.0 amd64, #770742

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

 dev-db/pgcli/pgcli-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/pgcli/pgcli-3.1.0.ebuild b/dev-db/pgcli/pgcli-3.1.0.ebuild
index 9a7863d86f6..8813d3a0b17 100644
--- a/dev-db/pgcli/pgcli-3.1.0.ebuild
+++ b/dev-db/pgcli/pgcli-3.1.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="BSD MIT"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 RDEPEND="
dev-python/click[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2021-02-16 Thread Sam James
commit: 9a00995034c10dea38fd479814bf65b08a2680aa
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 16 12:26:35 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 16 12:26:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a009950

dev-db/pgcli: Stabilize 3.1.0 x86, #770742

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

 dev-db/pgcli/pgcli-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/pgcli/pgcli-3.1.0.ebuild b/dev-db/pgcli/pgcli-3.1.0.ebuild
index b8da8af1a3a..9a7863d86f6 100644
--- a/dev-db/pgcli/pgcli-3.1.0.ebuild
+++ b/dev-db/pgcli/pgcli-3.1.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="BSD MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 RDEPEND="
dev-python/click[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2021-01-18 Thread Joonas Niilola
commit: f7ce0728dcf11b6d1b5a4ff9f232e417aefcd007
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sun Jan 17 14:07:36 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jan 18 09:35:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ce0728

dev-db/pgcli: Remove unneded test dep

* Pgcli doesn't explicitly need python-dateutil, it is pulled in by
  dev-python/pendulum since 25758bbe13f42b824713b0d52661e26d8c6f954d

Signed-off-by: Jakov Smolic  sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/19091
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-db/pgcli/pgcli-3.1.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-db/pgcli/pgcli-3.1.0.ebuild b/dev-db/pgcli/pgcli-3.1.0.ebuild
index 7cd55f1d636..453cba7d70d 100644
--- a/dev-db/pgcli/pgcli-3.1.0.ebuild
+++ b/dev-db/pgcli/pgcli-3.1.0.ebuild
@@ -31,7 +31,6 @@ BDEPEND="
test? (
dev-db/postgresql
dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/python-dateutil[${PYTHON_USEDEP}]
)"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2021-01-16 Thread Joonas Niilola
commit: b99552045c16fe4943a734bd08aafcbcaad2da87
Author: Jakov Smolic  sartura  hr>
AuthorDate: Fri Dec 18 17:49:25 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Jan 16 08:33:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9955204

dev-db/pgcli: Bump to 3.1.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Jakov Smolic  sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/18714
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-db/pgcli/Manifest   |  1 +
 dev-db/pgcli/pgcli-3.1.0.ebuild | 36 
 2 files changed, 37 insertions(+)

diff --git a/dev-db/pgcli/Manifest b/dev-db/pgcli/Manifest
index d8cf8aab735..f22aac8bbf3 100644
--- a/dev-db/pgcli/Manifest
+++ b/dev-db/pgcli/Manifest
@@ -1 +1,2 @@
 DIST pgcli-3.0.0.tar.gz 437733 BLAKE2B 
5db69997f675812c3ef847b220b66e7872b134b4d8debd668154bdfa6020432ac08829e7c2ce42adc4cf124e84de5eb9aacbe19636216502f81373a71f21b68f
 SHA512 
7ac52cbfc492dc85163dac7df7a5dde6bfa0327ac1ef6580891cb76d617b998d74c2a59b27d2f8abf8699eb5a69aba30bf13e95ad7bee75c83350730ac061262
+DIST pgcli-3.1.0.tar.gz 441939 BLAKE2B 
2c9c9a3afb233eee6f88d304e26e482760f1ff2a458103a80ffb80d877f63bd3ec74ba4be06238e8d78adf36ec251cd27849e0899f3b257b75ac9585f3c04572
 SHA512 
458871bf7ea0a83a66f44ecbde88590ca2aa08420a58c97d2716d4e36c61738d92283d007fc3968063daa01c25b2c46360292ad6339757c119ff04891e1a1c46

diff --git a/dev-db/pgcli/pgcli-3.1.0.ebuild b/dev-db/pgcli/pgcli-3.1.0.ebuild
new file mode 100644
index 000..453cba7d70d
--- /dev/null
+++ b/dev-db/pgcli/pgcli-3.1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6..9} )
+inherit distutils-r1
+
+DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting"
+HOMEPAGE="https://www.pgcli.com https://github.com/dbcli/pgcli;
+SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-python/click[${PYTHON_USEDEP}]
+   dev-python/cli_helpers[${PYTHON_USEDEP}]
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/pendulum[${PYTHON_USEDEP}]
+   dev-python/pgspecial[${PYTHON_USEDEP}]
+   dev-python/prompt_toolkit[${PYTHON_USEDEP}]
+   dev-python/psycopg[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   dev-python/setproctitle[${PYTHON_USEDEP}]
+   dev-python/sqlparse[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   test? (
+   dev-db/postgresql
+   dev-python/mock[${PYTHON_USEDEP}]
+   )"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2021-01-16 Thread Joonas Niilola
commit: de8da00c0b257e8f73c34a5845e9b07947affe81
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Jan 16 08:32:45 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Jan 16 08:33:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de8da00c

dev-db/pgcli: add missing test dep to 3.1.0

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-db/pgcli/pgcli-3.1.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-db/pgcli/pgcli-3.1.0.ebuild b/dev-db/pgcli/pgcli-3.1.0.ebuild
index 453cba7d70d..7cd55f1d636 100644
--- a/dev-db/pgcli/pgcli-3.1.0.ebuild
+++ b/dev-db/pgcli/pgcli-3.1.0.ebuild
@@ -31,6 +31,7 @@ BDEPEND="
test? (
dev-db/postgresql
dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/python-dateutil[${PYTHON_USEDEP}]
)"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2020-12-16 Thread Sam James
commit: d8d90953750c8e6f8e97d2b68edb746900fdec0a
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 17 02:39:25 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 17 02:39:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8d90953

dev-db/pgcli: Stabilize 3.0.0-r1 amd64, #749918

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

 dev-db/pgcli/pgcli-3.0.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/pgcli/pgcli-3.0.0-r1.ebuild 
b/dev-db/pgcli/pgcli-3.0.0-r1.ebuild
index a7cfb05f2c0..8b0fa47c6b8 100644
--- a/dev-db/pgcli/pgcli-3.0.0-r1.ebuild
+++ b/dev-db/pgcli/pgcli-3.0.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="BSD MIT"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 RDEPEND="
dev-python/click[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2020-12-16 Thread Joonas Niilola
commit: e6ddda9fe07bbee4bc98e21ffad608b219022d32
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Dec  3 11:46:37 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Dec 16 08:29:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6ddda9f

dev-db/pgcli: Remove old

Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/18487
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-db/pgcli/Manifest   |  1 -
 dev-db/pgcli/pgcli-2.2.0.ebuild | 44 -
 2 files changed, 45 deletions(-)

diff --git a/dev-db/pgcli/Manifest b/dev-db/pgcli/Manifest
index 6db8480edc1..d8cf8aab735 100644
--- a/dev-db/pgcli/Manifest
+++ b/dev-db/pgcli/Manifest
@@ -1,2 +1 @@
-DIST pgcli-2.2.0.tar.gz 436991 BLAKE2B 
9041240952a8ba9a770705850bf4281eaa89ac5b970366c7ec27e705bec65d9c3c455fb2c9d2220d53f4a9ff31142501437faa6974839f6fe59e6fc1618d8a6d
 SHA512 
239a3278b604248b7bd5cdaf4d0b0f3e62188617b04c358d123e2fa2ad1449c3854ef84995b89239fcf559ce010ee0dd80e12ddd72b27dcb89f92ac08d34c49b
 DIST pgcli-3.0.0.tar.gz 437733 BLAKE2B 
5db69997f675812c3ef847b220b66e7872b134b4d8debd668154bdfa6020432ac08829e7c2ce42adc4cf124e84de5eb9aacbe19636216502f81373a71f21b68f
 SHA512 
7ac52cbfc492dc85163dac7df7a5dde6bfa0327ac1ef6580891cb76d617b998d74c2a59b27d2f8abf8699eb5a69aba30bf13e95ad7bee75c83350730ac061262

diff --git a/dev-db/pgcli/pgcli-2.2.0.ebuild b/dev-db/pgcli/pgcli-2.2.0.ebuild
deleted file mode 100644
index 54f699d3aa0..000
--- a/dev-db/pgcli/pgcli-2.2.0.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-inherit distutils-r1
-
-DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting"
-HOMEPAGE="https://www.pgcli.com https://github.com/dbcli/pgcli;
-SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
-   >=dev-python/prompt_toolkit-2.0.6[${PYTHON_USEDEP}]
-   =dev-python/psycopg-2.8.0[${PYTHON_USEDEP}]
-   >=dev-python/sqlparse-0.3.0[${PYTHON_USEDEP}]
-   =dev-python/cli_helpers-1.2.0[${PYTHON_USEDEP}]
-   >=dev-python/click-4.1[${PYTHON_USEDEP}]
-   >=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
-   >=dev-python/humanize-0.5.1[${PYTHON_USEDEP}]
-   >=dev-python/pgspecial-1.11.8[${PYTHON_USEDEP}]
-   >=dev-python/pygments-2.0[${PYTHON_USEDEP}]
-   >=dev-python/setproctitle-1.1.9[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-
-BDEPEND="
-   test? (
-   dev-db/postgresql
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-
-# there is a flaky test, so no tests for now
-RESTRICT="test"
-
-distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/files/, dev-db/pgcli/

2020-12-16 Thread Joonas Niilola
commit: 78c1f7595563a40139ad9465822390f58f2950dd
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Dec  3 11:46:14 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Dec 16 08:29:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78c1f759

dev-db/pgcli: Support latest sqlparse

Closes: https://bugs.gentoo.org/754669
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-db/pgcli/files/pgcli-3.0.0-sqlparse.patch  | 37 ++
 .../{pgcli-3.0.0.ebuild => pgcli-3.0.0-r1.ebuild}  | 27 +++-
 2 files changed, 49 insertions(+), 15 deletions(-)

diff --git a/dev-db/pgcli/files/pgcli-3.0.0-sqlparse.patch 
b/dev-db/pgcli/files/pgcli-3.0.0-sqlparse.patch
new file mode 100644
index 000..4403a2e9c03
--- /dev/null
+++ b/dev-db/pgcli/files/pgcli-3.0.0-sqlparse.patch
@@ -0,0 +1,37 @@
+Taken from: https://github.com/dbcli/pgcli/pull/1224
+Author: Kevin Marsh 
+
+--- a/pgcli/packages/parseutils/ctes.py
 b/pgcli/packages/parseutils/ctes.py
+@@ -16,7 +16,7 @@
+ def isolate_query_ctes(full_text, text_before_cursor):
+ """Simplify a query by converting CTEs into table metadata objects"""
+ 
+-if not full_text:
++if not full_text or not full_text.strip():
+ return full_text, text_before_cursor, tuple()
+ 
+ ctes, remainder = extract_ctes(full_text)
+--- a/setup.py
 b/setup.py
+@@ -13,7 +13,7 @@
+ # see: https://github.com/dbcli/pgcli/pull/1197
+ "prompt_toolkit>=2.0.6,<4.0.0",
+ "psycopg2 >= 2.8",
+-"sqlparse >=0.3.0,<0.4",
++"sqlparse >=0.3.0,<0.5",
+ "configobj >= 5.0.6",
+ "pendulum>=2.1.0",
+ "cli_helpers[styles] >= 2.0.0",
+--- a/tests/test_sqlcompletion.py
 b/tests/test_sqlcompletion.py
+@@ -816,7 +816,7 @@ def test_create_db_with_template():
+ assert set(suggestions) == set((Database(),))
+ 
+ 
+-@pytest.mark.parametrize("initial_text", ("", "", "\t \t"))
++@pytest.mark.parametrize("initial_text", ("", "", "\t \t", "\n"))
+ def test_specials_included_for_initial_completion(initial_text):
+ suggestions = suggest_type(initial_text, initial_text)
+ 
+

diff --git a/dev-db/pgcli/pgcli-3.0.0.ebuild 
b/dev-db/pgcli/pgcli-3.0.0-r1.ebuild
similarity index 55%
rename from dev-db/pgcli/pgcli-3.0.0.ebuild
rename to dev-db/pgcli/pgcli-3.0.0-r1.ebuild
index b5da66f7a3d..a7cfb05f2c0 100644
--- a/dev-db/pgcli/pgcli-3.0.0.ebuild
+++ b/dev-db/pgcli/pgcli-3.0.0-r1.ebuild
@@ -16,26 +16,23 @@ SLOT="0"
 KEYWORDS="~amd64 x86"
 
 RDEPEND="
+   dev-python/click[${PYTHON_USEDEP}]
+   dev-python/cli_helpers[${PYTHON_USEDEP}]
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/humanize[${PYTHON_USEDEP}]
+   dev-python/pgspecial[${PYTHON_USEDEP}]
>=dev-python/prompt_toolkit-3.0.0[${PYTHON_USEDEP}]
-   =dev-python/psycopg-2.8.0[${PYTHON_USEDEP}]
-   >=dev-python/sqlparse-0.3.0[${PYTHON_USEDEP}]
-   =dev-python/cli_helpers-1.2.0[${PYTHON_USEDEP}]
-   >=dev-python/click-4.1[${PYTHON_USEDEP}]
-   >=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
-   >=dev-python/humanize-0.5.1[${PYTHON_USEDEP}]
-   >=dev-python/pgspecial-1.11.8[${PYTHON_USEDEP}]
-   >=dev-python/pygments-2.0[${PYTHON_USEDEP}]
-   >=dev-python/setproctitle-1.1.9[${PYTHON_USEDEP}]
-"
+   dev-python/psycopg[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   dev-python/setproctitle[${PYTHON_USEDEP}]
+   dev-python/sqlparse[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}"
-
 BDEPEND="
test? (
dev-db/postgresql
dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
+   )"
+
+PATCHES=( "${FILESDIR}"/${P}-sqlparse.patch )
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2020-12-03 Thread Thomas Deutschmann
commit: caaad92ebc61f24b360a403fc1fa213a5da98a24
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Dec  3 17:35:40 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Dec  3 17:37:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caaad92e

dev-db/pgcli: x86 stable (bug #749918)

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

 dev-db/pgcli/pgcli-3.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/pgcli/pgcli-3.0.0.ebuild b/dev-db/pgcli/pgcli-3.0.0.ebuild
index ea2e13b936e..b5da66f7a3d 100644
--- a/dev-db/pgcli/pgcli-3.0.0.ebuild
+++ b/dev-db/pgcli/pgcli-3.0.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="BSD MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 RDEPEND="
>=dev-python/prompt_toolkit-3.0.0[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2020-09-30 Thread Joonas Niilola
commit: 68eb7b73cd231684f41be08d45156df827226c74
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sun Sep  6 18:09:18 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Sep 30 09:28:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68eb7b73

dev-db/pgcli: update SRC_URI

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-db/pgcli/pgcli-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/pgcli/pgcli-2.2.0.ebuild b/dev-db/pgcli/pgcli-2.2.0.ebuild
index fbeeff21ca5..54f699d3aa0 100644
--- a/dev-db/pgcli/pgcli-2.2.0.ebuild
+++ b/dev-db/pgcli/pgcli-2.2.0.ebuild
@@ -8,7 +8,7 @@ inherit distutils-r1
 
 DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting"
 HOMEPAGE="https://www.pgcli.com https://github.com/dbcli/pgcli;
-SRC_URI="https://github.com/dbcli/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD MIT"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2020-09-30 Thread Joonas Niilola
commit: cec23a51a1433ef3fecd0c98b13e95ac96891e4b
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sun Aug 30 11:11:34 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Sep 30 09:28:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cec23a51

dev-db/pgcli: bump to 3.0.0

Closes: https://bugs.gentoo.org/735922
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-db/pgcli/Manifest   |  1 +
 dev-db/pgcli/pgcli-3.0.0.ebuild | 41 +
 2 files changed, 42 insertions(+)

diff --git a/dev-db/pgcli/Manifest b/dev-db/pgcli/Manifest
index 2c4c260a70e..6db8480edc1 100644
--- a/dev-db/pgcli/Manifest
+++ b/dev-db/pgcli/Manifest
@@ -1 +1,2 @@
 DIST pgcli-2.2.0.tar.gz 436991 BLAKE2B 
9041240952a8ba9a770705850bf4281eaa89ac5b970366c7ec27e705bec65d9c3c455fb2c9d2220d53f4a9ff31142501437faa6974839f6fe59e6fc1618d8a6d
 SHA512 
239a3278b604248b7bd5cdaf4d0b0f3e62188617b04c358d123e2fa2ad1449c3854ef84995b89239fcf559ce010ee0dd80e12ddd72b27dcb89f92ac08d34c49b
+DIST pgcli-3.0.0.tar.gz 437733 BLAKE2B 
5db69997f675812c3ef847b220b66e7872b134b4d8debd668154bdfa6020432ac08829e7c2ce42adc4cf124e84de5eb9aacbe19636216502f81373a71f21b68f
 SHA512 
7ac52cbfc492dc85163dac7df7a5dde6bfa0327ac1ef6580891cb76d617b998d74c2a59b27d2f8abf8699eb5a69aba30bf13e95ad7bee75c83350730ac061262

diff --git a/dev-db/pgcli/pgcli-3.0.0.ebuild b/dev-db/pgcli/pgcli-3.0.0.ebuild
new file mode 100644
index 000..ea2e13b936e
--- /dev/null
+++ b/dev-db/pgcli/pgcli-3.0.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6..9} )
+inherit distutils-r1
+
+DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting"
+HOMEPAGE="https://www.pgcli.com https://github.com/dbcli/pgcli;
+SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   >=dev-python/prompt_toolkit-3.0.0[${PYTHON_USEDEP}]
+   =dev-python/psycopg-2.8.0[${PYTHON_USEDEP}]
+   >=dev-python/sqlparse-0.3.0[${PYTHON_USEDEP}]
+   =dev-python/cli_helpers-1.2.0[${PYTHON_USEDEP}]
+   >=dev-python/click-4.1[${PYTHON_USEDEP}]
+   >=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
+   >=dev-python/humanize-0.5.1[${PYTHON_USEDEP}]
+   >=dev-python/pgspecial-1.11.8[${PYTHON_USEDEP}]
+   >=dev-python/pygments-2.0[${PYTHON_USEDEP}]
+   >=dev-python/setproctitle-1.1.9[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+   test? (
+   dev-db/postgresql
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2020-09-30 Thread Joonas Niilola
commit: d2629b24ab99ac5023ae9c8b83b77994812f9bbe
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sun Aug 30 11:13:09 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Sep 30 09:28:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2629b24

dev-db/pgcli: add new proxy maintainer

Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-db/pgcli/metadata.xml | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-db/pgcli/metadata.xml b/dev-db/pgcli/metadata.xml
index 3a8ef6d0eeb..5e8bd61f502 100644
--- a/dev-db/pgcli/metadata.xml
+++ b/dev-db/pgcli/metadata.xml
@@ -1,7 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
+  
+jakov.smo...@sartura.hr
+Jakov Smolic
+  
+  
+proxy-ma...@gentoo.org
+Proxy Maintainers
+  
   
 dbcli/pgcli
   



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2020-08-30 Thread Joonas Niilola
commit: 3403addeaa67a42e74d0491a5be42fa9d97625e4
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Aug 30 07:58:24 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Aug 30 08:18:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3403adde

dev-db/pgcli: drop to m-n

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-db/pgcli/metadata.xml | 9 +
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/dev-db/pgcli/metadata.xml b/dev-db/pgcli/metadata.xml
index 6f3a86a539c..3a8ef6d0eeb 100644
--- a/dev-db/pgcli/metadata.xml
+++ b/dev-db/pgcli/metadata.xml
@@ -1,14 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-linder.gabr...@gmail.com
-Gabriel Linder
-  
-  
-proxy-ma...@gentoo.org
-Proxy Maintainers
-  
+  
   
 dbcli/pgcli
   



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2020-03-08 Thread Michał Górny
commit: 202b4f7a9038b919e88f3a8b1da482cd8810f0ad
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar  8 08:17:56 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar  8 08:25:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=202b4f7a

dev-db/pgcli: Remove redundant versions

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

 dev-db/pgcli/Manifest   |  1 -
 dev-db/pgcli/pgcli-2.0.2.ebuild | 33 -
 2 files changed, 34 deletions(-)

diff --git a/dev-db/pgcli/Manifest b/dev-db/pgcli/Manifest
index c38c30f5613..2c4c260a70e 100644
--- a/dev-db/pgcli/Manifest
+++ b/dev-db/pgcli/Manifest
@@ -1,2 +1 @@
-DIST pgcli-2.0.2.tar.gz 432325 BLAKE2B 
5cbe2be05910d9bfa64e7ac908d636a39ed11f994e0e81cd06afce97510e02be335837b2587653df716beee0d30076f07489ac8e4fb05fbc579bceee8636a470
 SHA512 
5681effcb36101ce408f7c4dcc881984686d63a6e593bd4f5c2bb3b2d870362c787094895ece027a3ba27d3a4524498b27082da0f25b1b77f23e54b2df6c0501
 DIST pgcli-2.2.0.tar.gz 436991 BLAKE2B 
9041240952a8ba9a770705850bf4281eaa89ac5b970366c7ec27e705bec65d9c3c455fb2c9d2220d53f4a9ff31142501437faa6974839f6fe59e6fc1618d8a6d
 SHA512 
239a3278b604248b7bd5cdaf4d0b0f3e62188617b04c358d123e2fa2ad1449c3854ef84995b89239fcf559ce010ee0dd80e12ddd72b27dcb89f92ac08d34c49b

diff --git a/dev-db/pgcli/pgcli-2.0.2.ebuild b/dev-db/pgcli/pgcli-2.0.2.ebuild
deleted file mode 100644
index efae77fb995..000
--- a/dev-db/pgcli/pgcli-2.0.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=7
-
-PYTHON_COMPAT=( python3_6 )
-inherit distutils-r1
-
-DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting"
-HOMEPAGE="https://www.pgcli.com https://github.com/dbcli/pgcli;
-SRC_URI="https://github.com/dbcli/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   =dev-python/cli_helpers-1.0.1[${PYTHON_USEDEP}]
-   >=dev-python/click-4.1[${PYTHON_USEDEP}]
-   >=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
-   >=dev-python/humanize-0.5.1[${PYTHON_USEDEP}]
-   >=dev-python/keyring-12.2.0[${PYTHON_USEDEP}]
-   >=dev-python/pgspecial-1.11.5[${PYTHON_USEDEP}]
-   >=dev-python/prompt_toolkit-2.0.6[${PYTHON_USEDEP}]
-   >=dev-python/psycopg-2.7.4[${PYTHON_USEDEP}]
-   >=dev-python/pygments-2.0[${PYTHON_USEDEP}]
-   >=dev-python/python-sqlparse-0.2.2[${PYTHON_USEDEP}]
-   >=dev-python/setproctitle-1.1.9[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-"



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2020-01-15 Thread Michał Górny
commit: 85c641360da2d529770a1b7fcb73dee75a42abf2
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan 16 05:40:54 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan 16 06:04:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85c64136

dev-db/pgcli: Remove Python 2

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

 dev-db/pgcli/pgcli-2.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/pgcli/pgcli-2.0.2.ebuild b/dev-db/pgcli/pgcli-2.0.2.ebuild
index 3e2a37d160b..efae77fb995 100644
--- a/dev-db/pgcli/pgcli-2.0.2.ebuild
+++ b/dev-db/pgcli/pgcli-2.0.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
 inherit distutils-r1
 
 DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting"



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2019-12-13 Thread Joonas Niilola
commit: 119e1617e2ed34dbab679e4ce7b50b860ccaa2f6
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Dec 13 13:20:15 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Dec 13 13:48:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=119e1617

dev-db/pgcli: inherit RDEPEND in DEPEND

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-db/pgcli/pgcli-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/pgcli/pgcli-2.2.0.ebuild b/dev-db/pgcli/pgcli-2.2.0.ebuild
index 9dd187a2738..d651e872230 100644
--- a/dev-db/pgcli/pgcli-2.2.0.ebuild
+++ b/dev-db/pgcli/pgcli-2.2.0.ebuild
@@ -29,9 +29,9 @@ RDEPEND="
>=dev-python/pygments-2.0[${PYTHON_USEDEP}]
>=dev-python/setproctitle-1.1.9[${PYTHON_USEDEP}]
 "
+DEPEND="${RDEPEND}"
 
 BDEPEND="
-   ${RDEPEND}
test? (
dev-db/postgresql
dev-python/mock[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/

2019-12-13 Thread Joonas Niilola
commit: 732baefebe38498482daa3015cbed455085e1799
Author: Gabriel Linder  gmail  com>
AuthorDate: Sun Dec  8 12:53:09 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Dec 13 13:48:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=732baefe

dev-db/pgcli: bump to version 2.2.0.

Closes: https://bugs.gentoo.org/696614
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Gabriel Linder  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13918
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-db/pgcli/Manifest   |  1 +
 dev-db/pgcli/pgcli-2.2.0.ebuild | 44 +
 2 files changed, 45 insertions(+)

diff --git a/dev-db/pgcli/Manifest b/dev-db/pgcli/Manifest
index 2e35d371fc6..c38c30f5613 100644
--- a/dev-db/pgcli/Manifest
+++ b/dev-db/pgcli/Manifest
@@ -1 +1,2 @@
 DIST pgcli-2.0.2.tar.gz 432325 BLAKE2B 
5cbe2be05910d9bfa64e7ac908d636a39ed11f994e0e81cd06afce97510e02be335837b2587653df716beee0d30076f07489ac8e4fb05fbc579bceee8636a470
 SHA512 
5681effcb36101ce408f7c4dcc881984686d63a6e593bd4f5c2bb3b2d870362c787094895ece027a3ba27d3a4524498b27082da0f25b1b77f23e54b2df6c0501
+DIST pgcli-2.2.0.tar.gz 436991 BLAKE2B 
9041240952a8ba9a770705850bf4281eaa89ac5b970366c7ec27e705bec65d9c3c455fb2c9d2220d53f4a9ff31142501437faa6974839f6fe59e6fc1618d8a6d
 SHA512 
239a3278b604248b7bd5cdaf4d0b0f3e62188617b04c358d123e2fa2ad1449c3854ef84995b89239fcf559ce010ee0dd80e12ddd72b27dcb89f92ac08d34c49b

diff --git a/dev-db/pgcli/pgcli-2.2.0.ebuild b/dev-db/pgcli/pgcli-2.2.0.ebuild
new file mode 100644
index 000..9dd187a2738
--- /dev/null
+++ b/dev-db/pgcli/pgcli-2.2.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5,6,7} )
+inherit distutils-r1
+
+DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting"
+HOMEPAGE="https://www.pgcli.com https://github.com/dbcli/pgcli;
+SRC_URI="https://github.com/dbcli/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+   >=dev-python/prompt_toolkit-2.0.6[${PYTHON_USEDEP}]
+   =dev-python/psycopg-2.8.0[${PYTHON_USEDEP}]
+   >=dev-python/python-sqlparse-0.3.0[${PYTHON_USEDEP}]
+   =dev-python/cli_helpers-1.2.0[${PYTHON_USEDEP}]
+   >=dev-python/click-4.1[${PYTHON_USEDEP}]
+   >=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
+   >=dev-python/humanize-0.5.1[${PYTHON_USEDEP}]
+   >=dev-python/pgspecial-1.11.8[${PYTHON_USEDEP}]
+   >=dev-python/pygments-2.0[${PYTHON_USEDEP}]
+   >=dev-python/setproctitle-1.1.9[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   ${RDEPEND}
+   test? (
+   dev-db/postgresql
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+# there is a flaky test, so no tests for now
+RESTRICT="test"
+
+distutils_enable_tests pytest