git: 41db3bd98079 - main - devel/py-glom: Update to 23.5.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 27 Nov 2023 18:08:55 UTC
The branch main has been updated by sunpoet:

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

commit 41db3bd98079cbb8e49d5e2c7bba364b7d11e6b4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-27 18:03:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-27 18:07:51 +0000

    devel/py-glom: Update to 23.5.0
    
    - Update WWW
    - Add TOML option
    
    Changes:        https://github.com/mahmoud/glom/blob/master/CHANGELOG.md
---
 devel/py-glom/Makefile | 17 ++++++++++++++---
 devel/py-glom/distinfo |  6 +++---
 2 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/devel/py-glom/Makefile b/devel/py-glom/Makefile
index e1203263722e..5300c657a3fc 100644
--- a/devel/py-glom/Makefile
+++ b/devel/py-glom/Makefile
@@ -1,12 +1,13 @@
 PORTNAME=	glom
-PORTVERSION=	23.4.0
+PORTVERSION=	23.5.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Declarative object transformer and formatter
-WWW=		https://github.com/mahmoud/glom
+WWW=		https://glom.readthedocs.io/en/latest/ \
+		https://github.com/mahmoud/glom
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -20,4 +21,14 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+OPTIONS_DEFINE=	TOML
+OPTIONS_DEFAULT=TOML
+TOML_DESC=	TOML (Tom's Obvious Minimal Language) support
+
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MTOML} && ${PYTHON_REL} < 31100
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-glom/distinfo b/devel/py-glom/distinfo
index bbc70ca239e2..cbfb93618d5d 100644
--- a/devel/py-glom/distinfo
+++ b/devel/py-glom/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1699774540
-SHA256 (glom-23.4.0.tar.gz) = 8f7877de06a7d4f2ecca9608678258300498aaf02dc3b1eea971677f1dce86e3
-SIZE (glom-23.4.0.tar.gz) = 195546
+TIMESTAMP = 1701083372
+SHA256 (glom-23.5.0.tar.gz) = 06af5e3486aacc59382ba34e53ebeabd7a9345d78f7dbcbee26f03baa4b83bac
+SIZE (glom-23.5.0.tar.gz) = 196743