1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

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
This commit is contained in:
Po-Chuan Hsieh 2024-10-21 14:34:45 +08:00
parent 8465dd9828
commit 5a3a800342
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -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 <bsd.port.mk>