From 139c2db343bd2131e50b2e5524c3acb515685b66 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 23 Aug 2022 20:44:45 -0700 Subject: [PATCH] science/yoda: Update 1.9.4 -> 1.9.6 --- science/yoda/Makefile | 10 +++++++--- science/yoda/distinfo | 6 +++--- science/yoda/pkg-plist | 5 ++++- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/science/yoda/Makefile b/science/yoda/Makefile index 8da3306bd55f..aa9cafe4d9b9 100644 --- a/science/yoda/Makefile +++ b/science/yoda/Makefile @@ -1,5 +1,5 @@ PORTNAME= yoda -DISTVERSION= 1.9.4 +DISTVERSION= 1.9.6 CATEGORIES= science MASTER_SITES= https://yoda.hepforge.org/downloads/ DISTNAME= ${PORTNAME:tu}-${DISTVERSION} @@ -10,7 +10,9 @@ COMMENT= Particle physics package with classes for data analysis, histogramming LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -TEST_DEPENDS= bash:shells/bash +TEST_DEPENDS= bash:shells/bash \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} USES= compiler:c++11-lang gmake libtool python:test shebangfix GNU_CONFIGURE= yes @@ -26,12 +28,14 @@ OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes -PYTHON_USES= python shebangfix +PYTHON_USES= python PYTHON_USE= PYTHON=cython PYTHON_CONFIGURE_ENABLE= pyext PYTHON_MAKE_ENV= PYTHON_VERSION=${PYTHON_VER} PYTHON=${PYTHON_CMD} PYTHON_VARS= SHEBANG_FILES="bin/${PORTNAME}* bin/aida2yoda bin/aida2flat bin/flat2yoda" +TEST_ENV= ${MAKE_ENV} PATH=${STAGEDIR}${PREFIX}/bin:${PATH} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libYODA.so diff --git a/science/yoda/distinfo b/science/yoda/distinfo index 65bd16d39339..109e1aa1916e 100644 --- a/science/yoda/distinfo +++ b/science/yoda/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1643127614 -SHA256 (YODA-1.9.4.tar.gz) = 02d89e37fbe01c5b19140e7ded9082930f76bf3d15a6ff9742fd52c8f0e738d7 -SIZE (YODA-1.9.4.tar.gz) = 1463824 +TIMESTAMP = 1659252103 +SHA256 (YODA-1.9.6.tar.gz) = 5c57914eb8d8068844560e3a3e545f68d89ca49796dcc0932cdd42ee62064955 +SIZE (YODA-1.9.6.tar.gz) = 1484221 diff --git a/science/yoda/pkg-plist b/science/yoda/pkg-plist index cbca54e826d6..c6cca163a887 100644 --- a/science/yoda/pkg-plist +++ b/science/yoda/pkg-plist @@ -78,7 +78,10 @@ include/YODA/WriterMethods.icc include/YODA/WriterYODA.h include/YODA/YODA.h lib/libYODA.so -%%PYTHON%%%%PYTHON_SITELIBDIR%%/yoda-%%VERSION%%-py%%PYTHON_VER%%.egg-info +%%PYTHON%%%%PYTHON_SITELIBDIR%%/yoda-%%VERSION%%-py%%PYTHON_VER%%.egg-info/PKG-INFO +%%PYTHON%%%%PYTHON_SITELIBDIR%%/yoda-%%VERSION%%-py%%PYTHON_VER%%.egg-info/SOURCES.txt +%%PYTHON%%%%PYTHON_SITELIBDIR%%/yoda-%%VERSION%%-py%%PYTHON_VER%%.egg-info/dependency_links.txt +%%PYTHON%%%%PYTHON_SITELIBDIR%%/yoda-%%VERSION%%-py%%PYTHON_VER%%.egg-info/top_level.txt %%PYTHON%%%%PYTHON_SITELIBDIR%%/yoda/__init__.py %%PYTHON%%%%PYTHON_SITELIBDIR%%/yoda/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc %%PYTHON%%%%PYTHON_SITELIBDIR%%/yoda/__pycache__/plotting%%PYTHON_EXT_SUFFIX%%.pyc