summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-06-20 18:16:43 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2024-06-20 18:53:00 -0700
commitf3fda29433aa2a3477370cad53c893ebb22174f5 (patch)
tree0439d040a3c6df54fafdb6b75f506a5612839f98
parentmisc/py-laspy: update 2.5.3 → 2.5.4 (diff)
science/py-HepMC3: update 3.2.6 → 3.3.0
Reported by: portscout
-rw-r--r--science/py-HepMC3/Makefile4
-rw-r--r--science/py-HepMC3/distinfo6
-rw-r--r--science/py-HepMC3/files/patch-CMakeLists.txt20
-rw-r--r--science/py-HepMC3/pkg-plist5
4 files changed, 13 insertions, 22 deletions
diff --git a/science/py-HepMC3/Makefile b/science/py-HepMC3/Makefile
index c03a6018e892..677e56284972 100644
--- a/science/py-HepMC3/Makefile
+++ b/science/py-HepMC3/Makefile
@@ -1,5 +1,5 @@
PORTNAME= HepMC3
-DISTVERSION= 3.2.6
+DISTVERSION= 3.3.0
CATEGORIES= science
MASTER_SITES= http://hepmc.web.cern.ch/hepmc/releases/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/../COPYING
LIB_DEPENDS= libHepMC3.so:science/hepmc3
-USES= cmake:testing compiler:c++11-lang python
+USES= cmake compiler:c++11-lang python
USE_PYTHON= flavors
WRKSRC_SUBDIR= python
diff --git a/science/py-HepMC3/distinfo b/science/py-HepMC3/distinfo
index baf19deaddc4..0f1de7d27e32 100644
--- a/science/py-HepMC3/distinfo
+++ b/science/py-HepMC3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1681718734
-SHA256 (HepMC3-3.2.6.tar.gz) = 248f3b5b36dd773844cbe73d51f60891458334b986b259754c59dbf4bbf1d525
-SIZE (HepMC3-3.2.6.tar.gz) = 9344806
+TIMESTAMP = 1718930631
+SHA256 (HepMC3-3.3.0.tar.gz) = 6f876091edcf7ee6d0c0db04e080056e89efc1a61abe62355d97ce8e735769d6
+SIZE (HepMC3-3.3.0.tar.gz) = 9341637
diff --git a/science/py-HepMC3/files/patch-CMakeLists.txt b/science/py-HepMC3/files/patch-CMakeLists.txt
index 83a78212d418..d628b41c74df 100644
--- a/science/py-HepMC3/files/patch-CMakeLists.txt
+++ b/science/py-HepMC3/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig 2023-04-12 14:19:36 UTC
+--- CMakeLists.txt.orig 2024-06-02 16:17:02 UTC
+++ CMakeLists.txt
-@@ -6,6 +6,8 @@ SET_PROPERTY (GLOBAL PROPERTY CMAKE_ROLE "PROJECT")
+@@ -6,6 +6,8 @@ set(CMAKE_VERBOSE_MAKEFILE ON)
endif()
set(CMAKE_VERBOSE_MAKEFILE ON)
@@ -8,20 +8,8 @@
+
option(USE_INSTALLED_HEPMC3 "Use HepMC3 bindings as a standalone package" OFF)
option(RERUN_BINDER "Rerun binder" OFF)
- if (USE_INSTALLED_HEPMC3)
-@@ -314,9 +316,9 @@ if (${ver} STREQUAL 2)
- unset(_Python2_EXECUTABLE CACHE) # Attempt to make FindPython reenterant
- unset(_Python2_INCLUDE_DIR CACHE) # Attempt to make FindPython reenterant
- if (${verminor} STREQUAL X)
-- find_package (Python2 ${ver} COMPONENTS Interpreter Development.Module)
-+ find_package (xPython2 ${ver} COMPONENTS Interpreter Development.Module)
- else()
-- find_package (Python2 ${ver}.${verminor} EXACT COMPONENTS Interpreter Development.Module)
-+ find_package (xPython2 ${ver}.${verminor} EXACT COMPONENTS Interpreter Development.Module)
- endif()
- if (Python2_VERSION AND Python2_INCLUDE_DIRS AND Python2_EXECUTABLE ) #something is set
- SET( Python_VERSION ${Python2_VERSION})
-@@ -336,7 +338,7 @@ if (${ver} STREQUAL 3)
+ if (RERUN_BINDER)
+@@ -206,7 +208,7 @@ if (${ver} STREQUAL 3)
unset(Python3_FOUND CACHE)
unset(Python3_VERSION CACHE)
unset(Python3_Interpreter_FOUND CACHE)
diff --git a/science/py-HepMC3/pkg-plist b/science/py-HepMC3/pkg-plist
index 0ed0c97ed536..b52f8ba3dd89 100644
--- a/science/py-HepMC3/pkg-plist
+++ b/science/py-HepMC3/pkg-plist
@@ -1,3 +1,6 @@
-%%PYTHON_SITELIBDIR%%/pyHepMC3-3.2.6-py%%PYTHON_VER%%.egg-info
+%%PYTHON_SITELIBDIR%%/pyHepMC3-3.3.0-py%%PYTHON_VER%%.egg-info
+%%PYTHON_SITELIBDIR%%/pyHepMC3.search-3.3.0-py%%PYTHON_VER%%.egg-info
%%PYTHON_SITELIBDIR%%/pyHepMC3/__init__.py
%%PYTHON_SITELIBDIR%%/pyHepMC3/pyHepMC3.so
+%%PYTHON_SITELIBDIR%%/pyHepMC3/search/__init__.py
+%%PYTHON_SITELIBDIR%%/pyHepMC3/search/pyHepMC3search.so