summaryrefslogtreecommitdiff
path: root/www/py-planet
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--www/py-planet-auth/Makefile31
-rw-r--r--www/py-planet-auth/distinfo3
-rw-r--r--www/py-planet-auth/files/patch-pyproject.toml23
-rw-r--r--www/py-planet-auth/pkg-descr7
-rw-r--r--www/py-planet/Makefile3
-rw-r--r--www/py-planet/distinfo6
6 files changed, 69 insertions, 4 deletions
diff --git a/www/py-planet-auth/Makefile b/www/py-planet-auth/Makefile
new file mode 100644
index 000000000000..9b23eec25a76
--- /dev/null
+++ b/www/py-planet-auth/Makefile
@@ -0,0 +1,31 @@
+PORTNAME= planet-auth
+PORTVERSION= 2.1.1
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= planet_auth-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Planet auth utility code
+WWW= https://github.com/planetlabs/planet-auth-python
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+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>=0:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}httpx>=0:www/py-httpx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=0:devel/py-prompt-toolkit@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyqrcode>=0:graphics/py-pyqrcode@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}StrEnum>=0:devel/py-strenum@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-planet-auth/distinfo b/www/py-planet-auth/distinfo
new file mode 100644
index 000000000000..f2156bc7dceb
--- /dev/null
+++ b/www/py-planet-auth/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757120474
+SHA256 (planet_auth-2.1.1.tar.gz) = 9c380fdb8659e3c2d2fc97cb3852f5c6f533a23620b452bffa95a4a54b05260a
+SIZE (planet_auth-2.1.1.tar.gz) = 238343
diff --git a/www/py-planet-auth/files/patch-pyproject.toml b/www/py-planet-auth/files/patch-pyproject.toml
new file mode 100644
index 000000000000..b8ec61c41278
--- /dev/null
+++ b/www/py-planet-auth/files/patch-pyproject.toml
@@ -0,0 +1,23 @@
+--- pyproject.toml.orig 2025-08-12 03:59:50 UTC
++++ pyproject.toml
+@@ -12,10 +12,7 @@ authors = [{ name = "Carl Adams", email = "carl.adams@
+ # docs/index.md - front page for ReadTheDocs doc page. Complete developer user documentation.
+ readme = "docs/readme.md"
+ authors = [{ name = "Carl Adams", email = "carl.adams@planet.com" }]
+-license = "Apache-2.0"
+-license-files = [
+- "LICENSE",
+-]
++license = { text = "Apache-2.0" }
+ classifiers = [
+ "Development Status :: 5 - Production/Stable",
+ ]
+@@ -85,7 +82,7 @@ plauth = "planet_auth_utils.commands.cli.main:cmd_plau
+ plauth = "planet_auth_utils.commands.cli.main:cmd_plauth"
+
+ [build-system]
+-requires = ["setuptools>=64", "setuptools_scm>=8", "wheel"]
++requires = ["setuptools>=61", "setuptools_scm>=8", "wheel"]
+ build-backend = "setuptools.build_meta"
+
+ [tool.setuptools.dynamic]
diff --git a/www/py-planet-auth/pkg-descr b/www/py-planet-auth/pkg-descr
new file mode 100644
index 000000000000..dea5aaba719b
--- /dev/null
+++ b/www/py-planet-auth/pkg-descr
@@ -0,0 +1,7 @@
+The Planet Auth Library provides generic authentication utilities for clients
+and for services. For clients, it provides means to obtain access tokens that
+can be used to access network services. For services, it provides tools to
+validate the same access tokens.
+
+The Planet SDK for Python leverages this library, and is pre-configured for the
+Planet Cloud Service used by customers.
diff --git a/www/py-planet/Makefile b/www/py-planet/Makefile
index eec7ee458e08..89158257aace 100644
--- a/www/py-planet/Makefile
+++ b/www/py-planet/Makefile
@@ -1,5 +1,5 @@
PORTNAME= planet
-PORTVERSION= 2.22.0
+PORTVERSION= 3.1.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,6 +19,7 @@ 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.28.0:www/py-httpx@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonschema>=0:devel/py-jsonschema@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}planet-auth>=2.1.0:www/py-planet-auth@${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}
diff --git a/www/py-planet/distinfo b/www/py-planet/distinfo
index fc101ada6dbd..51be2beef340 100644
--- a/www/py-planet/distinfo
+++ b/www/py-planet/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1750188154
-SHA256 (planet-2.22.0.tar.gz) = 85850dff397c360c8d6d9d58271e52b95458d39e276354f8316e355c73785404
-SIZE (planet-2.22.0.tar.gz) = 3369616
+TIMESTAMP = 1757120870
+SHA256 (planet-3.1.0.tar.gz) = 1674f439644de632f6ae2db6223fd5e54913170894c294683fc8a4cc7c993ac4
+SIZE (planet-3.1.0.tar.gz) = 3408883