From eec340af33066b8ef5b917938bbca0445419bf10 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sat, 25 Jan 2025 00:14:32 -0800 Subject: [PATCH] =?UTF-8?q?math/py-cmyt:=20update=202.0.0=20=E2=86=92=202.?= =?UTF-8?q?0.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 +USE_GITHUB= yes +GH_ACCOUNT= yt-project + NO_ARCH= yes -POST_PLIST= rm-tests-from-plist +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -post-install: - @${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/tests - -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 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