From nobody Thu Jul 07 17:16:51 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9FDA23E106A; Thu, 7 Jul 2022 17:16:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lf34342Kgz3dZS; Thu, 7 Jul 2022 17:16:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657214211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1PQgA6fZCHVvNqjVg6wPvvcOcKSeaSCaFYKhVpU1BvM=; b=XVEOA+7uvna9PyfYdBf9UXmBFrMC+suvFdb14Mm58p6XZM74LnhIDoYXefe6chVW6y1EPD kwDrlDcJCN0EWoui8gN2iyjCo1VbWRosxKKrKYCvhOTmxq661GIKVBWTI4PRgDL02SMb1F DUo+TqxBnvek8fXgjeOZiRnpak6TEA4tXcRpeQkKw0SHSa8iWoO1dFK2+bmaUDsEhZrYFp fiALdExSI+F6HoPJ8yAMvdWprnqYzt6m8V+R+o1OKHEadF0XQce1tQzDEdEzN+zRoBgLcF a6PL8yuRfg4hukjCWczdRaRuBAeWq4NDBaVH7FmspGXDiyArEtvJXLua0m4QuA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lf343334lzr0r; Thu, 7 Jul 2022 17:16:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 267HGpc8056598; Thu, 7 Jul 2022 17:16:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 267HGp26056597; Thu, 7 Jul 2022 17:16:51 GMT (envelope-from git) Date: Thu, 7 Jul 2022 17:16:51 GMT Message-Id: <202207071716.267HGp26056597@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 215a4eb357fa - main - science/fastjet: Fix CGAL option; Add tests List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 215a4eb357faef30e7f8008fc409866a3416e784 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657214211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1PQgA6fZCHVvNqjVg6wPvvcOcKSeaSCaFYKhVpU1BvM=; b=eHOzRNl0d1A4b6vvtMluBPM6NuAErhE09xgyTZQxyETWH2wnMeSXPteoy++eJM/UT3nMa2 UMmlz5cnQCKzqN4BqY/X8NiEPPI0X4FZxLqyqquwve7RHofh9S/TwCUDfeNu6RiGm6+x7W mSd3kWPzZJJ5GYTcy6tzUgLERMNb3J5se56U3Mf2oXYPZ/vh3d5LHXo1e1LZcnt7xIBe0l vu7CHY16O2xZu2ql/GF0Cvln/O6v12U06RDB7TsEo/pF3PCHEPkAjXMy3t574nJFxaqZnI z4EkSJ4ekLjrThAfzsQ9iTSNFIPTU5+zrlBYEKGbvrhyPLkbvKghEAEesPMvPg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657214211; a=rsa-sha256; cv=none; b=LYcI6gA2DnxLavQJ6areMYIslPJaOJdDW7O6wr4wf0QHR+lzZCncRYQclMvEpXfkNarin+ 2kQ3AOGq68C8fM7gZnUYSMOyW7ZE7Nxmyk06lEh6Q3AzkMStntLuuEi4SJjglq1d4C39GD p2QEX3hO5adEf1y1c13xiU9/1vRKVhYwSyigEoB0FFryyjUkPXga7kgJA3oMaTa/Zi1/6o 6O2HHTIeBroUoab4tqguBwoIj+8JMz2fDDWQNKoor8/moPslUtcHcko5UQ+JmtIVJIJsna xanuPnWumPsmWNqze43CqV+4MT4onhCNaeuFhZD0l4ERfFAaT3PXmwV8jfqP1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=215a4eb357faef30e7f8008fc409866a3416e784 commit 215a4eb357faef30e7f8008fc409866a3416e784 Author: Yuri Victorovich AuthorDate: 2022-07-07 17:03:23 +0000 Commit: Yuri Victorovich CommitDate: 2022-07-07 17:16:49 +0000 science/fastjet: Fix CGAL option; Add tests --- science/fastjet/Makefile | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/science/fastjet/Makefile b/science/fastjet/Makefile index 4638660b3557..028080122655 100644 --- a/science/fastjet/Makefile +++ b/science/fastjet/Makefile @@ -1,5 +1,6 @@ PORTNAME= fastjet DISTVERSION= 3.4.0 +PORTREVISION= 1 CATEGORIES= science MASTER_SITES= https://fastjet.fr/repo/ @@ -22,14 +23,18 @@ CONFIGURE_ARGS= --enable-allplugins LDFLAGS+= -lexecinfo +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} LD_LIBRARY_PATH=${STAGEDIR}${PREFIX}/lib + OPTIONS_DEFINE= CGAL PYTHON -OPTIONS_DEFAULT= PYTHON +OPTIONS_DEFAULT= CGAL 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 +CGAL_USES= localbase +CGAL_CONFIGURE_ENABLE= cgal-header-only cgal # cgal is still needed with cgal-header-only contrary to what configure says +CGAL_BUILD_DEPENDS= cgal>0:math/cgal \ + ${LOCALBASE}/include/mpfr.h:math/mpfr +CGAL_LIB_DEPENDS= libgmp.so:math/gmp PYTHON_USES= python PYTHON_CONFIGURE_ENABLE= pyext swig @@ -42,4 +47,10 @@ post-install: post-install-PYTHON-on: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_fastjet.so.0.0.0 +do-test: + # python tests +.for e in 01-basic 02-area 03-tools 04-multi-event 05-user-info 06-selector 07-recombiner + @cd ${WRKSRC}/example/python && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ./${e}.py +.endfor + .include