git: adfa4a5370ca - main - devel/py-monty: update 2023.5.8 → 2024.10.21

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 04 Nov 2024 20:36:59 UTC
The branch main has been updated by yuri:

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

commit adfa4a5370ca7021730c375597e334897b3d6fce
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-04 20:17:08 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-04 20:36:51 +0000

    devel/py-monty: update 2023.5.8 → 2024.10.21
---
 devel/py-monty/Makefile | 18 +++++++++++++++---
 devel/py-monty/distinfo |  6 +++---
 2 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/devel/py-monty/Makefile b/devel/py-monty/Makefile
index 967a54021fe0..6a6543bb9654 100644
--- a/devel/py-monty/Makefile
+++ b/devel/py-monty/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	monty
-DISTVERSION=	2023.5.8
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2024.10.21
 CATEGORIES=	devel python
-MASTER_SITES=	PYPI
+#MASTER_SITES=	PYPI # no tests
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -11,9 +12,20 @@ WWW=		https://github.com/materialsvirtuallab/monty
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.rst
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}ruamel.yaml>0:devel/py-ruamel.yaml@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	pep517 autoplist pytest
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	materialsvirtuallab
 
 NO_ARCH=	yes
 
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
 .include <bsd.port.mk>
diff --git a/devel/py-monty/distinfo b/devel/py-monty/distinfo
index d438a4b2570a..184ca5ebea8e 100644
--- a/devel/py-monty/distinfo
+++ b/devel/py-monty/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688311718
-SHA256 (monty-2023.5.8.tar.gz) = 41dfff8cc774876450fcb6bbffab96cda7296da240660f87a41fcb868a8b3516
-SIZE (monty-2023.5.8.tar.gz) = 39575
+TIMESTAMP = 1730746293
+SHA256 (materialsvirtuallab-monty-v2024.10.21_GH0.tar.gz) = d37ba391b60b171656a708bc88d7372ee6d3530ccf9f3e3b4f20172cd5269a2a
+SIZE (materialsvirtuallab-monty-v2024.10.21_GH0.tar.gz) = 114231