science/py-asdf-transform-schemas: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for dependency and package change
This commit is contained in:
parent
e4da8123ac
commit
4ccdd04b88
2 changed files with 5 additions and 52 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= asdf-transform-schemas
|
||||
PORTVERSION= 0.3.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -12,10 +13,13 @@ WWW= https://github.com/asdf-format/asdf-transform-schemas
|
|||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asdf-standard>=1.0.1:science/py-asdf-standard@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.8+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
|
@ -25,7 +29,4 @@ 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 <bsd.port.post.mk>
|
||||
|
|
|
@ -1,48 +0,0 @@
|
|||
#!/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