diff --git a/finance/py-ffn/Makefile b/finance/py-ffn/Makefile index 90887c4beeee..0e7de08710b6 100644 --- a/finance/py-ffn/Makefile +++ b/finance/py-ffn/Makefile @@ -1,41 +1,40 @@ PORTNAME= ffn DISTVERSIONPREFIX= v -DISTVERSION= 1.1.3 -PORTREVISION= 1 +DISTVERSION= 1.1.5 CATEGORIES= finance python #MASTER_SITES= PYPI # no tests PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Financial functions for Python WWW= http://pmorissette.github.io/ffn/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}numpy1>=1.16:math/py-numpy1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}decorator>=5.0.7:devel/py-decorator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.15:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=1:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy1>=1.16:math/py-numpy1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas-datareader>=0.2:math/py-pandas-datareader@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>=0.19:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.15:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.15:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tabulate>=0.7.5:devel/py-tabulate@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yfinance>=0.2:finance/py-yfinance@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}seaborn>=0:math/py-seaborn@${PY_FLAVOR} # optional dependency USES= python USE_PYTHON= pep517 autoplist pytest USE_GITHUB= yes GH_ACCOUNT= pmorissette NO_ARCH= yes -# tests as of 1.1.2: 54 passed, 6 warnings in 495.57s (0:08:15) +# tests as of 1.1.5: 51 passed in 6.15s .include diff --git a/finance/py-ffn/distinfo b/finance/py-ffn/distinfo index bd70ee1f7747..ee588f76d5a9 100644 --- a/finance/py-ffn/distinfo +++ b/finance/py-ffn/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1771830839 -SHA256 (pmorissette-ffn-v1.1.3_GH0.tar.gz) = d2300057435ae74cb2d3f27ba5072b9d708ba36d68572080c41dc53fb08d8946 -SIZE (pmorissette-ffn-v1.1.3_GH0.tar.gz) = 2444213 +TIMESTAMP = 1775811269 +SHA256 (pmorissette-ffn-v1.1.5_GH0.tar.gz) = 70e19047d7965f0e4fdc5dc98fc5dfd22596d97c75ebd318924694d1ad39c57b +SIZE (pmorissette-ffn-v1.1.5_GH0.tar.gz) = 2444706 diff --git a/finance/py-ffn/files/patch-pyproject.toml b/finance/py-ffn/files/patch-pyproject.toml index df4b90056e1f..0ffcdb39eb76 100644 --- a/finance/py-ffn/files/patch-pyproject.toml +++ b/finance/py-ffn/files/patch-pyproject.toml @@ -1,10 +1,17 @@ --- pyproject.toml.orig 2024-06-23 07:27:54 UTC +++ pyproject.toml -@@ -1,6 +1,6 @@ requires = [ +@@ -1,6 +1,6 @@ [build-system] requires = [ - "oldest-supported-numpy", + "numpy", "setuptools", "wheel", ] +@@ -73,3 +73,6 @@ Homepage = "http://pmorissette.github.io/ffn/" + + [tool.ruff.lint.per-file-ignores] + "__init__.py" = ["F401", "F403"] ++ ++[tool.pytest.ini_options] ++testpaths = ["tests"]