databases/py-redshift-connector: Add py-redshift-connector 2.1.10

redshift_connector is the Amazon Redshift connector for Python. Easy integration
with pandas and numpy, as well as support for numerous Amazon Redshift specific
features help you get the most out of your data.

Supported Amazon Redshift features include:
- IAM authentication
- Identity provider (IdP) authentication
- Redshift specific data types

This pure Python connector implements Python Database API Specification 2.0.
This commit is contained in:
Po-Chuan Hsieh
2025-12-09 19:20:48 +08:00
parent 8ad452903c
commit a2f2b61062
5 changed files with 60 additions and 0 deletions
+1
View File
@@ -845,6 +845,7 @@
SUBDIR += py-redis5
SUBDIR += py-redis6
SUBDIR += py-redisvl
SUBDIR += py-redshift-connector
SUBDIR += py-rrdtool
SUBDIR += py-schemachange
SUBDIR += py-sispy
+35
View File
@@ -0,0 +1,35 @@
PORTNAME= redshift-connector
PORTVERSION= 2.1.10
DISTVERSIONPREFIX= v
CATEGORIES= databases python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Redshift interface library
WWW= https://github.com/aws/amazon-redshift-python-driver
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.7.0<5.0.0:www/py-beautifulsoup@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}boto3>=1.9.201<2.0.0:www/py-boto3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}botocore>=1.12.201<2.0.0:devel/py-botocore@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>=4.6.5:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytz>=2020.1,1:devel/py-pytz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.23.0<3.0.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scramp>=1.2.0<1.5.0:security/py-scramp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
USE_GITHUB= yes
GH_ACCOUNT= aws
GH_PROJECT= amazon-redshift-python-driver
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1765032622
SHA256 (aws-amazon-redshift-python-driver-v2.1.10_GH0.tar.gz) = 9317e6a2c70cc68e59bf1f76d56013cc3ee1650693c61e9d6c23a41f29e0f498
SIZE (aws-amazon-redshift-python-driver-v2.1.10_GH0.tar.gz) = 389062
@@ -0,0 +1,11 @@
--- requirements.txt.orig 2025-11-19 00:47:17 UTC
+++ requirements.txt
@@ -3,7 +3,7 @@ requests>=2.23.0,<3.0.0
beautifulsoup4>=4.7.0,<5.0.0
boto3>=1.9.201,<2.0.0
requests>=2.23.0,<3.0.0
-lxml>=4.6.5,<6.0.0
+lxml>=4.6.5
botocore>=1.12.201,<2.0.0
packaging
setuptools
+10
View File
@@ -0,0 +1,10 @@
redshift_connector is the Amazon Redshift connector for Python. Easy integration
with pandas and numpy, as well as support for numerous Amazon Redshift specific
features help you get the most out of your data.
Supported Amazon Redshift features include:
- IAM authentication
- Identity provider (IdP) authentication
- Redshift specific data types
This pure Python connector implements Python Database API Specification 2.0.