git: e4426838ca47 - main - science/yoda: Update 1.9.1 -> 1.9.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Jan 2022 17:52:34 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e4426838ca4796a2f29164656c401cb7ee115abf
commit e4426838ca4796a2f29164656c401cb7ee115abf
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-01-25 17:01:42 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-01-25 17:52:27 +0000
science/yoda: Update 1.9.1 -> 1.9.4
---
science/yoda/Makefile | 12 ++++++++++--
science/yoda/distinfo | 6 +++---
science/yoda/pkg-plist | 2 +-
3 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/science/yoda/Makefile b/science/yoda/Makefile
index e7f13f33dbc5..8da3306bd55f 100644
--- a/science/yoda/Makefile
+++ b/science/yoda/Makefile
@@ -1,5 +1,5 @@
PORTNAME= yoda
-DISTVERSION= 1.9.1
+DISTVERSION= 1.9.4
CATEGORIES= science
MASTER_SITES= https://yoda.hepforge.org/downloads/
DISTNAME= ${PORTNAME:tu}-${DISTVERSION}
@@ -10,10 +10,18 @@ COMMENT= Particle physics package with classes for data analysis, histogramming
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lang gmake libtool
+TEST_DEPENDS= bash:shells/bash
+
+USES= compiler:c++11-lang gmake libtool python:test shebangfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+SHEBANG_GLOB= *.py *.sh
+
+TEST_TARGET= check # doesn't report summary in the end, see https://gitlab.com/hepcedar/yoda/-/issues/49
+
+PLIST_SUB= VERSION=${PORTVERSION}
+
OPTIONS_DEFINE= PYTHON
OPTIONS_DEFAULT= PYTHON
OPTIONS_SUB= yes
diff --git a/science/yoda/distinfo b/science/yoda/distinfo
index 720d7e83433d..65bd16d39339 100644
--- a/science/yoda/distinfo
+++ b/science/yoda/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1631464947
-SHA256 (YODA-1.9.1.tar.gz) = bf562d3895d9e1f40aa6128396480d3c20c8f7dcadba9f1a8259005f156f42cd
-SIZE (YODA-1.9.1.tar.gz) = 1453767
+TIMESTAMP = 1643127614
+SHA256 (YODA-1.9.4.tar.gz) = 02d89e37fbe01c5b19140e7ded9082930f76bf3d15a6ff9742fd52c8f0e738d7
+SIZE (YODA-1.9.4.tar.gz) = 1463824
diff --git a/science/yoda/pkg-plist b/science/yoda/pkg-plist
index 18e67ed132b5..cbca54e826d6 100644
--- a/science/yoda/pkg-plist
+++ b/science/yoda/pkg-plist
@@ -78,7 +78,7 @@ include/YODA/WriterMethods.icc
include/YODA/WriterYODA.h
include/YODA/YODA.h
lib/libYODA.so
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/yoda-1.9.1-py%%PYTHON_VER%%.egg-info
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/yoda-%%VERSION%%-py%%PYTHON_VER%%.egg-info
%%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