diff --git a/www/py-planet/Makefile b/www/py-planet/Makefile index 46147b42ae63..9fce326626af 100644 --- a/www/py-planet/Makefile +++ b/www/py-planet/Makefile @@ -1,23 +1,27 @@ PORTNAME= planet -PORTVERSION= 1.5.2 +PORTVERSION= 2.0.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Planet API Client WWW= https://github.com/planetlabs/planet-client-python LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests-futures0>=0<1.0:www/py-requests-futures0@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.0.0:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}geojson>=0:devel/py-geojson@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httpx>=0.23.0:www/py-httpx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsonschema>=0:devel/py-jsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.1:www/py-pyjwt@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tqdm>=4.56:misc/py-tqdm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.6+ +USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/www/py-planet/distinfo b/www/py-planet/distinfo index 2b65845830b9..3480e430ed2e 100644 --- a/www/py-planet/distinfo +++ b/www/py-planet/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1662212196 -SHA256 (planet-1.5.2.tar.gz) = 44991e49da8c5ea95760dc3f18f0533870540a76c598e1194a55a16fdbf2d42c -SIZE (planet-1.5.2.tar.gz) = 88951 +TIMESTAMP = 1681918904 +SHA256 (planet-2.0.0.tar.gz) = ec6c8da7e1034073d29ef86d66aa9737f941db05b0509bdcd39b4775ba060674 +SIZE (planet-2.0.0.tar.gz) = 54438 diff --git a/www/py-planet/files/patch-setup.py b/www/py-planet/files/patch-setup.py index ef49333849f3..2d1324a9caf6 100644 --- a/www/py-planet/files/patch-setup.py +++ b/www/py-planet/files/patch-setup.py @@ -1,10 +1,10 @@ ---- setup.py.orig 2021-11-30 19:53:02 UTC +--- setup.py.orig 2023-04-17 17:36:38 UTC +++ setup.py -@@ -72,7 +72,6 @@ setup(name='planet', - url='https://github.com/planetlabs/planet-client-python', - license='Apache 2.0', - packages=find_packages(exclude=['examples', 'tests']), -- data_files=[('', ['LICENSE'])], - include_package_data=True, - zip_safe=False, - install_requires=[ +@@ -69,7 +69,6 @@ setup( + license='Apache 2.0', + packages=find_packages(exclude=['examples', 'tests']), + package_data={ +- "": ["LICENSE", "CONTRIBUTING.md"], + "planet": ["data/*"], + }, + include_package_data=True,