diff --git a/misc/py-uhi/Makefile b/misc/py-uhi/Makefile index e264d77e5a07..99389f08a274 100644 --- a/misc/py-uhi/Makefile +++ b/misc/py-uhi/Makefile @@ -1,35 +1,35 @@ PORTNAME= uhi -DISTVERSION= 0.5.0 -PORTREVISION= 1 +DISTVERSION= 1.1.1 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Universal Histogram Interface -WWW= https://uhi.readthedocs.io/en/latest/ +WWW= https://uhi.readthedocs.io/en/latest/ \ + https://github.com/Scikit-HEP/uhi LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy1>=1.16:math/py-numpy1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fastjsonschema>0:devel/py-fastjsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy1>=1.16:math/py-numpy1@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boost-histogram>=1.0:misc/py-boost-histogram@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boost-histogram>=1.0:misc/py-boost-histogram@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dependency-groups>0:devel/py-dependency-groups@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fastjsonschema>0:devel/py-fastjsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hist>0:misc/py-hist@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} -USES= compiler:c++14-lang python +USES= python USE_PYTHON= pep517 autoplist pytest NO_ARCH= yes TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -pre-configure: # uhi is officially built with "build" (https://github.com/pypa/build), but this is easily circumvented with this simple setup.py - @( \ - ${ECHO} "from setuptools import setup" && \ - ${ECHO} "setup()" \ - ) > ${WRKSRC}/setup.py +# tests as of 1.1.1: fail to run, see https://github.com/scikit-hep/uhi/issues/235 .include diff --git a/misc/py-uhi/distinfo b/misc/py-uhi/distinfo index 8bb0dd8277d7..3a2b9032741e 100644 --- a/misc/py-uhi/distinfo +++ b/misc/py-uhi/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1730971332 -SHA256 (uhi-0.5.0.tar.gz) = 9559bbf2f38f18a2fc1d8f73139396068f88f898d6a9afc833207ec0fd59a31c -SIZE (uhi-0.5.0.tar.gz) = 25769 +TIMESTAMP = 1777313792 +SHA256 (uhi-1.1.1.tar.gz) = d39c4dc162d691bcb443529a9cf5fe99b11e14a387cdf8284154cc25870d2ff0 +SIZE (uhi-1.1.1.tar.gz) = 49651