git: 1af8a2e0f45a - main - math/py-Diofant: Update 0.12.0 -> 0.13.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 23 Dec 2021 21:17:49 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1af8a2e0f45a53f5e58741c9112c4b7afeca7f26

commit 1af8a2e0f45a53f5e58741c9112c4b7afeca7f26
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-12-23 21:12:37 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-12-23 21:17:36 +0000

    math/py-Diofant: Update 0.12.0 -> 0.13.0
    
    Reported by:    portscout
---
 math/py-Diofant/Makefile              | 22 ++++++++++++++--------
 math/py-Diofant/distinfo              |  6 +++---
 math/py-Diofant/files/patch-setup.cfg | 10 ----------
 3 files changed, 17 insertions(+), 21 deletions(-)

diff --git a/math/py-Diofant/Makefile b/math/py-Diofant/Makefile
index 447754346f52..8b634639abe0 100644
--- a/math/py-Diofant/Makefile
+++ b/math/py-Diofant/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	Diofant
-DISTVERSION=	0.12.0
+DISTVERSION=	0.13.0
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,21 +11,27 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.rst
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}isort>0:devel/py-isort@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
 # RUN_DEPENDS includes extra_reqs for convenience
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cachetools>0:devel/py-cachetools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}gmpy2>=2.0.8:math/py-gmpy2@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}matplotlib>2.1.1:math/py-matplotlib@${PY_FLAVOR} \
+RUN_DEPENDS=	\
+		${PYTHON_PKGNAMEPREFIX}gmpy2>=2.1.0b5:math/py-gmpy2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}matplotlib>=3.3:math/py-matplotlib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mpmath>=0.19:math/py-mpmath@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyparsing>2.1.2:devel/py-pyparsing@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}strategies>=0.2.3:devel/py-strategies@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=1.6:science/py-scipy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}theano>=0.9.0:math/py-theano@${PY_FLAVOR} \
 		${PYNUMPY}
 
 USES=		python:3.7+
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	distutils cython autoplist
 NO_ARCH=	yes
 
+pre-configure:
+	@( \
+		${ECHO} "from setuptools import setup" && \
+		${ECHO} "setup()" \
+	) > ${WRKSRC}/setup.py
+
+
 .include <bsd.port.mk>
diff --git a/math/py-Diofant/distinfo b/math/py-Diofant/distinfo
index a1fcbdab7fb1..8cedb2690716 100644
--- a/math/py-Diofant/distinfo
+++ b/math/py-Diofant/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1611087391
-SHA256 (Diofant-0.12.0.tar.gz) = 1b40934a80d276e896c65ae4e578e75f995d359f5fef2c5a25e50f3b77b3260a
-SIZE (Diofant-0.12.0.tar.gz) = 2460255
+TIMESTAMP = 1640290879
+SHA256 (Diofant-0.13.0.tar.gz) = bac9e086a7156b20f18e3291d6db34e305338039a3c782c585302d377b74dd3c
+SIZE (Diofant-0.13.0.tar.gz) = 2488343
diff --git a/math/py-Diofant/files/patch-setup.cfg b/math/py-Diofant/files/patch-setup.cfg
deleted file mode 100644
index 7a8c9c0092c2..000000000000
--- a/math/py-Diofant/files/patch-setup.cfg
+++ /dev/null
@@ -1,10 +0,0 @@
---- setup.cfg.orig	2021-01-18 13:49:58 UTC
-+++ setup.cfg
-@@ -36,7 +36,6 @@ packages = find:
- python_requires = >=3.7
- setup_requires = setuptools>=36.7.0
- 	setuptools_scm
--	pip>=9.0.1
- 	isort
- install_requires = mpmath>=0.19
- tests_require = diofant[develop]