git: 4d1e80959811 - main - science/py-asdf: Update to 2.8.0

Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun May 16 15:26:58 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4d1e809598110cf19c94b121734f15c5091f302e

commit 4d1e809598110cf19c94b121734f15c5091f302e
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-05-16 15:15:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-05-16 15:24:14 +0000

    science/py-asdf: Update to 2.8.0
    
    Changes:        https://github.com/asdf-format/asdf/releases
---
 science/py-asdf/Makefile | 16 ++++++++++++----
 science/py-asdf/distinfo |  6 +++---
 2 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/science/py-asdf/Makefile b/science/py-asdf/Makefile
index b7449ed52af0..86000a55ef90 100644
--- a/science/py-asdf/Makefile
+++ b/science/py-asdf/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
 
 PORTNAME=	asdf
-PORTVERSION=	2.7.4
+PORTVERSION=	2.8.0
 CATEGORIES=	science python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,13 +13,15 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0.2<4:devel/py-jsonschema@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jmespath>=0.6.2:devel/py-jmespath@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0.2<4:devel/py-jsonschema@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}lz4>=0.10:archivers/py-lz4@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}numpy>=1.10,1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>=16.0:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>=3.10:devel/py-yaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}semantic-version>=2.8:devel/py-semantic-version@${PY_FLAVOR}
 
-USES=		python:3.5+ shebangfix
+USES=		python:3.6+ shebangfix
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
@@ -27,4 +29,10 @@ NO_ARCH=	yes
 SHEBANG_FILES=	asdf/extern/RangeHTTPServer.py \
 		asdf-standard/reference_files/generate/generate
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3900
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-resources>=3:devel/py-importlib-resources@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/science/py-asdf/distinfo b/science/py-asdf/distinfo
index 69fd489d7359..72b11c7c195b 100644
--- a/science/py-asdf/distinfo
+++ b/science/py-asdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1619910329
-SHA256 (asdf-2.7.4.tar.gz) = 86e90c2e2f7871ad190d25700f0ee97ea288f79553c9c7148e705d54051545d6
-SIZE (asdf-2.7.4.tar.gz) = 509304
+TIMESTAMP = 1620928629
+SHA256 (asdf-2.8.0.tar.gz) = 4b9552962c31b92a0e66aa14f56665f2d52bc50d93f2fe4d9944d556ca15852d
+SIZE (asdf-2.8.0.tar.gz) = 489353


More information about the dev-commits-ports-all mailing list