Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2023 18:54:58 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 362fa493e90d - main - www/py-planet: Update to 2.0.0
Message-ID:  <202304191854.33JIswhF037929@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=362fa493e90da0053b1bee907281e218c14222d3

commit 362fa493e90da0053b1bee907281e218c14222d3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-19 18:52:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-19 18:54:29 +0000

    www/py-planet: Update to 2.0.0
    
    Changes:        https://github.com/planetlabs/planet-client-python/releases
---
 www/py-planet/Makefile             | 14 +++++++++-----
 www/py-planet/distinfo             |  6 +++---
 www/py-planet/files/patch-setup.py | 18 +++++++++---------
 3 files changed, 21 insertions(+), 17 deletions(-)

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,5 +1,5 @@
 PORTNAME=	planet
-PORTVERSION=	1.5.2
+PORTVERSION=	2.0.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +11,15 @@ 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
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304191854.33JIswhF037929>