math/py-cmyt: update 2.0.0 → 2.0.2

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2025-01-25 00:14:32 -08:00
parent 85dbee98aa
commit eec340af33
2 changed files with 14 additions and 14 deletions

View file

@ -1,17 +1,18 @@
PORTNAME= cmyt PORTNAME= cmyt
DISTVERSION= 2.0.0 DISTVERSIONPREFIX= v
DISTVERSION= 2.0.2
CATEGORIES= math python CATEGORIES= math python
MASTER_SITES= PYPI #MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org MAINTAINER= yuri@FreeBSD.org
COMMENT= Collection of Matplotlib colormaps from the yt project 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 LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PY_SETUPTOOLS} \ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYNUMPY} \ RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}matplotlib>=3.2.0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.2.0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}more-itertools>=8.4:devel/py-more-itertools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}more-itertools>=8.4:devel/py-more-itertools@${PY_FLAVOR} \
@ -20,14 +21,13 @@ RUN_DEPENDS= ${PYNUMPY} \
USES= python USES= python
USE_PYTHON= pep517 concurrent autoplist pytest USE_PYTHON= pep517 concurrent autoplist pytest
USE_GITHUB= yes
GH_ACCOUNT= yt-project
NO_ARCH= yes NO_ARCH= yes
POST_PLIST= rm-tests-from-plist TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
post-install: # tests have errors: pytest.PytestUnknownMarkWarning: Unknown pytest.mark.mpl_image_compare - is this a typo?
@${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/tests
rm-tests-from-plist:
@${REINPLACE_CMD} '/\/tests\//d' ${TMPPLIST}
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1703268572 TIMESTAMP = 1737792432
SHA256 (cmyt-2.0.0.tar.gz) = 4beef670f488818efc6ac30491bae81b63a71590936e8cdd3dc3fc9027ab4bfd SHA256 (yt-project-cmyt-v2.0.2_GH0.tar.gz) = 56be04bd80c688cea4d7a3f2481e4e3d4a4183b055e1674137ce1b0ba8105f20
SIZE (cmyt-2.0.0.tar.gz) = 30497 SIZE (yt-project-cmyt-v2.0.2_GH0.tar.gz) = 1909004