diff --git a/misc/py-torchmetrics/Makefile b/misc/py-torchmetrics/Makefile index 072fb07eb2b4..36099319d8d8 100644 --- a/misc/py-torchmetrics/Makefile +++ b/misc/py-torchmetrics/Makefile @@ -1,30 +1,35 @@ PORTNAME= torchmetrics -DISTVERSION= 0.11.4 +DISTVERSIONPREFIX= v +DISTVERSION= 1.6.0 CATEGORIES= misc python # machine-learning -MASTER_SITES= PYPI +#MASTER_SITES= PYPI # no tests PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= PyTorch native metrics -WWW= https://torchmetrics.readthedocs.io/en/stable/ +WWW= https://lightning.ai/docs/torchmetrics/stable/ \ + https://github.com/Lightning-AI/torchmetrics LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nltk>=3.6:textproc/py-nltk@${PY_FLAVOR} \ ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>17.1:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytorch>0:misc/py-pytorch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}regex>=2021.9.24:textproc/py-regex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.0.0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}torchvision>0:misc/py-torchvision@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>=4.41.0:misc/py-tqdm@${PY_FLAVOR} # some optional dependencies for some sections are missing BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} USES= python USE_PYTHON= distutils autoplist +USE_GITHUB= yes +GH_ACCOUNT= Lightning-AI + NO_ARCH= yes .include diff --git a/misc/py-torchmetrics/distinfo b/misc/py-torchmetrics/distinfo index 42fa25db6c86..87e5d3870a94 100644 --- a/misc/py-torchmetrics/distinfo +++ b/misc/py-torchmetrics/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1685432785 -SHA256 (torchmetrics-0.11.4.tar.gz) = 1fe45a14b44dd65d90199017dd5a4b5a128d56a8a311da7916c402c18c671494 -SIZE (torchmetrics-0.11.4.tar.gz) = 307144 +TIMESTAMP = 1734558567 +SHA256 (Lightning-AI-torchmetrics-v1.6.0_GH0.tar.gz) = 31fa875a2de6a188b4d8bf1a6825f160d4ecca0c98e00dfd62437f3b87d320e9 +SIZE (Lightning-AI-torchmetrics-v1.6.0_GH0.tar.gz) = 938806