mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
finance/py-quantecon: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for dependency and package change
This commit is contained in:
parent
f4720fee2c
commit
c2a04964fc
@ -1,5 +1,6 @@
|
||||
PORTNAME= quantecon
|
||||
PORTVERSION= 0.6.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= finance python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -11,6 +12,7 @@ WWW= https://github.com/QuantEcon/QuantEcon.py
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.5<4:devel/py-flit-core@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numba>=0:devel/py-numba@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}numpy>=1.17.0,1:math/py-numpy@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
|
||||
@ -18,11 +20,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numba>=0:devel/py-numba@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}sympy>=0:math/py-sympy@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.7+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
post-patch:
|
||||
@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,47 +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 = \
|
||||
['quantecon',
|
||||
'quantecon.game_theory',
|
||||
'quantecon.game_theory.game_generators',
|
||||
'quantecon.game_theory.game_generators.tests',
|
||||
'quantecon.game_theory.tests',
|
||||
'quantecon.markov',
|
||||
'quantecon.markov.tests',
|
||||
'quantecon.optimize',
|
||||
'quantecon.optimize.tests',
|
||||
'quantecon.random',
|
||||
'quantecon.random.tests',
|
||||
'quantecon.util']
|
||||
|
||||
package_data = \
|
||||
{'': ['*']}
|
||||
|
||||
install_requires = \
|
||||
['numba', 'numpy>=1.17.0', 'requests', 'scipy>=1.5.0', 'sympy']
|
||||
|
||||
extras_require = \
|
||||
{'testing': ['pytest',
|
||||
'coverage',
|
||||
'flake8',
|
||||
'numpy',
|
||||
'scipy',
|
||||
'pandas',
|
||||
'numba',
|
||||
'sympy']}
|
||||
|
||||
setup(name='quantecon',
|
||||
version='%%PORTVERSION%%',
|
||||
description='Import the main names to top level.',
|
||||
author=None,
|
||||
author_email='QuantEcon Project <admin@quantecon.org>',
|
||||
url=None,
|
||||
packages=packages,
|
||||
package_data=package_data,
|
||||
install_requires=install_requires,
|
||||
extras_require=extras_require,
|
||||
python_requires='>=3.7',
|
||||
)
|
Loading…
Reference in New Issue
Block a user