science/py-pygmo2: Update 2.15.0-139 -> 2.16.1

This commit is contained in:
Yuri Victorovich 2021-02-28 10:50:34 +00:00
parent c72969bbac
commit 89a772f6fb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566755
2 changed files with 17 additions and 9 deletions

View File

@ -2,10 +2,8 @@
PORTNAME= pygmo2
DISTVERSIONPREFIX= v
DISTVERSION= 2.15.0-139
DISTVERSIONSUFFIX= -g15cf30d
DISTVERSION= 2.16.1
CATEGORIES= science graphics
#MASTER_SITES= CHEESESHOP # https://github.com/esa/pygmo2/issues/53
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
@ -16,15 +14,25 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= pybind11>0:devel/pybind11
LIB_DEPENDS= libpagmo.so:science/pagmo2 \
libboost_serialization.so:devel/boost-libs
libboost_serialization.so:devel/boost-libs \
libnlopt.so:math/nlopt
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}cloudpickle>0:devel/py-cloudpickle@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR}
USES= cmake compiler:c++17-lang python:3.7+
USE_PYTHON= flavors
USES= cmake compiler:c++11-lang python
USE_GITHUB= yes
GH_ACCOUNT= esa
GH_PROJECT= pygmo2
CMAKE_ON= PYGMO_ENABLE_IPO
CXXFLAGS+= -I${LOCALBASE}/include/coin # see https://github.com/esa/pygmo2/issues/58
do-test: # requires to have the package installed; test taken from azure-pipelines.yml
@${PYTHON_CMD} -c "import pygmo; pygmo.test.run_test_suite(1); pygmo.mp_island.shutdown_pool(); pygmo.mp_bfe.shutdown_pool()"
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1600543398
SHA256 (esa-pygmo2-v2.15.0-139-g15cf30d_GH0.tar.gz) = 330b70108f6999f2fa82841830ee5af7d01bdcd8c2baa4d3673d13231b426b78
SIZE (esa-pygmo2-v2.15.0-139-g15cf30d_GH0.tar.gz) = 3027422
TIMESTAMP = 1608698367
SHA256 (esa-pygmo2-v2.16.1_GH0.tar.gz) = 54d4fa99e4bff539fca67dfcdc909499fd3f1a3186f7c7fc8200f19512954166
SIZE (esa-pygmo2-v2.16.1_GH0.tar.gz) = 3027274