Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2024 14:27:08 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 610fb98cf158 - main - databases/py-pgcli: Allow build with py-sqlparse 0.5.0+
Message-ID:  <202404201427.43KER8Oa007713@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=610fb98cf158b78bb7562295d0ebc4569fa1e803

commit 610fb98cf158b78bb7562295d0ebc4569fa1e803
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-20 14:22:38 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-20 14:25:39 +0000

    databases/py-pgcli: Allow build with py-sqlparse 0.5.0+
    
    - Bump PORTREVISION for package change
---
 databases/py-pgcli/Makefile             |  4 ++--
 databases/py-pgcli/files/patch-setup.py | 11 +++++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/databases/py-pgcli/Makefile b/databases/py-pgcli/Makefile
index 6b5611d9d820..08afbb5a665b 100644
--- a/databases/py-pgcli/Makefile
+++ b/databases/py-pgcli/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pgcli
 PORTVERSION=	4.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	databases python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -24,7 +24,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cli-helpers>=2.1.1:devel/py-cli-helpers@${PY
 		${PYTHON_PKGNAMEPREFIX}psycopg>=3.0.14:databases/py-psycopg@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pygments>=2.0:textproc/py-pygments@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setproctitle>=1.1.9:devel/py-setproctitle@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sqlparse>=0.3.0<0.5:databases/py-sqlparse@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}sqlparse>=0.3.0<0.6:databases/py-sqlparse@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:devel/py-mock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pexpect>=0:misc/py-pexpect@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sshtunnel>=0:net/py-sshtunnel@${PY_FLAVOR}
diff --git a/databases/py-pgcli/files/patch-setup.py b/databases/py-pgcli/files/patch-setup.py
new file mode 100644
index 000000000000..7dbff68285bf
--- /dev/null
+++ b/databases/py-pgcli/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2023-10-29 23:11:56 UTC
++++ setup.py
+@@ -13,7 +13,7 @@ install_requirements = [
+     # see: https://github.com/dbcli/pgcli/pull/1197
+     "prompt_toolkit>=2.0.6,<4.0.0",
+     "psycopg >= 3.0.14",
+-    "sqlparse >=0.3.0,<0.5",
++    "sqlparse >=0.3.0,<0.6",
+     "configobj >= 5.0.6",
+     "pendulum>=2.1.0",
+     "cli_helpers[styles] >= 2.2.1",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404201427.43KER8Oa007713>