2382511526
Reported by: portscout
33 lines
891 B
Makefile
33 lines
891 B
Makefile
PORTNAME= cmyt
|
|
DISTVERSION= 2.0.0
|
|
CATEGORIES= math python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Collection of Matplotlib colormaps from the yt project
|
|
WWW= https://yt-project.org/
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${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} \
|
|
${PYTHON_PKGNAMEPREFIX}colorspacious>=1.1.2:devel/py-colorspacious@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= pep517 concurrent autoplist pytest
|
|
|
|
NO_ARCH= yes
|
|
|
|
POST_PLIST= rm-tests-from-plist
|
|
|
|
post-install:
|
|
@${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/tests
|
|
|
|
rm-tests-from-plist:
|
|
@${REINPLACE_CMD} '/\/tests\//d' ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|