diff options
-rw-r--r-- | databases/py-pgcli/Makefile | 4 | ||||
-rw-r--r-- | databases/py-pgcli/files/patch-setup.py | 11 |
2 files changed, 14 insertions, 1 deletions
diff --git a/databases/py-pgcli/Makefile b/databases/py-pgcli/Makefile index 277b67c59e9f..e7058f492b59 100644 --- a/databases/py-pgcli/Makefile +++ b/databases/py-pgcli/Makefile @@ -33,9 +33,11 @@ USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes PYTEST_BROKEN_TESTS= test_obfuscate_process_password -OPTIONS_DEFINE= KEYRING +OPTIONS_DEFINE= KEYRING SSHTUNNEL KEYRING_DESC= keyring support +SSHTUNNEL_DESC= SSH tunnel support KEYRING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keyring>=12.2.0,1:security/py-keyring@${PY_FLAVOR} +SSHTUNNEL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sshtunnel>=0:net/py-sshtunnel@${PY_FLAVOR} .include <bsd.port.mk> diff --git a/databases/py-pgcli/files/patch-setup.py b/databases/py-pgcli/files/patch-setup.py new file mode 100644 index 000000000000..7ab0eab96497 --- /dev/null +++ b/databases/py-pgcli/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2024-05-10 03:17:53 UTC ++++ setup.py +@@ -44,7 +44,7 @@ setup( + ], + extras_require={ + "keyring": ["keyring >= 12.2.0"], +- "sshtunnel": ["sshtunnel >= 0.4.0"], ++ "sshtunnel": ["sshtunnel"], + }, + python_requires=">=3.8", + entry_points=""" |