diff --git a/graphics/py-cartopy/Makefile b/graphics/py-cartopy/Makefile index 188c389872d7..e5607efb13a3 100644 --- a/graphics/py-cartopy/Makefile +++ b/graphics/py-cartopy/Makefile @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING.LESSER BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=40.6.0:devel/py-setuptools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.0.0:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=7.0.0:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.4:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.21,1:math/py-numpy@${PY_FLAVOR} \ diff --git a/graphics/py-cartopy/files/patch-pyproject.toml b/graphics/py-cartopy/files/patch-pyproject.toml index 6bd998ddad34..6449790c2c1b 100644 --- a/graphics/py-cartopy/files/patch-pyproject.toml +++ b/graphics/py-cartopy/files/patch-pyproject.toml @@ -5,9 +5,8 @@ "setuptools >= 40.6.0", "Cython >= 0.29.24", - "oldest-supported-numpy", -- "setuptools_scm >= 7.0.0", + "numpy", -+ "setuptools_scm >= 6.0.0", + "setuptools_scm >= 7.0.0", ] build-backend = "setuptools.build_meta"