science/py-asdf-transform-schemas: Update to 0.3.0
Changes: https://github.com/asdf-format/asdf-transform-schemas/releases
This commit is contained in:
parent
0797aee0d3
commit
9b383e5523
3 changed files with 62 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= asdf-transform-schemas
|
||||
PORTVERSION= 0.2.2
|
||||
PORTVERSION= 0.3.0
|
||||
CATEGORIES= science python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -11,7 +11,6 @@ COMMENT= ASDF schemas for transforms
|
|||
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}
|
||||
|
||||
USES= python:3.8+
|
||||
|
@ -19,4 +18,13 @@ USE_PYTHON= autoplist concurrent distutils
|
|||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.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>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1646057860
|
||||
SHA256 (asdf_transform_schemas-0.2.2.tar.gz) = f71a9309ed3ebd09b1937ae857c94cec92887870440eb3e9868bbbed72656b15
|
||||
SIZE (asdf_transform_schemas-0.2.2.tar.gz) = 50356
|
||||
TIMESTAMP = 1661599315
|
||||
SHA256 (asdf_transform_schemas-0.3.0.tar.gz) = 0cf2ff7b22ccb408fe58ddd9b2441a59ba73fe323e416d59b9e0a4728a7d2dd6
|
||||
SIZE (asdf_transform_schemas-0.3.0.tar.gz) = 96822
|
||||
|
|
48
science/py-asdf-transform-schemas/files/setup.py
Normal file
48
science/py-asdf-transform-schemas/files/setup.py
Normal file
|
@ -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_transform_schemas']
|
||||
|
||||
package_data = \
|
||||
{'': ['*']}
|
||||
|
||||
package_dir = \
|
||||
{'': 'src'}
|
||||
|
||||
install_requires = \
|
||||
['asdf-standard >= 1.0.1']
|
||||
|
||||
extras_require = \
|
||||
{':python_version<"3.9"': ['importlib_resources >= 3'],
|
||||
'docs': ['toml',
|
||||
'sphinx',
|
||||
'sphinx-asdf >= 0.1.3',
|
||||
'sphinx-astropy',
|
||||
'astropy >= 5.0.4',
|
||||
'graphviz',
|
||||
'matplotlib',
|
||||
'docutils',
|
||||
'sphinx-rtd-theme'],
|
||||
'test': ['asdf >= 2.8.0', 'asdf-astropy', 'scipy', 'pytest']}
|
||||
|
||||
entry_points = \
|
||||
{'asdf.resource_mappings': ['asdf_transform_schemas = '
|
||||
'asdf_transform_schemas.integration:get_resource_mappings']}
|
||||
|
||||
setup(name='asdf_transform_schemas',
|
||||
version='%%PORTVERSION%%',
|
||||
description='ASDF schemas for transforms',
|
||||
author=None,
|
||||
author_email='The ASDF Developers <help@stsci.edu>',
|
||||
url=None,
|
||||
packages=packages,
|
||||
package_data=package_data,
|
||||
package_dir=package_dir,
|
||||
install_requires=install_requires,
|
||||
extras_require=extras_require,
|
||||
entry_points=entry_points,
|
||||
python_requires='>=3.8',
|
||||
)
|
Loading…
Reference in a new issue