Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2025 08:14:53 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: eec340af3306 - main - =?utf-8?Q?math/py-cmyt: update 2.0.0 =E2=86=92 2.0.2?=
Message-ID:  <202501250814.50P8ErQ5096409@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit eec340af33066b8ef5b917938bbca0445419bf10
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-01-25 08:14:32 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-01-25 08:14:46 +0000

    math/py-cmyt: update 2.0.0 → 2.0.2
    
    Reported by:    portscout
---
 math/py-cmyt/Makefile | 22 +++++++++++-----------
 math/py-cmyt/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/math/py-cmyt/Makefile b/math/py-cmyt/Makefile
index 46ebc2c12e59..3024184f481f 100644
--- a/math/py-cmyt/Makefile
+++ b/math/py-cmyt/Makefile
@@ -1,17 +1,18 @@
 PORTNAME=	cmyt
-DISTVERSION=	2.0.0
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2.0.2
 CATEGORIES=	math python
-MASTER_SITES=	PYPI
+#MASTER_SITES=	PYPI # no tests
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Collection of Matplotlib colormaps from the yt project
-WWW=		https://yt-project.org/
+WWW=		https://yt-project.org \
+		https://github.com/yt-project/cmyt
 
 LICENSE=	BSD3CLAUSE
 
-BUILD_DEPENDS=	${PY_SETUPTOOLS} \
-		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
 RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}matplotlib>=3.2.0:math/py-matplotlib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}more-itertools>=8.4:devel/py-more-itertools@${PY_FLAVOR} \
@@ -20,14 +21,13 @@ RUN_DEPENDS=	${PYNUMPY} \
 USES=		python
 USE_PYTHON=	pep517 concurrent autoplist pytest
 
-NO_ARCH=	yes
+USE_GITHUB=	yes
+GH_ACCOUNT=	yt-project
 
-POST_PLIST=	rm-tests-from-plist
+NO_ARCH=	yes
 
-post-install:
-	@${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/tests
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
-rm-tests-from-plist:
-	@${REINPLACE_CMD} '/\/tests\//d' ${TMPPLIST}
+# tests have errors: pytest.PytestUnknownMarkWarning: Unknown pytest.mark.mpl_image_compare - is this a typo?
 
 .include <bsd.port.mk>
diff --git a/math/py-cmyt/distinfo b/math/py-cmyt/distinfo
index cc32e0096789..4f3c9bf53288 100644
--- a/math/py-cmyt/distinfo
+++ b/math/py-cmyt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1703268572
-SHA256 (cmyt-2.0.0.tar.gz) = 4beef670f488818efc6ac30491bae81b63a71590936e8cdd3dc3fc9027ab4bfd
-SIZE (cmyt-2.0.0.tar.gz) = 30497
+TIMESTAMP = 1737792432
+SHA256 (yt-project-cmyt-v2.0.2_GH0.tar.gz) = 56be04bd80c688cea4d7a3f2481e4e3d4a4183b055e1674137ce1b0ba8105f20
+SIZE (yt-project-cmyt-v2.0.2_GH0.tar.gz) = 1909004



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501250814.50P8ErQ5096409>