git: 2f918ed9e617 - main - databases/py-mycli: Allow build with py-sqlparse 0.5.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Apr 2024 14:27:07 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2f918ed9e6175410f8a10f0728cb51fc64807b3a commit 2f918ed9e6175410f8a10f0728cb51fc64807b3a 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-mycli: Allow build with py-sqlparse 0.5.0+ - Bump PORTREVISION for package change --- databases/py-mycli/Makefile | 3 ++- databases/py-mycli/files/patch-setup.py | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/databases/py-mycli/Makefile b/databases/py-mycli/Makefile index a996c0e00ce4..a138cf6d5f84 100644 --- a/databases/py-mycli/Makefile +++ b/databases/py-mycli/Makefile @@ -1,5 +1,6 @@ PORTNAME= mycli PORTVERSION= 1.27.2 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -23,7 +24,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cli-helpers>=2.2.1:devel/py-cli-helpers@${PY ${PYTHON_PKGNAMEPREFIX}pymysql>=0.9.2:databases/py-pymysql@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyperclip>=1.7.0:devel/py-pyperclip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlglot>=5.1.3:databases/py-sqlglot@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.3.0<0.5.0:databases/py-sqlparse@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.3.0<0.6.0:databases/py-sqlparse@${PY_FLAVOR} USES= mysql python USE_PYTHON= autoplist concurrent cryptography pep517 diff --git a/databases/py-mycli/files/patch-setup.py b/databases/py-mycli/files/patch-setup.py index db47b60b0795..a3e389a87a78 100644 --- a/databases/py-mycli/files/patch-setup.py +++ b/databases/py-mycli/files/patch-setup.py @@ -1,6 +1,11 @@ --- setup.py.orig 2024-03-29 05:11:01 UTC +++ setup.py -@@ -28,7 +28,7 @@ install_requirements = [ +@@ -24,11 +24,11 @@ install_requirements = [ + 'Pygments>=1.6', + 'prompt_toolkit>=3.0.6,<4.0.0', + 'PyMySQL >= 0.9.2', +- 'sqlparse>=0.3.0,<0.5.0', ++ 'sqlparse>=0.3.0,<0.6.0', 'sqlglot>=5.1.3', 'configobj >= 5.0.5', 'cli_helpers[styles] >= 2.2.1',