diff --git a/devel/py-datashape/Makefile b/devel/py-datashape/Makefile index adc3f3fcb8d0..f0acc4a36206 100644 --- a/devel/py-datashape/Makefile +++ b/devel/py-datashape/Makefile @@ -1,25 +1,26 @@ PORTNAME= datashape PORTVERSION= 0.5.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= olivier@FreeBSD.org COMMENT= Data description language WWW= https://datashape.readthedocs.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}multipledispatch>=0.4.7:devel/py-multipledispatch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR} USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes .include diff --git a/devel/py-datashape/files/patch-versioneer.py b/devel/py-datashape/files/patch-versioneer.py new file mode 100644 index 000000000000..9672dc2e4026 --- /dev/null +++ b/devel/py-datashape/files/patch-versioneer.py @@ -0,0 +1,14 @@ +--- versioneer.py.orig 2026-06-26 10:30:20 UTC ++++ versioneer.py +@@ -396,9 +396,9 @@ def get_config_from_root(root): + # configparser.NoOptionError (if it lacks "VCS="). See the docstring at + # the top of versioneer.py for instructions on writing your setup.cfg . + setup_cfg = os.path.join(root, "setup.cfg") +- parser = configparser.SafeConfigParser() ++ parser = configparser.ConfigParser() + with open(setup_cfg, "r") as f: +- parser.readfp(f) ++ parser.read_file(f) + VCS = parser.get("versioneer", "VCS") # mandatory + + def get(parser, name):