diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-08-15 17:45:00 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-08-15 18:55:33 +0800 |
commit | a8e804f77826c76b1a261311cf4c45ed8422cd8a (patch) | |
tree | 61c8d570949dcdaf36d0745a58a63999e5c60e34 /databases | |
parent | lang/p5-Scalar-List-Utils: Update to 1.65 (diff) |
databases/py-pgcli: Add SSHTUNNEL option
Diffstat (limited to 'databases')
-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=""" |