2023-10-21 22:32:01 +02:00
|
|
|
PORTNAME= snowflake-connector-python
|
2024-12-03 22:06:44 -08:00
|
|
|
DISTVERSION= 3.12.3
|
2025-03-07 21:33:49 -05:00
|
|
|
PORTREVISION= 1
|
2024-12-03 22:06:44 -08:00
|
|
|
DISTNAME= snowflake_connector_python-${DISTVERSION}
|
2023-10-21 22:32:01 +02:00
|
|
|
CATEGORIES= databases python
|
|
|
|
|
MASTER_SITES= PYPI
|
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
|
|
MAINTAINER= pat@patmaddox.com
|
|
|
|
|
COMMENT= Snowflake Connector for Python
|
|
|
|
|
WWW= https://github.com/snowflakedb/snowflake-connector-python
|
|
|
|
|
|
|
|
|
|
LICENSE= APACHE20
|
|
|
|
|
|
2024-10-21 14:34:45 +08:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>0.24.0<2.0.0:devel/py-asn1crypto@${PY_FLAVOR} \
|
2024-09-09 02:35:27 +08:00
|
|
|
${PYTHON_PKGNAMEPREFIX}cffi>=1.9<2:devel/py-cffi@${PY_FLAVOR} \
|
2023-10-21 22:32:01 +02:00
|
|
|
${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} \
|
|
|
|
|
${PYTHON_PKGNAMEPREFIX}requests<3.0:www/py-requests@${PY_FLAVOR} \
|
|
|
|
|
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
|
2024-09-09 02:35:27 +08:00
|
|
|
${PYTHON_PKGNAMEPREFIX}charset-normalizer>=2<4:textproc/py-charset-normalizer@${PY_FLAVOR} \
|
|
|
|
|
${PYTHON_PKGNAMEPREFIX}idna>=2.5<4.0:dns/py-idna@${PY_FLAVOR} \
|
2023-10-21 22:32:01 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}certifi>=2017.4.17:security/py-certifi@${PY_FLAVOR} \
|
2024-09-09 02:35:27 +08:00
|
|
|
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.3<5.0:devel/py-typing-extensions@${PY_FLAVOR} \
|
|
|
|
|
${PYTHON_PKGNAMEPREFIX}filelock>=3.5<4.0:sysutils/py-filelock@${PY_FLAVOR} \
|
2023-10-21 22:32:01 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.4.0:devel/py-sortedcontainers@${PY_FLAVOR} \
|
2024-09-09 02:35:27 +08:00
|
|
|
${PYTHON_PKGNAMEPREFIX}platformdirs>=2.6.0<5.0.0:devel/py-platformdirs@${PY_FLAVOR} \
|
2023-10-21 22:32:01 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}tomlkit>0:textproc/py-tomlkit@${PY_FLAVOR}
|
|
|
|
|
|
2024-10-21 14:34:45 +08:00
|
|
|
USES= python
|
2025-04-09 22:53:16 +08:00
|
|
|
USE_PYTHON= autoplist concurrent cryptography cython3 distutils
|
2024-10-21 14:34:45 +08:00
|
|
|
|
2024-12-03 22:06:44 -08:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
|
|
.if ${PYTHON_REL} < 31000
|
|
|
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}urllib3>=1.21.1:net/py-urllib3@${PY_FLAVOR}
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|