diff options
Diffstat (limited to '')
-rw-r--r-- | www/py-planet-auth/Makefile | 31 | ||||
-rw-r--r-- | www/py-planet-auth/distinfo | 3 | ||||
-rw-r--r-- | www/py-planet-auth/files/patch-pyproject.toml | 23 | ||||
-rw-r--r-- | www/py-planet-auth/pkg-descr | 7 |
4 files changed, 64 insertions, 0 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. |