aboutsummaryrefslogtreecommitdiff
path: root/math/py-Py-BOBYQA/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-Py-BOBYQA/Makefile')
-rw-r--r--math/py-Py-BOBYQA/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/math/py-Py-BOBYQA/Makefile b/math/py-Py-BOBYQA/Makefile
index 2b2472244461..e8dab3d67384 100644
--- a/math/py-Py-BOBYQA/Makefile
+++ b/math/py-Py-BOBYQA/Makefile
@@ -1,9 +1,9 @@
PORTNAME= Py-BOBYQA
-DISTVERSION= 1.4
-PORTREVISION= 1
+DISTVERSION= 1.5.0
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/:tl}-${PORTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Flexible derivative-free solver for general objective minimization
@@ -11,13 +11,15 @@ WWW= https://numericalalgorithmsgroup.github.io/pybobyqa/build/html/index.html
LICENSE= GPLv3
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}pandas>=0.17:math/py-pandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>=0.17:science/py-scipy@${PY_FLAVOR}
# extras: trustregion
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= pep517 autoplist
NO_ARCH= yes