diff --git a/math/py-pandas-datareader/Makefile b/math/py-pandas-datareader/Makefile index 59a1ef3ae54a..e78966cabbdf 100644 --- a/math/py-pandas-datareader/Makefile +++ b/math/py-pandas-datareader/Makefile @@ -1,31 +1,31 @@ PORTNAME= pandas-datareader -DISTVERSION= 0.9.0 -PORTREVISION= 4 +DISTVERSION= 0.11.1 CATEGORIES= math finance python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:C/-/_/}-${DISTVERSION} MAINTAINER= FreeBSD@Shaneware.biz COMMENT= Data readers previously found in Pandas WWW= https://github.com/pydata/pandas-datareader LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pandas>0.19.2:math/py-pandas@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests>=2.3.0:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests-file>0:www/py-requests-file@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests-ftp>0:ftp/py-requests-ftp@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wrapt>0:devel/py-wrapt@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pandas>=2.1.4:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.19.0:www/py-requests@${PY_FLAVOR} -USES= python -USE_PYTHON= distutils autoplist +USES= dos2unix python +DOS2UNIX_FILES= pyproject.toml +USE_PYTHON= autoplist pep517 pytest NO_ARCH= yes do-test: # some testcases are known to fail: https://github.com/pydata/pandas-datareader/issues/500 @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest pandas_datareader/tests .include diff --git a/math/py-pandas-datareader/distinfo b/math/py-pandas-datareader/distinfo index 699e3abc724d..25934e6ca4c7 100644 --- a/math/py-pandas-datareader/distinfo +++ b/math/py-pandas-datareader/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1608484476 -SHA256 (pandas-datareader-0.9.0.tar.gz) = b2cbc1e16a6ab9ff1ed167ae2ea92839beab9a20823bd00bdfb78155fa04f891 -SIZE (pandas-datareader-0.9.0.tar.gz) = 90193 +TIMESTAMP = 1782605628 +SHA256 (pandas_datareader-0.11.1.tar.gz) = e1eadb6d2ccaa4b7a876a1c81b6ff0307fa7a08b56f7799862a50207c2e65a05 +SIZE (pandas_datareader-0.11.1.tar.gz) = 206210 diff --git a/math/py-pandas-datareader/files/patch-pyproject.toml b/math/py-pandas-datareader/files/patch-pyproject.toml new file mode 100644 index 000000000000..60c7a2784191 --- /dev/null +++ b/math/py-pandas-datareader/files/patch-pyproject.toml @@ -0,0 +1,28 @@ +--- pyproject.toml.orig 2026-06-28 00:27:02 UTC ++++ pyproject.toml +@@ -1,13 +1,12 @@ + [build-system] +-requires = ["setuptools>=64", "setuptools_scm>=8,<9", "wheel"] ++requires = ["setuptools>=63", "setuptools_scm>=8", "wheel"] + build-backend = "setuptools.build_meta" + + [project] + name = "pandas-datareader" + dynamic = ["version", "dependencies", "readme"] + requires-python = ">=3.11" +-license = "BSD-3-Clause" +-license-files = [ "LICENSE.md" ] ++license = { text = "BSD-3-Clause" } + description = "Pandas-compatible data readers. Formerly a component of pandas." + authors = [ + {name = "The PyData Development Team", email = "pydata@googlegroups.com"}, +@@ -40,6 +39,9 @@ readme = {file = ["README.md"], content-type = "text/m + [tool.setuptools.dynamic] + dependencies = {file = ["requirements.txt"]} + readme = {file = ["README.md"], content-type = "text/markdown"} ++ ++[tool.setuptools.packages.find] ++exclude = ["docs", "docs.*", "tests", "tests.*"] + + [tool.setuptools_scm] + version_file = "pandas_datareader/_version.py"