1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

science/py-HepMC3: update 3.2.6 → 3.3.0

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2024-06-20 18:16:43 -07:00
parent a6bba47edb
commit f3fda29433
4 changed files with 13 additions and 22 deletions

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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