git: de6cde2517d1 - main - devel/py-id: Add py-id 1.5.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 03 Feb 2025 18:16:36 UTC
The branch main has been updated by sunpoet:

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

commit de6cde2517d16b4fb57a4bc61b184e87f4c86c20
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-03 18:16:32 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-03 18:16:32 +0000

    devel/py-id: Add py-id 1.5.0
    
    id is a Python tool for generating OIDC identities. It can automatically detect
    and produce OIDC credentials on a number of environments, including GitHub
    Actions, GitLab pipelines and Google Cloud.
---
 devel/Makefile        |  1 +
 devel/py-id/Makefile  | 22 ++++++++++++++++++++++
 devel/py-id/distinfo  |  3 +++
 devel/py-id/pkg-descr |  3 +++
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index f2550ea69170..a77afb32237c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5011,6 +5011,7 @@
     SUBDIR += py-icalendar
     SUBDIR += py-ice
     SUBDIR += py-ice37
+    SUBDIR += py-id
     SUBDIR += py-identify
     SUBDIR += py-ijson
     SUBDIR += py-imgkit
diff --git a/devel/py-id/Makefile b/devel/py-id/Makefile
new file mode 100644
index 000000000000..be3b37303049
--- /dev/null
+++ b/devel/py-id/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	id
+PORTVERSION=	1.5.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Tool for generating OIDC identities
+WWW=		https://github.com/di/id
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-id/distinfo b/devel/py-id/distinfo
new file mode 100644
index 000000000000..2ba4ceb6d0c8
--- /dev/null
+++ b/devel/py-id/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1738088808
+SHA256 (id-1.5.0.tar.gz) = 292cb8a49eacbbdbce97244f47a97b4c62540169c976552e497fd57df0734c1d
+SIZE (id-1.5.0.tar.gz) = 15237
diff --git a/devel/py-id/pkg-descr b/devel/py-id/pkg-descr
new file mode 100644
index 000000000000..9aefd385d74f
--- /dev/null
+++ b/devel/py-id/pkg-descr
@@ -0,0 +1,3 @@
+id is a Python tool for generating OIDC identities. It can automatically detect
+and produce OIDC credentials on a number of environments, including GitHub
+Actions, GitLab pipelines and Google Cloud.