Date: Mon, 5 Jun 2023 18:52:52 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: 66bd7e6a60e9 - main - devel/py-pint: Update to 0.22 Message-ID: <202306051852.355Iqq84054919@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=66bd7e6a60e9aa801d7ca73f1e3987141f45f63f commit 66bd7e6a60e9aa801d7ca73f1e3987141f45f63f Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-06-05 18:39:33 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-06-05 18:47:13 +0000 devel/py-pint: Update to 0.22 - Update WWW - Convert to USE_PYTHON=pep517 Changes: https://github.com/hgrecco/pint/blob/master/CHANGES --- devel/py-pint/Makefile | 16 +++++++++------- devel/py-pint/distinfo | 6 +++--- devel/py-pint/files/patch-pyproject.toml | 9 +++++++++ 3 files changed, 21 insertions(+), 10 deletions(-) diff --git a/devel/py-pint/Makefile b/devel/py-pint/Makefile index fdb19e5c452e..822053959fb4 100644 --- a/devel/py-pint/Makefile +++ b/devel/py-pint/Makefile @@ -1,5 +1,5 @@ PORTNAME= pint -PORTVERSION= 0.20.1 +PORTVERSION= 0.22 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -7,20 +7,22 @@ DISTNAME= Pint-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Physical quantities module -WWW= https://github.com/hgrecco/pint +WWW= https://pint.readthedocs.io/en/stable/ \ + https://github.com/hgrecco/pint LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.3:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.8+ shebangfix -USE_PYTHON= autoplist concurrent distutils +USES= python:3.9+ +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -SHEBANG_FILES= pint/pint-convert - OPTIONS_DEFINE= NUMPY UNCERTAINTIES NUMPY_DESC= Automatic conversion of units UNCERTAINTIES_DESC= Handle quantities with uncertainties diff --git a/devel/py-pint/distinfo b/devel/py-pint/distinfo index 3fa15b17d1da..06edb3354a1d 100644 --- a/devel/py-pint/distinfo +++ b/devel/py-pint/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1669057805 -SHA256 (Pint-0.20.1.tar.gz) = 387cf04078dc7dfe4a708033baad54ab61d82ab06c4ee3d4922b1e45d5626067 -SIZE (Pint-0.20.1.tar.gz) = 316180 +TIMESTAMP = 1685792270 +SHA256 (Pint-0.22.tar.gz) = 2d139f6abbcf3016cad7d3cec05707fe908ac4f99cf59aedfd6ee667b7a64433 +SIZE (Pint-0.22.tar.gz) = 342281 diff --git a/devel/py-pint/files/patch-pyproject.toml b/devel/py-pint/files/patch-pyproject.toml new file mode 100644 index 000000000000..87df99f6402c --- /dev/null +++ b/devel/py-pint/files/patch-pyproject.toml @@ -0,0 +1,9 @@ +--- pyproject.toml.orig 2023-05-25 16:42:53 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [project] +-name = "Pint" ++name = "pint" + authors = [ + {name="Hernan E. Grecco", email="hernan.grecco@gmail.com"} + ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306051852.355Iqq84054919>