git: 54a5d55acda5 - main - devel/py-python-json-logger: Update to 3.2.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Dec 2024 16:01:50 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=54a5d55acda5abb2bc97c257241fc113b4c745da
commit 54a5d55acda5abb2bc97c257241fc113b4c745da
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-12-31 15:49:09 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-12-31 15:49:09 +0000
devel/py-python-json-logger: Update to 3.2.1
- Add GitHub to MASTER_SITES
Changes: https://github.com/nhairs/python-json-logger/releases
---
devel/py-python-json-logger/Makefile | 14 +++++++++++---
devel/py-python-json-logger/distinfo | 6 +++---
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/devel/py-python-json-logger/Makefile b/devel/py-python-json-logger/Makefile
index 1d057d029117..292699c92898 100644
--- a/devel/py-python-json-logger/Makefile
+++ b/devel/py-python-json-logger/Makefile
@@ -1,8 +1,10 @@
PORTNAME= python-json-logger
-PORTVERSION= 3.0.1
+PORTVERSION= 3.2.1
CATEGORIES= devel python
-MASTER_SITES= PYPI
+MASTER_SITES= PYPI \
+ https://github.com/nhairs/python-json-logger/releases/download/v${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= python_json_logger-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python library adding a json log formatter
@@ -19,4 +21,10 @@ USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31000
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-python-json-logger/distinfo b/devel/py-python-json-logger/distinfo
index 5b5537c75b3c..3f58c7c79445 100644
--- a/devel/py-python-json-logger/distinfo
+++ b/devel/py-python-json-logger/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734888276
-SHA256 (python-json-logger-3.0.1.tar.gz) = c2de8689c58c09a7cbb47d7cd49a29cd6948647618d7d946fabbe30b865e5a35
-SIZE (python-json-logger-3.0.1.tar.gz) = 10917
+TIMESTAMP = 1735227908
+SHA256 (python_json_logger-3.2.1.tar.gz) = 8eb0554ea17cb75b05d2848bc14fb02fbdbd9d6972120781b974380bfa162008
+SIZE (python_json_logger-3.2.1.tar.gz) = 16287