git: 5513d0d55f06 - main - science/fastjet: Update 3.3.4 -> 3.4.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 07 Jul 2022 07:30:46 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5513d0d55f066dfa23cf0c1372793f68f97892fa

commit 5513d0d55f066dfa23cf0c1372793f68f97892fa
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-07 07:30:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-07 07:30:44 +0000

    science/fastjet: Update 3.3.4 -> 3.4.0
---
 science/fastjet/Makefile  | 24 +++++++++++++++++++++---
 science/fastjet/distinfo  |  6 +++---
 science/fastjet/pkg-plist | 11 +++++++++++
 3 files changed, 35 insertions(+), 6 deletions(-)

diff --git a/science/fastjet/Makefile b/science/fastjet/Makefile
index c78cee6300a0..35b2ce9e240c 100644
--- a/science/fastjet/Makefile
+++ b/science/fastjet/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	fastjet
-DISTVERSION=	3.3.4
-PORTREVISION=	1
+DISTVERSION=	3.4.0
 CATEGORIES=	science
 MASTER_SITES=	http://fastjet.fr/repo/
 
@@ -13,15 +12,34 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 RUN_DEPENDS=	bash:shells/bash
 
 USES=		fortran gmake libtool shebangfix
+USE_LDCONFIG=	yes
+
 SHEBANG_FILES=	fastjet-config.in
+
 GNU_CONFIGURE=	yes
-USE_LDCONFIG=	yes
 
 CONFIGURE_ARGS=	--enable-allplugins
 
 LDFLAGS+=	-lexecinfo
 
+OPTIONS_DEFINE=			CGAL PYTHON
+OPTIONS_DEFAULT=		PYTHON
+OPTIONS_SUB=			yes
+
+CGAL_DESC=			Build with CGAL computational geometry library
+CGAL_CONFIGURE_ENABLE=		cgal-header-only
+CGAL_BUILD_DEPENDS=		cgal>0:math/cgal
+CGAL_BROKEN=			cgal-header-only doesn't seem to do anything, upstream was notified via bug reporting e-mail address on 2022-07-08
+
+PYTHON_USES=			python
+PYTHON_CONFIGURE_ENABLE=	pyext swig
+PYTHON_CONFIGURE_ENV=		PYTHON_CONFIG=${PYTHON_CMD}-config
+PYTHON_BUILD_DEPENDS=		swig:devel/swig
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so*
 
+post-install-PYTHON-on:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_fastjet.so.0.0.0
+
 .include <bsd.port.mk>
diff --git a/science/fastjet/distinfo b/science/fastjet/distinfo
index 769cdd21a7c7..63499ac4e2cd 100644
--- a/science/fastjet/distinfo
+++ b/science/fastjet/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1590510554
-SHA256 (fastjet-3.3.4.tar.gz) = 432b51401e1335697c9248519ce3737809808fc1f6d1644bfae948716dddfc03
-SIZE (fastjet-3.3.4.tar.gz) = 2911303
+TIMESTAMP = 1657176481
+SHA256 (fastjet-3.4.0.tar.gz) = ee07c8747c8ead86d88de4a9e4e8d1e9e7d7614973f5631ba8297f7a02478b91
+SIZE (fastjet-3.4.0.tar.gz) = 2959127
diff --git a/science/fastjet/pkg-plist b/science/fastjet/pkg-plist
index 39a0bfe37900..e3e4ce7ab677 100644
--- a/science/fastjet/pkg-plist
+++ b/science/fastjet/pkg-plist
@@ -70,6 +70,7 @@ include/fastjet/internal/Voronoi.hh
 include/fastjet/internal/base.hh
 include/fastjet/internal/deprecated.hh
 include/fastjet/internal/numconsts.hh
+include/fastjet/internal/thread_safety_helpers.hh
 include/fastjet/tools/BackgroundEstimatorBase.hh
 include/fastjet/tools/Boost.hh
 include/fastjet/tools/CASubJetTagger.hh
@@ -127,3 +128,13 @@ lib/libsiscone_spherical.a
 lib/libsiscone_spherical.so
 lib/libsiscone_spherical.so.0
 lib/libsiscone_spherical.so.0.0.0
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/__pycache__/fastjet%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/__pycache__/fastjet%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/_fastjet.a
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/_fastjet.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/_fastjet.so.0
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/_fastjet.so.0.0.0
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/fastjet.py
+%%PYTHON%%%%DATADIR%%/pyinterface/FastJetPythonExtensions.hh
+%%PYTHON%%%%DATADIR%%/pyinterface/fastjet-doc.i
+%%PYTHON%%%%DATADIR%%/pyinterface/fastjet.i