git: 8392d0e4e39a - main - databases/py-snowflake-connector-python: Allow build with py-platformdirs 4.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 31 Mar 2024 03:43:19 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8392d0e4e39a39f59cc1c03aefb71c1f9494511f
commit 8392d0e4e39a39f59cc1c03aefb71c1f9494511f
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-31 03:10:21 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-31 03:10:21 +0000
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
---
databases/py-snowflake-connector-python/Makefile | 3 ++-
.../py-snowflake-connector-python/files/patch-setup.cfg | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletion(-)
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 =