From nobody Wed Aug 31 11:44:26 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MHj564RXxz4b8bL; Wed, 31 Aug 2022 11:44:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MHj561rB7z3Cw8; Wed, 31 Aug 2022 11:44:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661946266; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1wsQrB+DBnX4TFpQw2BpHS1FO6PAuWG2W0vuObIyjU4=; b=bOZxciRLF5Xqbtd9xOqPRYKMrf2wl5NVfSh73USOhenxL1bk/nJvoR+esdj4C26RpJYgqM epfYpsTug0EpM9LZ8ipOUtRs9by6cNWlmhF0quiUcVhIWifBCqJO5N1ppgsiOJ7twBdc+z fwDpLl8vC0fbOWtYrZcsHOK++MxHYO7Yyn8Cnp3DD7kvwXzhUNU/+qMake8MWRVp3zyYKx VPwtBwXHyFE8djn+7uwt7gU1FtLWPlarrCt3QH0NBBzTU5dlXHQRx5Y7Dsz8WQm1MOUHZF +oO80JXczvOUE+lNdS5LsZyLDKuLZ1kOa28AaOEOMb9GNsBhx/MK1wjvQd8shQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MHj560wptz16SF; Wed, 31 Aug 2022 11:44:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27VBiQrB096494; Wed, 31 Aug 2022 11:44:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27VBiQj0096493; Wed, 31 Aug 2022 11:44:26 GMT (envelope-from git) Date: Wed, 31 Aug 2022 11:44:26 GMT Message-Id: <202208311144.27VBiQj0096493@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: aec044501eb3 - main - science/py-asdf: Update to 2.13.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aec044501eb30df5ec140ba0a929c2421700117b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661946266; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1wsQrB+DBnX4TFpQw2BpHS1FO6PAuWG2W0vuObIyjU4=; b=Mnv6JQLYSkFrgCi5PTEEmKQZJRze1Gd/G87oGLPrmqm39cHAaCWV7HKenLbM6SiswnPFQn AXORFBwHEvG8qveqFIGzIEcDK2oBcAz4MTvkK59Rh/jBJUy5gFbzLmci51gAsFlxBHmgbC wGFbpk4deLM2k5O4DVqYE7NiTC7ZGkLWxB3yEBbRY3QkK9CIW6Pxm0lLOwdnS15rMtQAKU ewvw0bXfMDJxPfuJRTGjXGMEo0DEpps5VzG3Watk42hK87zYsHMOxG7jx1nlJ87CxojC/X DzyrS+WP8BGpLJXC9Y34auapRxmAC2AviNpUZA+dtaaI4+sQkjrePkUQY0aqSA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661946266; a=rsa-sha256; cv=none; b=WAGyevm6p2rK9WF6zsWRPnq1s4RYvaEB4Bu21eG3w0k+GYeg1Pkf9Wa3/Cx98UKD9FD76Z Q9O2ZdfrpgxJ7R+nMmoAeFyWgC6uJQLvFoaG0MxovlX88J/IWUDsSSfHSsyfPuOMdY7DD5 Zq3WXqxlt0A3UL8hrkeN9snHwa49wQ9KgANcEc74ceAbf+ezd3uJZRPszB/0nF7UeknRzU /naj/h7EpGEeuP0xxsZelfgecgehVw0qDwvXc1/sLOkFH7GV1UY5vXqD/0UHSwqqOL+KLI ejWBVe6muEawQ9+5L1ckTnA3u/AgXPJYCN1C/kvQcYhzI7rUS3yBvfyaPzh96w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=aec044501eb30df5ec140ba0a929c2421700117b commit aec044501eb30df5ec140ba0a929c2421700117b Author: Po-Chuan Hsieh AuthorDate: 2022-08-31 11:24:12 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-08-31 11:41:12 +0000 science/py-asdf: Update to 2.13.0 Changes: https://github.com/asdf-format/asdf/releases --- science/py-asdf/Makefile | 8 +++-- science/py-asdf/distinfo | 6 ++-- science/py-asdf/files/setup.py | 67 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 6 deletions(-) diff --git a/science/py-asdf/Makefile b/science/py-asdf/Makefile index b39d89f2ca6a..1f019aff334a 100644 --- a/science/py-asdf/Makefile +++ b/science/py-asdf/Makefile @@ -1,5 +1,5 @@ PORTNAME= asdf -PORTVERSION= 2.12.0 +PORTVERSION= 2.13.0 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,11 +10,10 @@ COMMENT= Python tools to handle ASDF files LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asdf-standard>=1.0.1:science/py-asdf-standard@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}asdf-transform-schemas>=0.2.2:science/py-asdf-transform-schemas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jmespath>=0.6.2:devel/py-jmespath@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.0.1:devel/py-jsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.0.1<4.10.0: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} \ @@ -32,4 +31,7 @@ NO_ARCH= yes RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=3:devel/py-importlib-resources@${PY_FLAVOR} .endif +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + .include diff --git a/science/py-asdf/distinfo b/science/py-asdf/distinfo index ec759770ce3a..8a3b6450bc2e 100644 --- a/science/py-asdf/distinfo +++ b/science/py-asdf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1654708390 -SHA256 (asdf-2.12.0.tar.gz) = 5914834d077ba3bf68b9aafdc646b9f27ce5e56e1c241167d461dee43b1023e9 -SIZE (asdf-2.12.0.tar.gz) = 450167 +TIMESTAMP = 1661599311 +SHA256 (asdf-2.13.0.tar.gz) = 32e2a69a53d1701fc4616e800fb3daff81bbad801832a7bf563e3b61c9fe3dfe +SIZE (asdf-2.13.0.tar.gz) = 481609 diff --git a/science/py-asdf/files/setup.py b/science/py-asdf/files/setup.py new file mode 100644 index 000000000000..66f3f82bf4c9 --- /dev/null +++ b/science/py-asdf/files/setup.py @@ -0,0 +1,67 @@ +#!/usr/bin/env python +# setup.py generated by flit for tools that don't yet use PEP 517 + +from distutils.core import setup + +packages = \ +['asdf', + 'asdf.commands', + 'asdf.commands.tests', + 'asdf.commands.tests.data', + 'asdf.compat', + 'asdf.extension', + 'asdf.extern', + 'asdf.tags', + 'asdf.tags.core', + 'asdf.tags.core.tests', + 'asdf.tags.core.tests.data', + 'asdf.testing', + 'asdf.tests', + 'asdf.tests.data'] + +package_data = \ +{'': ['*']} + +install_requires = \ +['asdf-standard >=1.0.1', + 'asdf-transform-schemas >=0.2.2', + 'jmespath >=0.6.2', + 'jsonschema >=4.0.1, <4.10.0', + 'numpy >=1.10', + 'packaging >=16.0', + 'pyyaml >=3.10', + 'semantic_version >=2.8'] + +extras_require = \ +{':python_version <"3.9"': ['importlib_resources >=3'], + 'all': ['lz4 >=0.10'], + 'docs': ['sphinx-asdf >=0.1.4'], + 'tests': ['astropy >=5.0.4', + 'gwcs', + 'pytest-doctestplus', + 'pytest-remotedata', + 'pytest-openfiles', + 'psutil', + 'lz4 >=0.10'], + 'tests:sys_platform !="win32"': ['pytest >=6.0.0'], + 'tests:sys_platform =="win32"': ['pytest !=7.1.0, !=7.1.1, !=7.1.2']} + +entry_points = \ +{'onsole_scripts': ['asdftool = asdf.commands.main:main'], + 'asdf_extensions': ['builtin = asdf.extension:BuiltinExtension'], + 'asdf.resource_mappings': ['asdf = asdf.resource:get_json_schema_resource_mappings'], + 'pytest11': ['asdf_schema_tester = pytest_asdf.plugin']} + +setup(name='asdf', + version='%%PORTVERSION%%', + description='Python implementation of the ASDF Standard', + author=None, + author_email='The ASDF Developers ', + url=None, + packages=packages, + package_data=package_data, + install_requires=install_requires, + extras_require=extras_require, + entry_points=entry_points, + python_requires='>=3.8', + )