diff --git a/science/py-GPy/Makefile b/science/py-GPy/Makefile index 423ffd20396a..b226e735ce89 100644 --- a/science/py-GPy/Makefile +++ b/science/py-GPy/Makefile @@ -1,42 +1,42 @@ PORTNAME= GPy DISTVERSION= 1.13.2 PORTREVISION= 2 CATEGORIES= science python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Gaussian process toolbox WWW= https://sheffieldml.github.io/GPy/ \ + https://github.com/SheffieldML/GPy BROKEN= fails to build with NumPy 2.x - https://github.com/SheffieldML/GPy LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.3.0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}paramz>=0.9.6:science/py-paramz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.3.0:science/py-scipy@${PY_FLAVOR} USES= localbase python USE_PYTHON= distutils autoplist pytest # 12 tests fail see https://github.com/SheffieldML/GPy/issues/1075 POST_PLIST= fix-plist post-install: @${STRIP_CMD} \ ${STAGEDIR}${PYTHON_SITELIBDIR}/GPy/*/*${PYTHON_TAG}.so \ ${STAGEDIR}${PYTHON_SITELIBDIR}/GPy/*/*/*${PYTHON_TAG}.so fix-plist: # workaroud for /usr/ports/science/py-GPy/work-py311/.PLIST.mktmp @${REINPLACE_CMD} -e "s|.*__pycache__/mpi_test__.*$$||" ${TMPPLIST} .include diff --git a/science/py-gpaw/Makefile b/science/py-gpaw/Makefile index 9df0b666b9db..29f96dc59e51 100644 --- a/science/py-gpaw/Makefile +++ b/science/py-gpaw/Makefile @@ -1,44 +1,44 @@ PORTNAME= gpaw DISTVERSION= 25.7.0 CATEGORIES= science python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= DFT and beyond within the projector-augmented wave method in chemistry WWW= https://wiki.fysik.dtu.dk/gpaw/ \ + https://gitlab.com/gpaw/gpaw BROKEN= fails to build with NumPy 2.x - https://gitlab.com/gpaw/gpaw LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} LIB_DEPENDS= libblas.so:math/blas \ libmpich.so:net/mpich \ libopenblas.so:math/openblas \ libxc.so:science/libxc RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ase>0:science/py-ase@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ gpaw-setups>0:science/gpaw-setups USES= gettext-runtime localbase python shebangfix USE_PYTHON= distutils concurrent autoplist SHEBANG_FILES= tools/* LDFLAGS= -lmpi # otherwise: ImportError: /usr/local/lib/python3.8/site-packages/_gpaw.cpython-38.so: Undefined symbol "MPI_Comm_rank" post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_gpaw*.so do-test: install # tests fail to run, see https://gitlab.com/gpaw/gpaw/-/issues/1273 @${ECHO} "== Performing a test calculation on one CPU ==" @gpaw test @${ECHO} "== Performing a test calculation on 8 CPUs ==" @gpaw -P 8 test .include diff --git a/science/salome-kernel/Makefile b/science/salome-kernel/Makefile index fc6aeedee8fd..0c06016c2f68 100644 --- a/science/salome-kernel/Makefile +++ b/science/salome-kernel/Makefile @@ -1,51 +1,51 @@ PORTNAME= salome-kernel DISTVERSIONPREFIX= V DISTVERSION= 9_11_0 PORTREVISION= 7 CATEGORIES= science # physics MAINTAINER= yuri@FreeBSD.org COMMENT= Salome Project: Multi-physics simulations: Kernel WWW= https://www.salome-platform.org/ \ + https://github.com/SalomePlatform/kernel/ BROKEN= fails to build with NumPy 2.x - https://github.com/SalomePlatform/kernel/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}omniorb>0:devel/py-omniorb \ ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} \ salome-configuration>0:science/salome-configuration \ swig:devel/swig LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libhdf5.so:science/hdf5 \ libomniORB4.so:devel/omniORB RUN_DEPENDS= ${PY_DEPENDS} \ bash:shells/bash USES= cmake compiler:c++11-lang gnome python shebangfix USE_GITHUB= yes GH_ACCOUNT= SalomePlatform GH_PROJECT= kernel USE_GNOME= libxml2 USE_LDCONFIG= yes SHEBANG_FILES= bin/appliskel/.bashrc bin/appliskel/.salome_run \ bin/appliskel/salome bin/appliskel/salome_mesa SHEBANG_GLOB= *.py *.sh CMAKE_ARGS= -DCONFIGURATION_ROOT_DIR=${LOCALBASE}/share/salome/configuration \ -DOMNIORBPY_ROOT_DIR=${LOCALBASE} \ -DPython_EXECUTABLE=${PYTHON_CMD} CMAKE_OFF= SALOME_BUILD_DOC SALOME_BUILD_TESTS CFLAGS+= -DSIZEOF_INT=4 -DSIZEOF_LONG=4 LDFLAGS+= -lexecinfo DATADIR= ${PREFIX}/share/salome .include