Date: Fri, 30 Jun 2023 07:18:44 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a870edef75b3 - main - astro/py-metpy: Convert to USE_PYTHON=pep517 Message-ID: <202306300718.35U7Ii9b065414@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a870edef75b348be79114cbdbfe3f44f9abae6c6 commit a870edef75b348be79114cbdbfe3f44f9abae6c6 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-06-30 07:02:58 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-06-30 07:02:58 +0000 astro/py-metpy: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- astro/py-metpy/Makefile | 7 +++++-- astro/py-metpy/files/patch-pyproject.toml | 11 +++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/astro/py-metpy/Makefile b/astro/py-metpy/Makefile index 0e5619fe77ef..cdc1026d25b5 100644 --- a/astro/py-metpy/Makefile +++ b/astro/py-metpy/Makefile @@ -1,5 +1,6 @@ PORTNAME= metpy PORTVERSION= 1.5.0 +PORTREVISION= 1 CATEGORIES= astro python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,7 +13,9 @@ WWW= https://github.com/Unidata/MetPy LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.3.0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.18.0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>=1.0.0,1:math/py-pandas@${PY_FLAVOR} \ @@ -24,7 +27,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.3.0:math/py-matplotlib@${PY_FL ${PYTHON_PKGNAMEPREFIX}xarray>=0.18.0:devel/py-xarray@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/astro/py-metpy/files/patch-pyproject.toml b/astro/py-metpy/files/patch-pyproject.toml new file mode 100644 index 000000000000..e35218e8defb --- /dev/null +++ b/astro/py-metpy/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2023-05-16 23:38:03 UTC ++++ pyproject.toml +@@ -3,7 +3,7 @@ requires = ["setuptools>=42", "wheel", "setuptools_scm + build-backend = "setuptools.build_meta" + + [project] +-name = "MetPy" ++name = "metpy" + description = "Collection of tools for reading, visualizing and performing calculations with weather data." + readme = "README.md" + dynamic = ["version"]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306300718.35U7Ii9b065414>