Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2021 10:50:35 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r566755 - head/science/py-pygmo2
Message-ID:  <202102281050.11SAoZBk029770@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Feb 28 10:50:34 2021
New Revision: 566755
URL: https://svnweb.freebsd.org/changeset/ports/566755

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

Modified:
  head/science/py-pygmo2/Makefile
  head/science/py-pygmo2/distinfo

Modified: head/science/py-pygmo2/Makefile
==============================================================================
--- head/science/py-pygmo2/Makefile	Sun Feb 28 10:49:06 2021	(r566754)
+++ head/science/py-pygmo2/Makefile	Sun Feb 28 10:50:34 2021	(r566755)
@@ -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++11-lang python
+USES=		cmake compiler:c++17-lang python:3.7+
+USE_PYTHON=	flavors
+
 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>

Modified: head/science/py-pygmo2/distinfo
==============================================================================
--- head/science/py-pygmo2/distinfo	Sun Feb 28 10:49:06 2021	(r566754)
+++ head/science/py-pygmo2/distinfo	Sun Feb 28 10:50:34 2021	(r566755)
@@ -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



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