diff --git a/www/Makefile b/www/Makefile index d2f75eb3baf1..0fafad48d271 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1711,6 +1711,7 @@ SUBDIR += py-secure-cookie SUBDIR += py-selector SUBDIR += py-selenium + SUBDIR += py-sentinelhub SUBDIR += py-slimit SUBDIR += py-slumber SUBDIR += py-sockjs-tornado diff --git a/www/py-sentinelhub/Makefile b/www/py-sentinelhub/Makefile new file mode 100644 index 000000000000..8bb4dd498542 --- /dev/null +++ b/www/py-sentinelhub/Makefile @@ -0,0 +1,43 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= sentinelhub +PORTVERSION= 3.1.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Sentinel Hub Utilities + +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} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}oauthlib>=0:security/py-oauthlib@${PY_FLAVOR} \ + ${PY_PILLOW} \ + ${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}utm>=0:graphics/py-utm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 3700 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dataclasses>=0:devel/py-dataclasses@${PY_FLAVOR} +.endif + +.include diff --git a/www/py-sentinelhub/distinfo b/www/py-sentinelhub/distinfo new file mode 100644 index 000000000000..cc44c5c29101 --- /dev/null +++ b/www/py-sentinelhub/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1604680066 +SHA256 (sentinelhub-3.1.0.tar.gz) = e474e8c0d2d7fb211ba1818e702f97863ff1c697de8431f094f8d8a5d0832577 +SIZE (sentinelhub-3.1.0.tar.gz) = 186091 diff --git a/www/py-sentinelhub/pkg-descr b/www/py-sentinelhub/pkg-descr new file mode 100644 index 000000000000..f13753e79cb8 --- /dev/null +++ b/www/py-sentinelhub/pkg-descr @@ -0,0 +1,11 @@ +The sentinelhub Python package allows users to make OGC (WMS and WCS) web +requests to download and process satellite images within your Python scripts. It +supports Sentinel-2 L1C and L2A, Sentinel-1, Landsat 8, MODIS and DEM data +source. + +The package also supports obtaining data from Amazon Web Service. It can either +provide data from public bucket with Sentinel-2 L1C imagery or requester pays +bucket with Sentinel-2 L2A imagery. If specified the downloaded data can be +stored in ESA .SAFE format (all types of .SAFE format are supported). + +WWW: https://github.com/sentinel-hub/sentinelhub-py