diff --git a/biology/libsedml/Makefile b/biology/libsedml/Makefile index c979cd8bc72f..cb2c3d8df493 100644 --- a/biology/libsedml/Makefile +++ b/biology/libsedml/Makefile @@ -1,34 +1,39 @@ PORTNAME= libsedml DISTVERSIONPREFIX= v -DISTVERSION= 2.0.32 +DISTVERSION= 2.0.33 CATEGORIES= biology devel MAINTAINER= yuri@FreeBSD.org COMMENT= C++ SED-ML library WWW= https://github.com/fbergmann/libSEDML LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= libsbml>0:biology/libsbml \ libnuml>0:biology/libnuml # statically linked, even into a shared library, see https://github.com/fbergmann/libSEDML/issues/155 RUN_DEPENDS= libsbml>0:biology/libsbml \ libnuml>0:biology/libnuml # when static lib libnuml.a is fixed these should be run-time dependency -USES= cmake compiler:c++11-lang gnome +USES= cmake:testing compiler:c++11-lang gnome USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= fbergmann GH_PROJECT= libSEDML +CMAKE_OFF= BUILD_TESTS +CMAKE_TESTING_ON= BUILD_TESTS + post-install: # no need to install LICENSE, README, VERSION @${RM} -r ${STAGEDIR}${DATADIR} # workaround for https://github.com/fbergmann/libSEDML/issues/163 ${RM} -r ${STAGEDIR}${PREFIX}/share/cmake # the project builds static libs with -fPIC, see https://github.com/fbergmann/libSEDML/issues/155 +# tests as of 2.0.33: All tests passed (351 assertions in 33 test cases) + .include diff --git a/biology/libsedml/distinfo b/biology/libsedml/distinfo index 7f650a78b96f..2740d95dfdbb 100644 --- a/biology/libsedml/distinfo +++ b/biology/libsedml/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1654751397 -SHA256 (fbergmann-libSEDML-v2.0.32_GH0.tar.gz) = 95f0781c19e73bb86618cce1678f4238f3cc11abe070b49f2a25e869071b8069 -SIZE (fbergmann-libSEDML-v2.0.32_GH0.tar.gz) = 966584 +TIMESTAMP = 1745471328 +SHA256 (fbergmann-libSEDML-v2.0.33_GH0.tar.gz) = a3f69ecb5dc1084343d4de5dc0990bdd9def2f7eb819986015d33ca9735dbe76 +SIZE (fbergmann-libSEDML-v2.0.33_GH0.tar.gz) = 1006915 diff --git a/biology/libsedml/pkg-plist b/biology/libsedml/pkg-plist index eca7bc710ba9..ab1d1ee629f9 100644 --- a/biology/libsedml/pkg-plist +++ b/biology/libsedml/pkg-plist @@ -1,119 +1,119 @@ include/sedml/SedAbstractCurve.h include/sedml/SedAbstractTask.h include/sedml/SedAddXML.h include/sedml/SedAdjustableParameter.h include/sedml/SedAlgorithm.h include/sedml/SedAlgorithmParameter.h include/sedml/SedAnalysis.h include/sedml/SedAppliedDimension.h include/sedml/SedAxis.h include/sedml/SedBase.h include/sedml/SedBounds.h include/sedml/SedChange.h include/sedml/SedChangeAttribute.h include/sedml/SedChangeXML.h include/sedml/SedComputeChange.h include/sedml/SedConstructorException.h include/sedml/SedCurve.h include/sedml/SedDataDescription.h include/sedml/SedDataGenerator.h include/sedml/SedDataRange.h include/sedml/SedDataSet.h include/sedml/SedDataSource.h include/sedml/SedDocument.h include/sedml/SedElementFilter.h include/sedml/SedError.h include/sedml/SedErrorLog.h include/sedml/SedErrorTable.h include/sedml/SedExperimentReference.h include/sedml/SedFigure.h include/sedml/SedFill.h include/sedml/SedFitExperiment.h include/sedml/SedFitMapping.h include/sedml/SedFunctionalRange.h include/sedml/SedLeastSquareObjectiveFunction.h include/sedml/SedLine.h include/sedml/SedListOf.h include/sedml/SedListOfAdjustableParameters.h include/sedml/SedListOfAlgorithmParameters.h include/sedml/SedListOfAppliedDimensions.h include/sedml/SedListOfChanges.h include/sedml/SedListOfCurves.h include/sedml/SedListOfDataDescriptions.h include/sedml/SedListOfDataGenerators.h include/sedml/SedListOfDataSets.h include/sedml/SedListOfDataSources.h include/sedml/SedListOfExperimentReferences.h include/sedml/SedListOfFitExperiments.h include/sedml/SedListOfFitMappings.h include/sedml/SedListOfModels.h include/sedml/SedListOfOutputs.h include/sedml/SedListOfParameters.h include/sedml/SedListOfRanges.h include/sedml/SedListOfSetValues.h include/sedml/SedListOfSimulations.h include/sedml/SedListOfSlices.h include/sedml/SedListOfStyles.h include/sedml/SedListOfSubPlots.h include/sedml/SedListOfSubTasks.h include/sedml/SedListOfSurfaces.h include/sedml/SedListOfTasks.h include/sedml/SedListOfVariables.h include/sedml/SedMarker.h include/sedml/SedModel.h include/sedml/SedNamespaces.h include/sedml/SedObjective.h include/sedml/SedOneStep.h include/sedml/SedOutput.h include/sedml/SedParameter.h include/sedml/SedParameterEstimationReport.h include/sedml/SedParameterEstimationResultPlot.h include/sedml/SedParameterEstimationTask.h include/sedml/SedPlot.h include/sedml/SedPlot2D.h include/sedml/SedPlot3D.h include/sedml/SedRange.h include/sedml/SedReader.h include/sedml/SedRemoveXML.h include/sedml/SedRepeatedTask.h include/sedml/SedReport.h include/sedml/SedSetValue.h include/sedml/SedShadedArea.h include/sedml/SedSimulation.h include/sedml/SedSlice.h include/sedml/SedSteadyState.h include/sedml/SedStyle.h include/sedml/SedSubPlot.h include/sedml/SedSubTask.h include/sedml/SedSurface.h include/sedml/SedTask.h include/sedml/SedTypeCodes.h include/sedml/SedTypes.h include/sedml/SedUniformRange.h include/sedml/SedUniformTimeCourse.h include/sedml/SedVariable.h include/sedml/SedVectorRange.h include/sedml/SedVisitor.h include/sedml/SedWaterfallPlot.h include/sedml/SedWriter.h include/sedml/common/SedOperationReturnValues.h include/sedml/common/SedmlEnumerations.h include/sedml/common/common.h include/sedml/common/extern.h include/sedml/common/libsedml-config-common.h include/sedml/common/libsedml-config.h include/sedml/common/libsedml-namespace.h include/sedml/common/libsedml-version.h include/sedml/common/sedmlfwd.h lib/cmake/sedml-config-version.cmake lib/cmake/sedml-config.cmake lib/cmake/sedml-static-config-version.cmake lib/cmake/sedml-static-config.cmake lib/cmake/sedml-static-targets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/sedml-static-targets.cmake lib/cmake/sedml-targets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/sedml-targets.cmake lib/libsedml-static.a lib/libsedml.so lib/libsedml.so.2 -lib/libsedml.so.2.0.32 +lib/libsedml.so.2.0.33 diff --git a/biology/py-libsedml/Makefile b/biology/py-libsedml/Makefile index 6b8e59cf0a3e..8e56763ea40b 100644 --- a/biology/py-libsedml/Makefile +++ b/biology/py-libsedml/Makefile @@ -1,35 +1,35 @@ PORTNAME= libsedml DISTVERSIONPREFIX= v -DISTVERSION= 2.0.32 +DISTVERSION= 2.0.33 CATEGORIES= biology devel PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= SED-ML library for Python WWW= https://github.com/fbergmann/libSEDML LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/../../../LICENSE.txt BUILD_DEPENDS= swig:devel/swig LIB_DEPENDS= libsedml.so:biology/libsedml \ libsbml.so:biology/libsbml \ libnuml.so:biology/libnuml USES= cmake localbase:ldflags python USE_PYTHON= flavors USE_GITHUB= yes GH_ACCOUNT= fbergmann GH_PROJECT= libSEDML CMAKE_ARGS= -DCMAKE_INSTALL_LIBDIR=lib LDFLAGS+= -lsedml -lsbml -lnuml # otherwise it builds a broken shared object, see https://github.com/NuML/NuML/issues/21 WRKSRC_SUBDIR= src/bindings/python do-test: install @${PYTHON_CMD} ${FILESDIR}/quick-test.py .include diff --git a/biology/py-libsedml/distinfo b/biology/py-libsedml/distinfo index 7bc4e026e156..529392d3d0ac 100644 --- a/biology/py-libsedml/distinfo +++ b/biology/py-libsedml/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1654751643 -SHA256 (fbergmann-libSEDML-v2.0.32_GH0.tar.gz) = 95f0781c19e73bb86618cce1678f4238f3cc11abe070b49f2a25e869071b8069 -SIZE (fbergmann-libSEDML-v2.0.32_GH0.tar.gz) = 966584 +TIMESTAMP = 1745471845 +SHA256 (fbergmann-libSEDML-v2.0.33_GH0.tar.gz) = a3f69ecb5dc1084343d4de5dc0990bdd9def2f7eb819986015d33ca9735dbe76 +SIZE (fbergmann-libSEDML-v2.0.33_GH0.tar.gz) = 1006915 diff --git a/biology/py-libsedml/files/patch-CMakeLists.txt b/biology/py-libsedml/files/patch-CMakeLists.txt index 1ad8d3a30828..576ed26d7b4c 100644 --- a/biology/py-libsedml/files/patch-CMakeLists.txt +++ b/biology/py-libsedml/files/patch-CMakeLists.txt @@ -1,33 +1,22 @@ ---- CMakeLists.txt.orig 2022-06-07 11:34:09 UTC +--- CMakeLists.txt.orig 2025-04-24 05:19:57 UTC +++ CMakeLists.txt -@@ -37,8 +37,8 @@ endif(LIBSEDML_REMOVE_WRAPPERS) - - - set(SWIG_EXTRA_FLAGS -DSWIGEXPORT -- -DLIBSBML_CPP_NAMESPACE_BEGIN -DLIBSBML_CPP_NAMESPACE_END -DLIBSBML_CPP_NAMESPACE_QUALIFIER -DLIBSBML_CPP_NAMESPACE_USE -- -DLIBNUML_CPP_NAMESPACE_BEGIN -DLIBNUML_CPP_NAMESPACE_END -DLIBNUML_CPP_NAMESPACE_QUALIFIER -DLIBNUML_CPP_NAMESPACE_USE -+ -DLIBSBML_CPP_NAMESPACE_BEGIN= -DLIBSBML_CPP_NAMESPACE_END= -DLIBSBML_CPP_NAMESPACE_QUALIFIER= -DLIBSBML_CPP_NAMESPACE_USE= -+ -DLIBNUML_CPP_NAMESPACE_BEGIN= -DLIBNUML_CPP_NAMESPACE_END= -DLIBNUML_CPP_NAMESPACE_QUALIFIER= -DLIBNUML_CPP_NAMESPACE_USE= - ) - if(NOT UNIX) - set(SWIG_EXTRA_FLAGS ${SWIG_EXTRA_FLAGS} -DSWIGWIN -DSWIG_CSHARP_NO_WSTRING_HELPER ) @@ -49,6 +49,7 @@ ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/libsedml_wrap.cpp COMMAND "${SWIG_EXECUTABLE}" ARGS -I${CMAKE_CURRENT_SOURCE_DIR}/../swig/ + -I${CMAKE_INSTALL_PREFIX}/include -I${CMAKE_CURRENT_SOURCE_DIR}/../../ -I${CMAKE_CURRENT_BINARY_DIR}/../../ -I${CMAKE_CURRENT_SOURCE_DIR}/../../sedml @@ -125,9 +126,9 @@ if (PYTHON_USE_DYNAMIC_LOOKUP) if (APPLE) set_target_properties (binding_python_lib PROPERTIES LINK_FLAGS "-undefined dynamic_lookup") endif() - target_link_libraries(binding_python_lib ${LIBSEDML_LIBRARY}-static) + target_link_libraries(binding_python_lib ${LIBSEDML_LIBRARY}) else() - target_link_libraries(binding_python_lib ${LIBSEDML_LIBRARY}-static ${PYTHON_LIBRARIES}) + target_link_libraries(binding_python_lib ${LIBSEDML_LIBRARY} ${PYTHON_LIBRARIES}) endif() #