git: f3a060f8ab45 - main - security/py-joserfc: Add py-joserfc 0.9.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Mar 2024 14:09:42 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f3a060f8ab456cc1af9b8d712b813ab9273502a6
commit f3a060f8ab456cc1af9b8d712b813ab9273502a6
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:44:18 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:05:15 +0000
security/py-joserfc: Add py-joserfc 0.9.0
joserfc is a Python library that provides a comprehensive implementation of
several essential JSON Object Signing and Encryption (JOSE) standards.
---
security/Makefile | 1 +
security/py-joserfc/Makefile | 23 +++++++++++++++++++++++
security/py-joserfc/distinfo | 3 +++
security/py-joserfc/pkg-descr | 2 ++
4 files changed, 29 insertions(+)
diff --git a/security/Makefile b/security/Makefile
index 98c05f7ad440..fba81a9c8f31 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -941,6 +941,7 @@
SUBDIR += py-iris-webhooks-module
SUBDIR += py-itsdangerous
SUBDIR += py-josepy
+ SUBDIR += py-joserfc
SUBDIR += py-jwcrypto
SUBDIR += py-keepkey
SUBDIR += py-kerberos
diff --git a/security/py-joserfc/Makefile b/security/py-joserfc/Makefile
new file mode 100644
index 000000000000..2a31b42382d4
--- /dev/null
+++ b/security/py-joserfc/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= joserfc
+PORTVERSION= 0.9.0
+CATEGORIES= security python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Ultimate Python library for JOSE RFCs
+WWW= https://jose.authlib.org/en/dev/ \
+ https://github.com/authlib/joserfc
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent cryptography pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/security/py-joserfc/distinfo b/security/py-joserfc/distinfo
new file mode 100644
index 000000000000..5670fbd18387
--- /dev/null
+++ b/security/py-joserfc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1709390336
+SHA256 (joserfc-0.9.0.tar.gz) = eebca7f587b1761ce43a98ffd5327f2b600b9aa5bb0a77b947687f503ad43bc0
+SIZE (joserfc-0.9.0.tar.gz) = 166087
diff --git a/security/py-joserfc/pkg-descr b/security/py-joserfc/pkg-descr
new file mode 100644
index 000000000000..4cd99441fad0
--- /dev/null
+++ b/security/py-joserfc/pkg-descr
@@ -0,0 +1,2 @@
+joserfc is a Python library that provides a comprehensive implementation of
+several essential JSON Object Signing and Encryption (JOSE) standards.