Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jul 2023 01:24:40 GMT
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9b79dc44179c - main - math/py-mpmath: Update DEPENDS
Message-ID:  <202307010124.3611OetX077374@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=9b79dc44179c2e651a7599611a7a98e78b3a6a59

commit 9b79dc44179c2e651a7599611a7a98e78b3a6a59
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2023-07-01 01:23:58 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2023-07-01 01:23:58 +0000

    math/py-mpmath: Update DEPENDS
    
    Remove DEPRECATED mark
    Add do-test
---
 math/py-mpmath/Makefile | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/math/py-mpmath/Makefile b/math/py-mpmath/Makefile
index 5abffd78fe19..d02c7a44548b 100644
--- a/math/py-mpmath/Makefile
+++ b/math/py-mpmath/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mpmath
 PORTVERSION=	1.3.0
+PORTREVISION=	1
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,15 +11,16 @@ WWW=		https://www.mpmath.org/
 
 LICENSE=	BSD3CLAUSE
 
-DEPRECATED=	Depends on expired math/py-gmpy
-EXPIRATION_DATE=2023-09-30
-
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gmpy>=0:math/py-gmpy@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gmpy2>=2.1.0:math/py-gmpy2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gmpy2>=2.1.0:math/py-gmpy2@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	distutils autoplist pytest
 
 NO_ARCH=	yes
 
+do-test:
+	@cd ${WRKSRC}/mpmath/tests && ${PYTHON_CMD} runtests.py
+
 .include <bsd.port.mk>



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