From 5a3a800342c3f294c189cefd415f8f892434189a Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Mon, 21 Oct 2024 14:34:45 +0800 Subject: [PATCH] databases/py-snowflake-connector-python: Convert to USE_PYTHON=cryptography - While I'm here, remove unnecessary PY_DEPENDS from BUILD_DEPENDS Approved by: portmgr (blanket) With hat: python --- databases/py-snowflake-connector-python/Makefile | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/databases/py-snowflake-connector-python/Makefile b/databases/py-snowflake-connector-python/Makefile index f660704a1b49..360d6d8827bd 100644 --- a/databases/py-snowflake-connector-python/Makefile +++ b/databases/py-snowflake-connector-python/Makefile @@ -10,17 +10,9 @@ WWW= https://github.com/snowflakedb/snowflake-connector-python LICENSE= APACHE20 -BUILD_DEPENDS= ${PY_DEPENDS} \ - ${PYTHON_PKGNAMEPREFIX}cython3>0:lang/cython3@${PY_FLAVOR} - -RUN_DEPENDS= ${PY_DEPENDS} - -USES= python -USE_PYTHON= autoplist concurrent distutils - -PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>0.24.0<2.0.0:devel/py-asn1crypto@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython3>0:lang/cython3@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>0.24.0<2.0.0:devel/py-asn1crypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cffi>=1.9<2:devel/py-cffi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=3.1.0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=16.2.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyjwt<3.0:www/py-pyjwt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \ @@ -37,4 +29,7 @@ PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>0.24.0<2.0.0:devel/py-asn1crypto@$ ${PYTHON_PKGNAMEPREFIX}platformdirs>=2.6.0<5.0.0:devel/py-platformdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tomlkit>0:textproc/py-tomlkit@${PY_FLAVOR} +USES= python +USE_PYTHON= autoplist concurrent cryptography distutils + .include