git: 8762641ed877 - main - www/py-sentinelhub: Update to 3.5.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 30 Mar 2022 23:51:36 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8762641ed8770efcc89cc277358113477abed48d

commit 8762641ed8770efcc89cc277358113477abed48d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-30 23:46:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-30 23:49:40 +0000

    www/py-sentinelhub: Update to 3.5.0
    
    - Add AWS option
    
    Changes:        https://github.com/sentinel-hub/sentinelhub-py/releases
---
 www/py-sentinelhub/Makefile | 14 +++++++++-----
 www/py-sentinelhub/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/www/py-sentinelhub/Makefile b/www/py-sentinelhub/Makefile
index b019fba09d38..e556a648a068 100644
--- a/www/py-sentinelhub/Makefile
+++ b/www/py-sentinelhub/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	sentinelhub
-PORTVERSION=	3.4.4
+PORTVERSION=	3.5.0
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,19 +13,17 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aenum>=2.1.4:devel/py-aenum@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}boto3>=0:www/py-boto3@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}botocore>=0:devel/py-botocore@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dataclasses-json>=0:devel/py-dataclasses-json@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}oauthlib>=0:security/py-oauthlib@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pillow>=8.3.2<8.4.1:graphics/py-pillow@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyproj>=2.2.0:graphics/py-pyproj@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.5.0:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=0:www/py-requests-oauthlib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}Shapely>=0:devel/py-shapely@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tifffile>=0:graphics/py-tifffile@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tifffile>=2020.9.30:graphics/py-tifffile@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tqdm>=0:misc/py-tqdm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}utm>=0:graphics/py-utm@${PY_FLAVOR}
 
@@ -34,4 +32,10 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	AWS
+AWS_DESC=	AWS support
+
+AWS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boto3>=0:www/py-boto3@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}botocore>=0:devel/py-botocore@${PY_FLAVOR}
+
 .include <bsd.port.mk>
diff --git a/www/py-sentinelhub/distinfo b/www/py-sentinelhub/distinfo
index 781cd2df0f6a..733ec02a94c8 100644
--- a/www/py-sentinelhub/distinfo
+++ b/www/py-sentinelhub/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1646058170
-SHA256 (sentinelhub-3.4.4.tar.gz) = 2976306f2a459431b7c7dfa81f364e997637fcc84335a15f49f8d71ab6fc5e94
-SIZE (sentinelhub-3.4.4.tar.gz) = 201503
+TIMESTAMP = 1648681336
+SHA256 (sentinelhub-3.5.0.tar.gz) = 96032331b9a972bd3f880dc0e18a104bca6d53dff30167e01d668e0f24647707
+SIZE (sentinelhub-3.5.0.tar.gz) = 204147