git: f5c80dabf06d - main - math/py-cmyt: New port: Collection of Matplotlib colormaps from the yt project
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Apr 2022 19:56:51 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=f5c80dabf06dcb93fe38ff1a5fd9afac633d7de4 commit f5c80dabf06dcb93fe38ff1a5fd9afac633d7de4 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-04-17 17:50:33 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-04-17 19:56:43 +0000 math/py-cmyt: New port: Collection of Matplotlib colormaps from the yt project --- math/Makefile | 1 + math/py-cmyt/Makefile | 31 +++++++++++++++++++++++++++++++ math/py-cmyt/distinfo | 3 +++ math/py-cmyt/pkg-descr | 3 +++ 4 files changed, 38 insertions(+) diff --git a/math/Makefile b/math/Makefile index 9054eb41f4af..57b1b7843b5b 100644 --- a/math/Makefile +++ b/math/Makefile @@ -820,6 +820,7 @@ SUBDIR += py-claripy SUBDIR += py-cma SUBDIR += py-cmaes + SUBDIR += py-cmyt SUBDIR += py-colormath SUBDIR += py-cryptominisat SUBDIR += py-cvxopt diff --git a/math/py-cmyt/Makefile b/math/py-cmyt/Makefile new file mode 100644 index 000000000000..a3a733d5f000 --- /dev/null +++ b/math/py-cmyt/Makefile @@ -0,0 +1,31 @@ +PORTNAME= cmyt +PORTVERSION= 1.0.4 +CATEGORIES= math python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Collection of Matplotlib colormaps from the yt project + +LICENSE= BSD3CLAUSE + +RUN_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.1.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} +py37_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10.0.2:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +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> diff --git a/math/py-cmyt/distinfo b/math/py-cmyt/distinfo new file mode 100644 index 000000000000..3968c71496d7 --- /dev/null +++ b/math/py-cmyt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1650217274 +SHA256 (cmyt-1.0.4.tar.gz) = ae5157d37e733ae55df12bad1e8aedb3eb2f3b45e829e25c83df023dcefd5926 +SIZE (cmyt-1.0.4.tar.gz) = 25473 diff --git a/math/py-cmyt/pkg-descr b/math/py-cmyt/pkg-descr new file mode 100644 index 000000000000..fb35d8feb409 --- /dev/null +++ b/math/py-cmyt/pkg-descr @@ -0,0 +1,3 @@ +Matplotlib colormaps from the yt project. + +WWW: https://yt-project.org/