diff --git a/devel/py-pint/Makefile b/devel/py-pint/Makefile index fdb19e5c452ed..822053959fb4f 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 3fa15b17d1dac..06edb3354a1d8 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 0000000000000..87df99f6402c5 --- /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"} + ]