diff --git a/science/openmc/Makefile b/science/openmc/Makefile index 3542f2054308..685318aedfa5 100644 --- a/science/openmc/Makefile +++ b/science/openmc/Makefile @@ -1,45 +1,47 @@ PORTNAME= openmc DISTVERSIONPREFIX= v -DISTVERSION= 0.13.1 -PORTREVISION= 1 +DISTVERSION= 0.13.3 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Monte Carlo neutron and photon transport simulation code WWW= https://openmc.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= xtensor>0:math/xtensor LIB_DEPENDS= libfmt.so:devel/libfmt \ libhdf5.so:science/hdf5 \ libpng16.so:graphics/png \ libpugixml.so:textproc/pugixml \ libsz.so:science/libaec -USES= cmake:noninja eigen:3 pkgconfig +USES= cmake:noninja,testing eigen:3 pkgconfig USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME}-dev -GH_TUPLE= martinmoene:gsl-lite:913e86d:gsl_lite/vendor/gsl-lite +GH_TUPLE= martinmoene:gsl-lite:913e86d:gsl_lite/vendor/gsl-lite # gsl-lite isn't ported yet + +CMAKE_OFF= OPENMC_BUILD_TESTS +CMAKE_TESTING_ON= OPENMC_BUILD_TESTS # tests are broken, see https://github.com/openmc-dev/openmc/issues/2449 BINARY_ALIAS= git=false OPTIONS_DEFINE= LIBMESH MPI OPENMP OPTIONS_DEFAULT= MPI OPENMP LIBMESH_DESC= Support for libMesh unstructured mesh tallies LIBMESH_CMAKE_BOOL= libmesh LIBMESH_LIB_DEPENDS= libmesh_opt.so:math/libmesh MPI_VARS= CXX=${LOCALBASE}/bin/mpic++ # compilation breaks with OpenMPI-{3,4} and LIBMESH=ON MPI_BUILD_DEPENDS= mpich>0:net/mpich MPI_RUN_DEPENDS= mpich>0:net/mpich OPENMP_CMAKE_BOOL= openmp post-install: ${RM} -r ${STAGEDIR}${DOCSDIR} .include diff --git a/science/openmc/distinfo b/science/openmc/distinfo index 00341abd1642..38895db3959a 100644 --- a/science/openmc/distinfo +++ b/science/openmc/distinfo @@ -1,5 +1,7 @@ -TIMESTAMP = 1661013486 -SHA256 (openmc-dev-openmc-v0.13.1_GH0.tar.gz) = 358965ed4083e68c56ed7cd10ba6a1b63db68aab5dec81ad7200198386326c1f -SIZE (openmc-dev-openmc-v0.13.1_GH0.tar.gz) = 5438707 +TIMESTAMP = 1680243782 +SHA256 (openmc-dev-openmc-v0.13.3_GH0.tar.gz) = dbdd0f9ee1cbfccfeefcdb7b50e9b9c9d57ffdb76fa0e2bf4144508c2b7f482e +SIZE (openmc-dev-openmc-v0.13.3_GH0.tar.gz) = 5398650 SHA256 (martinmoene-gsl-lite-913e86d_GH0.tar.gz) = 53f4ad67e182d58161ec297593af4139ccb2a8fd712ba9cd77d129b6f87c6b3b SIZE (martinmoene-gsl-lite-913e86d_GH0.tar.gz) = 105966 +SHA256 (catchorg-Catch2-41990e0_GH0.tar.gz) = 6d213b050b512ede309a30654ebefdae855eb3797f7b8f1e97f976041a34a680 +SIZE (catchorg-Catch2-41990e0_GH0.tar.gz) = 1039451 diff --git a/science/openmc/pkg-plist b/science/openmc/pkg-plist index 006ecfc18c9e..fbbc07ea1b63 100644 --- a/science/openmc/pkg-plist +++ b/science/openmc/pkg-plist @@ -1,139 +1,127 @@ bin/openmc include/gsl-lite/gsl-lite.hpp include/gsl/gsl-lite.hpp include/openmc/angle_energy.h include/openmc/array.h include/openmc/bank.h include/openmc/boundary_condition.h include/openmc/bremsstrahlung.h include/openmc/capi.h include/openmc/cell.h include/openmc/cmfd_solver.h include/openmc/constants.h include/openmc/container_util.h include/openmc/cross_sections.h include/openmc/dagmc.h include/openmc/distribution.h include/openmc/distribution_angle.h include/openmc/distribution_energy.h include/openmc/distribution_multi.h include/openmc/distribution_spatial.h include/openmc/eigenvalue.h include/openmc/endf.h include/openmc/error.h include/openmc/event.h include/openmc/external/Faddeeva.hh include/openmc/external/quartic_solver.h include/openmc/file_utils.h include/openmc/finalize.h include/openmc/geometry.h include/openmc/geometry_aux.h include/openmc/hdf5_interface.h include/openmc/initialize.h +include/openmc/interpolate.h include/openmc/lattice.h include/openmc/material.h include/openmc/math_functions.h +include/openmc/mcpl_interface.h include/openmc/memory.h include/openmc/mesh.h include/openmc/message_passing.h include/openmc/mgxs.h include/openmc/mgxs_interface.h +include/openmc/ncrystal_interface.h include/openmc/neighbor_list.h include/openmc/nuclide.h include/openmc/openmp_interface.h include/openmc/output.h include/openmc/particle.h include/openmc/particle_data.h include/openmc/particle_restart.h include/openmc/photon.h include/openmc/physics.h include/openmc/physics_common.h include/openmc/physics_mg.h include/openmc/plot.h include/openmc/position.h include/openmc/progress_bar.h include/openmc/random_dist.h include/openmc/random_lcg.h include/openmc/reaction.h include/openmc/reaction_product.h include/openmc/scattdata.h include/openmc/search.h include/openmc/secondary_correlated.h include/openmc/secondary_kalbach.h include/openmc/secondary_nbody.h include/openmc/secondary_thermal.h include/openmc/secondary_uncorrelated.h include/openmc/settings.h include/openmc/shared_array.h include/openmc/simulation.h include/openmc/source.h include/openmc/state_point.h include/openmc/string_utils.h include/openmc/summary.h include/openmc/surface.h include/openmc/tallies/derivative.h include/openmc/tallies/filter.h include/openmc/tallies/filter_azimuthal.h include/openmc/tallies/filter_cell.h include/openmc/tallies/filter_cell_instance.h include/openmc/tallies/filter_cellborn.h include/openmc/tallies/filter_cellfrom.h include/openmc/tallies/filter_collision.h include/openmc/tallies/filter_delayedgroup.h include/openmc/tallies/filter_distribcell.h include/openmc/tallies/filter_energy.h include/openmc/tallies/filter_energyfunc.h include/openmc/tallies/filter_legendre.h include/openmc/tallies/filter_match.h include/openmc/tallies/filter_material.h include/openmc/tallies/filter_mesh.h include/openmc/tallies/filter_meshsurface.h include/openmc/tallies/filter_mu.h include/openmc/tallies/filter_particle.h include/openmc/tallies/filter_polar.h include/openmc/tallies/filter_sph_harm.h include/openmc/tallies/filter_sptl_legendre.h include/openmc/tallies/filter_surface.h include/openmc/tallies/filter_time.h include/openmc/tallies/filter_universe.h include/openmc/tallies/filter_zernike.h include/openmc/tallies/tally.h include/openmc/tallies/tally_scoring.h include/openmc/tallies/trigger.h include/openmc/thermal.h include/openmc/timer.h include/openmc/track_output.h include/openmc/universe.h include/openmc/urr.h include/openmc/vector.h include/openmc/version.h include/openmc/version.h.in include/openmc/volume_calc.h include/openmc/weight_windows.h include/openmc/wmp.h include/openmc/xml_interface.h include/openmc/xsdata.h lib/cmake/OpenMC/OpenMCConfig.cmake lib/cmake/OpenMC/OpenMCConfigVersion.cmake lib/cmake/OpenMC/OpenMCTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/OpenMC/OpenMCTargets.cmake lib/cmake/gsl-lite/gsl-lite-config-version.cmake lib/cmake/gsl-lite/gsl-lite-config.cmake lib/cmake/gsl-lite/gsl-lite-targets.cmake lib/libopenmc.so share/man/man1/openmc.1.gz -%%DATADIR%%/relaxng/cross_sections.rnc -%%DATADIR%%/relaxng/cross_sections.rng -%%DATADIR%%/relaxng/geometry.rnc -%%DATADIR%%/relaxng/geometry.rng -%%DATADIR%%/relaxng/materials.rnc -%%DATADIR%%/relaxng/materials.rng -%%DATADIR%%/relaxng/mg_cross_sections.rnc -%%DATADIR%%/relaxng/mg_cross_sections.rng -%%DATADIR%%/relaxng/plots.rnc -%%DATADIR%%/relaxng/plots.rng -%%DATADIR%%/relaxng/readme.rst -%%DATADIR%%/relaxng/settings.rnc -%%DATADIR%%/relaxng/settings.rng -%%DATADIR%%/relaxng/tallies.rnc -%%DATADIR%%/relaxng/tallies.rng diff --git a/science/py-OpenMC/Makefile b/science/py-OpenMC/Makefile index a24b8fb8a670..91fdbd38d559 100644 --- a/science/py-OpenMC/Makefile +++ b/science/py-OpenMC/Makefile @@ -1,48 +1,48 @@ PORTNAME= OpenMC DISTVERSIONPREFIX= v -DISTVERSION= 0.13.1 +DISTVERSION= 0.13.3 CATEGORIES= science PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Monte Carlo neutron and photon transport simulation code (Python) WWW= https://openmc.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE PY_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uncertainties>0:math/py-uncertainties@${PY_FLAVOR} BUILD_DEPENDS= openmc>0:science/openmc \ ${PY_DEPENDS} RUN_DEPENDS= openmc>0:science/openmc \ ${PY_DEPENDS} USES= python USE_PYTHON= distutils cython concurrent autoplist pytest # tests fail and abort in the middle, see https://github.com/openmc-dev/openmc/issues/2186 USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME:tl}-dev GH_PROJECT= ${PORTNAME:tl} PLIST_FILES= ${PYTHON_SITELIBDIR}/openmc/lib/libopenmc.so TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} post-install: # strip @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/openmc/data/*.so # link the library @${LN} -s ${LOCALBASE}/lib/libopenmc.so ${STAGEDIR}${PYTHON_SITELIBDIR}/openmc/lib/libopenmc.so pre-test: # link the library @if ! [ -e ${WRKSRC}/openmc/lib/libopenmc.so ]; then ${LN} -s ${LOCALBASE}/lib/libopenmc.so ${WRKSRC}/openmc/lib/libopenmc.so; fi .include diff --git a/science/py-OpenMC/distinfo b/science/py-OpenMC/distinfo index 1119d7dc2c6e..2ccfb190046d 100644 --- a/science/py-OpenMC/distinfo +++ b/science/py-OpenMC/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1661014166 -SHA256 (openmc-dev-openmc-v0.13.1_GH0.tar.gz) = 358965ed4083e68c56ed7cd10ba6a1b63db68aab5dec81ad7200198386326c1f -SIZE (openmc-dev-openmc-v0.13.1_GH0.tar.gz) = 5438707 +TIMESTAMP = 1680244213 +SHA256 (openmc-dev-openmc-v0.13.3_GH0.tar.gz) = dbdd0f9ee1cbfccfeefcdb7b50e9b9c9d57ffdb76fa0e2bf4144508c2b7f482e +SIZE (openmc-dev-openmc-v0.13.3_GH0.tar.gz) = 5398650