Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2024 07:22:30 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 087879d1357f - main - math/py-uncertainties: update 3.1.7 =?utf-8?Q?=E2=86=92?= 3.2.1
Message-ID:  <202406220722.45M7MUVV071939@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=087879d1357feacc28ab72d739aacf5848fbf167

commit 087879d1357feacc28ab72d739aacf5848fbf167
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-06-22 07:19:23 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-06-22 07:22:24 +0000

    math/py-uncertainties: update 3.1.7 → 3.2.1
    
    Reported by:    portscout
---
 math/py-uncertainties/Makefile                   | 13 ++++++-------
 math/py-uncertainties/distinfo                   |  6 +++---
 math/py-uncertainties/files/patch-pyproject.toml |  9 +++++++++
 3 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/math/py-uncertainties/Makefile b/math/py-uncertainties/Makefile
index 1d85910f0866..a2bc33ed46ae 100644
--- a/math/py-uncertainties/Makefile
+++ b/math/py-uncertainties/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	uncertainties
-DISTVERSION=	3.1.7
-PORTREVISION=	1
+DISTVERSION=	3.2.1
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,19 +11,19 @@ WWW=		https://uncertainties-python-package.readthedocs.io/en/latest/
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR}
 TEST_DEPENDS=	${PYNUMPY} \
-		${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	pep517 autoplist pytest
 
 NO_ARCH=	yes
 
 TEST_ENV=      ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
-do-test:
-	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER} -v
-
 .include <bsd.port.mk>
diff --git a/math/py-uncertainties/distinfo b/math/py-uncertainties/distinfo
index 2c3084ef007e..818644a57a06 100644
--- a/math/py-uncertainties/distinfo
+++ b/math/py-uncertainties/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1655753503
-SHA256 (uncertainties-3.1.7.tar.gz) = 80111e0839f239c5b233cb4772017b483a0b7a1573a581b92ab7746a35e6faab
-SIZE (uncertainties-3.1.7.tar.gz) = 158727
+TIMESTAMP = 1719035738
+SHA256 (uncertainties-3.2.1.tar.gz) = b05417b58bdef236c20e711fb2fee18e4db7348a92edcec01318b32aab34925e
+SIZE (uncertainties-3.2.1.tar.gz) = 143154
diff --git a/math/py-uncertainties/files/patch-pyproject.toml b/math/py-uncertainties/files/patch-pyproject.toml
new file mode 100644
index 000000000000..df54c808d598
--- /dev/null
+++ b/math/py-uncertainties/files/patch-pyproject.toml
@@ -0,0 +1,9 @@
+--- pyproject.toml.orig	2024-06-22 05:57:17 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=64", "setuptools-scm>=8"]
++requires = ["setuptools", "setuptools-scm>=8"]
+ build-backend = "setuptools.build_meta"
+ 
+ [project]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406220722.45M7MUVV071939>