git: 95fc996e20cb - main - graphics/py-altair: Update to 5.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 May 2023 04:27:41 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=95fc996e20cbe7e6e4e72b8f54b389a61d1f03df commit 95fc996e20cbe7e6e4e72b8f54b389a61d1f03df Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-05-27 04:09:12 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-05-27 04:09:12 +0000 graphics/py-altair: Update to 5.0.0 - Convert to USE_PYTHON=pep517 Changes: https://github.com/altair-viz/altair/releases --- graphics/py-altair/Makefile | 21 +++++++++++++++------ graphics/py-altair/distinfo | 6 +++--- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/graphics/py-altair/Makefile b/graphics/py-altair/Makefile index 78391bb9ac56..522eb6b8226c 100644 --- a/graphics/py-altair/Makefile +++ b/graphics/py-altair/Makefile @@ -1,6 +1,5 @@ PORTNAME= altair -PORTVERSION= 4.2.2 -PORTREVISION= 1 +PORTVERSION= 5.0.0 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,16 +11,26 @@ WWW= https://github.com/altair-viz/altair LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}entrypoints>=0:devel/py-entrypoints@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>=0.18,1:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}toolz>=0:devel/py-toolz@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.1:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> diff --git a/graphics/py-altair/distinfo b/graphics/py-altair/distinfo index 5948e3b63b3d..ac5eb9435f9a 100644 --- a/graphics/py-altair/distinfo +++ b/graphics/py-altair/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1675191065 -SHA256 (altair-4.2.2.tar.gz) = 39399a267c49b30d102c10411e67ab26374156a84b1aeb9fcd15140429ba49c5 -SIZE (altair-4.2.2.tar.gz) = 740430 +TIMESTAMP = 1684104492 +SHA256 (altair-5.0.0.tar.gz) = 394c3d8be96f9cc90e15a0eee3634cc5b6f19e470fd2045759892623bd9a3fb2 +SIZE (altair-5.0.0.tar.gz) = 456297