aboutsummaryrefslogtreecommitdiff
path: root/math/py-iohexperimenter/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-01-30 12:25:01 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-01-30 12:25:01 +0000
commit2b3acf62a460931d6c772854892061ae337bccbc (patch)
tree0cbae9f85267d9ffbaef9dfa2dfc6541f87601a6 /math/py-iohexperimenter/Makefile
parentd93a60ad470e695984fb7fcd15caa04aba81d117 (diff)
downloadports-2b3acf62a460931d6c772854892061ae337bccbc.tar.gz
ports-2b3acf62a460931d6c772854892061ae337bccbc.zip
Update to 0.2.9
Notes
Notes: svn path=/head/; revision=563336
Diffstat (limited to 'math/py-iohexperimenter/Makefile')
-rw-r--r--math/py-iohexperimenter/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/math/py-iohexperimenter/Makefile b/math/py-iohexperimenter/Makefile
index 0d4506283c54..f2e4f0ab9184 100644
--- a/math/py-iohexperimenter/Makefile
+++ b/math/py-iohexperimenter/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= iohexperimenter
-PORTVERSION= 0.2.8.7
+PORTVERSION= 0.2.9
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,7 @@ COMMENT= Experimenter for Iterative Optimization Heuristic
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-RUN_DEPENDS= ${PYNUMPY}
+xRUN_DEPENDS= ${PYNUMPY}
USES= compiler:c++14-lang dos2unix python:3.6+
USE_PYTHON= autoplist concurrent distutils
@@ -23,4 +23,10 @@ USE_CXXSTD= c++14
WRKSRC= ${WRKDIR}/IOHexperimenter-${PORTVERSION}
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/IOHexperimenter/_IOHprofiler*.so
+
.include <bsd.port.mk>