aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-01-25 08:14:32 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2025-01-25 08:14:46 +0000
commiteec340af33066b8ef5b917938bbca0445419bf10 (patch)
tree500e33dff98e85e6ca7d57ee6b9f0b0d6ab29389
parent85dbee98aa1c75364edcdb5e9880f24410aa0937 (diff)
math/py-cmyt: update 2.0.0 → 2.0.2
Reported by: portscout
-rw-r--r--math/py-cmyt/Makefile22
-rw-r--r--math/py-cmyt/distinfo6
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