git: de9b5aa9d1d7 - main - finance/py-quantecon: Update to 0.5.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Apr 2022 00:02:05 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=de9b5aa9d1d72878ae3437efbb7ef47289f1ca3f commit de9b5aa9d1d72878ae3437efbb7ef47289f1ca3f Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-04-17 23:44:38 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-04-17 23:58:20 +0000 finance/py-quantecon: Update to 0.5.3 - Update LICENSE_FILE Changes: https://github.com/QuantEcon/QuantEcon.py/releases --- finance/py-quantecon/Makefile | 9 ++++--- finance/py-quantecon/distinfo | 6 ++--- finance/py-quantecon/files/setup.py | 47 +++++++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 6 deletions(-) diff --git a/finance/py-quantecon/Makefile b/finance/py-quantecon/Makefile index 1f8d811cd171..fad11f0bb803 100644 --- a/finance/py-quantecon/Makefile +++ b/finance/py-quantecon/Makefile @@ -1,7 +1,7 @@ # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> PORTNAME= quantecon -PORTVERSION= 0.5.2 +PORTVERSION= 0.5.3 CATEGORIES= finance python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,9 +10,9 @@ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Support all forms of quantitative economic modelling LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/LICENSE.txt +LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numba>=0.38:devel/py-numba@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numba>=0:devel/py-numba@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.0.0:science/py-scipy@${PY_FLAVOR} \ @@ -23,4 +23,7 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + .include <bsd.port.mk> diff --git a/finance/py-quantecon/distinfo b/finance/py-quantecon/distinfo index 6f38fc998a7c..1578402b3321 100644 --- a/finance/py-quantecon/distinfo +++ b/finance/py-quantecon/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1637519892 -SHA256 (quantecon-0.5.2.tar.gz) = f948de407150c859e29645a83140a1cbdc5d68f9da11e37ec2fb3516e394c027 -SIZE (quantecon-0.5.2.tar.gz) = 272317 +TIMESTAMP = 1650228792 +SHA256 (quantecon-0.5.3.tar.gz) = ff9f4378069ff5713d3d8ce8efaa123b24910cb1a2eb69b4bba4735ff08f2768 +SIZE (quantecon-0.5.3.tar.gz) = 151468 diff --git a/finance/py-quantecon/files/setup.py b/finance/py-quantecon/files/setup.py new file mode 100644 index 000000000000..e78ed409c6c1 --- /dev/null +++ b/finance/py-quantecon/files/setup.py @@ -0,0 +1,47 @@ +#!/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', 'requests', 'scipy>=1.0.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', + )