git: 0797aee0d378 - main - science/py-asdf-standard: Update to 1.0.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Aug 2022 11:44:27 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=0797aee0d378829abf3120be48fac803123f9187 commit 0797aee0d378829abf3120be48fac803123f9187 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-08-31 11:24:13 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-08-31 11:41:13 +0000 science/py-asdf-standard: Update to 1.0.3 Changes: https://github.com/asdf-format/asdf-standard/releases --- science/py-asdf-standard/Makefile | 9 ++++--- science/py-asdf-standard/distinfo | 6 ++--- science/py-asdf-standard/files/setup.py | 48 +++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 7 deletions(-) diff --git a/science/py-asdf-standard/Makefile b/science/py-asdf-standard/Makefile index d805ef8aa715..4f22e4620944 100644 --- a/science/py-asdf-standard/Makefile +++ b/science/py-asdf-standard/Makefile @@ -1,5 +1,5 @@ PORTNAME= asdf-standard -PORTVERSION= 1.0.2 +PORTVERSION= 1.0.3 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,8 +11,6 @@ COMMENT= ASDF Standard schemas LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} - USES= python:3.8+ USE_PYTHON= autoplist concurrent distutils @@ -20,8 +18,11 @@ NO_ARCH= yes .include <bsd.port.pre.mk> -.if ${PYTHON_REL} < 30800 +.if ${PYTHON_REL} < 30900 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 <bsd.port.post.mk> diff --git a/science/py-asdf-standard/distinfo b/science/py-asdf-standard/distinfo index a01d9e2016cd..3092f2bf198d 100644 --- a/science/py-asdf-standard/distinfo +++ b/science/py-asdf-standard/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1650139799 -SHA256 (asdf_standard-1.0.2.tar.gz) = 21cfc05dd821559b67dfbc54d03b2bcc0ad8b6cb5cc9d14d7591f73ab3451700 -SIZE (asdf_standard-1.0.2.tar.gz) = 110825 +TIMESTAMP = 1661599313 +SHA256 (asdf_standard-1.0.3.tar.gz) = afd8ff9a70e7b17f6bcc64eb92a544867d5d4fe1f0076719142fdf62b96cfd44 +SIZE (asdf_standard-1.0.3.tar.gz) = 113484 diff --git a/science/py-asdf-standard/files/setup.py b/science/py-asdf-standard/files/setup.py new file mode 100644 index 000000000000..f05bb19c8068 --- /dev/null +++ b/science/py-asdf-standard/files/setup.py @@ -0,0 +1,48 @@ +#!/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_standard'] + +package_data = \ +{'': ['*']} + +package_dir = \ +{'': 'src'} + +extras_require = \ +{':python_version<"3.9"': ['importlib_resources >= 3'], + 'docs': ['toml', + 'sphinx', + 'sphinx-asdf >= 0.1.3', + 'sphinx-astropy', + 'graphviz', + 'matplotlib', + 'docutils', + 'sphinx-rtd-theme'], + 'test': ['pytest', + 'pyyaml', + 'asdf >= 2.8.0', + 'astropy >= 5.0.4', + 'gwcs', + 'packaging>=16.0']} + +entry_points = \ +{'asdf.resource_mappings': ['asdf_standard = ' + 'asdf_standard.integration:get_resource_mappings']} + +setup(name='asdf_standard', + version='%%PORTVERSION%%', + description='The ASDF Standard schemas', + author=None, + author_email='The ASDF Developers <help@stsci.edu>', + url=None, + packages=packages, + package_data=package_data, + package_dir=package_dir, + extras_require=extras_require, + entry_points=entry_points, + python_requires='>=3.8', + )