git: e667e074b370 - main - www/py-planet: Update to 2.18.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Apr 2025 14:01:23 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e667e074b3708c7c9ebd00fd7919817e784ad299
commit e667e074b3708c7c9ebd00fd7919817e784ad299
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-04-09 13:55:57 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-04-09 13:55:57 +0000
www/py-planet: Update to 2.18.0
Changes: https://github.com/planetlabs/planet-client-python/releases
---
www/py-planet/Makefile | 9 +++++----
www/py-planet/distinfo | 6 +++---
www/py-planet/files/patch-pyproject.toml | 16 ++++++++++++++++
www/py-planet/files/patch-setup.py | 10 ----------
4 files changed, 24 insertions(+), 17 deletions(-)
diff --git a/www/py-planet/Makefile b/www/py-planet/Makefile
index 086ff80bb59a..cf595ad83b47 100644
--- a/www/py-planet/Makefile
+++ b/www/py-planet/Makefile
@@ -1,22 +1,23 @@
PORTNAME= planet
-PORTVERSION= 2.11.0
+PORTVERSION= 2.18.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
-COMMENT= Planet API Client
+COMMENT= Planet SDK for Python
WWW= https://planet-sdk-for-python-v2.readthedocs.io/en/latest/ \
https://github.com/planetlabs/planet-client-python
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.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}httpx>=0.28.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} \
diff --git a/www/py-planet/distinfo b/www/py-planet/distinfo
index 68c2d6c85609..936d34232569 100644
--- a/www/py-planet/distinfo
+++ b/www/py-planet/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1729909998
-SHA256 (planet-2.11.0.tar.gz) = 5d0813724ec9d61336a5c15d8d97c78b78bd410c785dd14e277b5986c06e6d8c
-SIZE (planet-2.11.0.tar.gz) = 62704
+TIMESTAMP = 1742405514
+SHA256 (planet-2.18.0.tar.gz) = fe7e99413f4feb13b6f5d90935f5ceb09075fa92d2b289977ed8ae0960dd0cf9
+SIZE (planet-2.18.0.tar.gz) = 3357424
diff --git a/www/py-planet/files/patch-pyproject.toml b/www/py-planet/files/patch-pyproject.toml
new file mode 100644
index 000000000000..73a48ea8e784
--- /dev/null
+++ b/www/py-planet/files/patch-pyproject.toml
@@ -0,0 +1,16 @@
+--- pyproject.toml.orig 2024-12-10 20:04:14 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=64", "setuptools_scm>=8"]
++requires = ["setuptools>=61", "setuptools_scm>=8"]
+ build-backend = "setuptools.build_meta"
+
+ [project]
+@@ -61,4 +61,4 @@ Repository = "https://github.com/planetlabs/planet-cli
+ [project.urls]
+ Repository = "https://github.com/planetlabs/planet-client-python"
+
+-[tool.setuptools_scm]
+\ No newline at end of file
++[tool.setuptools_scm]
diff --git a/www/py-planet/files/patch-setup.py b/www/py-planet/files/patch-setup.py
deleted file mode 100644
index 2d1324a9caf6..000000000000
--- a/www/py-planet/files/patch-setup.py
+++ /dev/null
@@ -1,10 +0,0 @@
---- setup.py.orig 2023-04-17 17:36:38 UTC
-+++ setup.py
-@@ -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,