aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-snowflake-connector-python
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-31 11:10:21 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-31 11:10:21 +0800
commit8392d0e4e39a39f59cc1c03aefb71c1f9494511f (patch)
tree6808f8494c2dfa40df6bd40e05685ab1d2905e9c /databases/py-snowflake-connector-python
parent6407ca5c2dd167735a88391d54d0ce052795a587 (diff)
databases/py-snowflake-connector-python: Allow build with py-platformdirs 4.0.0+
- Bump PORTREVISION for package change Obtained from: https://github.com/snowflakedb/snowflake-connector-python/commit/1718a94804e1c737c2f7d7e52d6aafcd8ae3c506
Diffstat (limited to 'databases/py-snowflake-connector-python')
-rw-r--r--databases/py-snowflake-connector-python/Makefile3
-rw-r--r--databases/py-snowflake-connector-python/files/patch-setup.cfg13
2 files changed, 15 insertions, 1 deletions
diff --git a/databases/py-snowflake-connector-python/Makefile b/databases/py-snowflake-connector-python/Makefile
index c79e4370b369..915908ea09d5 100644
--- a/databases/py-snowflake-connector-python/Makefile
+++ b/databases/py-snowflake-connector-python/Makefile
@@ -1,5 +1,6 @@
PORTNAME= snowflake-connector-python
PORTVERSION= 3.5.0
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -35,7 +36,7 @@ PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>0.24.0,<2.0.0:devel/py-asn1crypto@
${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} \
${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.4.0:devel/py-sortedcontainers@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}platformdirs>=2.6.0,<4.0.0:devel/py-platformdirs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}platformdirs>=2.6.0,<5.0.0:devel/py-platformdirs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tomlkit>0:textproc/py-tomlkit@${PY_FLAVOR}
.include <bsd.port.mk>
diff --git a/databases/py-snowflake-connector-python/files/patch-setup.cfg b/databases/py-snowflake-connector-python/files/patch-setup.cfg
new file mode 100644
index 000000000000..bb597af1f64a
--- /dev/null
+++ b/databases/py-snowflake-connector-python/files/patch-setup.cfg
@@ -0,0 +1,13 @@
+Obtained from: https://github.com/snowflakedb/snowflake-connector-python/commit/1718a94804e1c737c2f7d7e52d6aafcd8ae3c506
+
+--- setup.cfg.orig 2023-11-13 17:55:47 UTC
++++ setup.cfg
+@@ -58,7 +58,7 @@ install_requires =
+ typing_extensions>=4.3,<5
+ filelock>=3.5,<4
+ sortedcontainers>=2.4.0
+- platformdirs>=2.6.0,<4.0.0
++ platformdirs>=2.6.0,<5.0.0
+ tomlkit
+ include_package_data = True
+ package_dir =