git: 1390f547a089 - main - science/spglib: Update 1.16.5 -> 2.0.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Oct 2022 02:36:47 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1390f547a0895eb70d2fb760602b696b8bd4ec21 commit 1390f547a0895eb70d2fb760602b696b8bd4ec21 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-10-08 02:35:01 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-10-08 02:36:41 +0000 science/spglib: Update 1.16.5 -> 2.0.1 --- science/avogadrolibs/Makefile | 2 +- science/octopus/Makefile | 1 + science/py-spglib/Makefile | 4 ++-- science/py-spglib/distinfo | 6 +++--- science/sirius/Makefile | 2 +- science/spglib/Makefile | 19 +++++++++++++++++-- science/spglib/distinfo | 6 +++--- science/spglib/pkg-plist | 9 ++++++++- 8 files changed, 36 insertions(+), 13 deletions(-) diff --git a/science/avogadrolibs/Makefile b/science/avogadrolibs/Makefile index 582ad40e44c9..6ca97f1f378c 100644 --- a/science/avogadrolibs/Makefile +++ b/science/avogadrolibs/Makefile @@ -1,6 +1,6 @@ PORTNAME= avogadrolibs DISTVERSION= 1.95.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org diff --git a/science/octopus/Makefile b/science/octopus/Makefile index df47a8b0ff82..c8b55f7e3dbd 100644 --- a/science/octopus/Makefile +++ b/science/octopus/Makefile @@ -1,5 +1,6 @@ PORTNAME= octopus DISTVERSION= 11.4 +PORTREVISION= 1 CATEGORIES= science # chemistry MASTER_SITES= https://octopus-code.org/download/${DISTVERSION}/ diff --git a/science/py-spglib/Makefile b/science/py-spglib/Makefile index 1df3e0c64f6b..dfe562c64091 100644 --- a/science/py-spglib/Makefile +++ b/science/py-spglib/Makefile @@ -1,6 +1,6 @@ PORTNAME= spglib DISTVERSIONPREFIX= v -DISTVERSION= 1.16.5 +DISTVERSION= 2.0.1 CATEGORIES= science python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,7 +14,7 @@ BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} USES= python:3.6+ -USE_PYTHON= distutils autoplist +USE_PYTHON= distutils autoplist pytest # tests fail to run, see https://github.com/spglib/spglib/issues/192 USE_GITHUB= yes WRKSRC_SUBDIR= python diff --git a/science/py-spglib/distinfo b/science/py-spglib/distinfo index 2d505a581703..18b47482ce6a 100644 --- a/science/py-spglib/distinfo +++ b/science/py-spglib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1651985344 -SHA256 (spglib-spglib-v1.16.5_GH0.tar.gz) = 1bbde03b6b78da756c07f458bd90d84f3c253841b9b0632db5b72c5961e87aef -SIZE (spglib-spglib-v1.16.5_GH0.tar.gz) = 2032040 +TIMESTAMP = 1665187362 +SHA256 (spglib-spglib-v2.0.1_GH0.tar.gz) = d7407c0d67174a0c5e41a82ed62948c43fcaf1b5529f97238d7fadd1123ffe22 +SIZE (spglib-spglib-v2.0.1_GH0.tar.gz) = 2879617 diff --git a/science/sirius/Makefile b/science/sirius/Makefile index 0cf736524d6e..46660b6672a5 100644 --- a/science/sirius/Makefile +++ b/science/sirius/Makefile @@ -1,7 +1,7 @@ PORTNAME= sirius DISTVERSIONPREFIX= v DISTVERSION= 7.3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science PKGNAMESUFFIX= -quantum-chemistry # other software also has the name "sirius" diff --git a/science/spglib/Makefile b/science/spglib/Makefile index dd68978e04ff..a4f8a8aadddf 100644 --- a/science/spglib/Makefile +++ b/science/spglib/Makefile @@ -1,6 +1,6 @@ PORTNAME= spglib DISTVERSIONPREFIX= v -DISTVERSION= 1.16.5 +DISTVERSION= 2.0.1 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org @@ -15,7 +15,22 @@ USE_GITHUB= yes USE_LDCONFIG= yes .if !exists(/usr/include/omp.h) -CMAKE_ARGS+= -DUSE_OMP:BOOL=OFF +CMAKE_OFF+= USE_OMP .endif +OPTIONS_DEFINE= FORTRAN +OPTIONS_DEFAULT= FORTRAN +OPTIONS_SUB= yes + +FORTRAN_USES= fortran +FORTRAN_CMAKE_BOOL= WITH_Fortran +FORTRAN_LDFLAGS= -lomp # workaround for: undefined reference to `__kmpc_fork_call' + +do-test: # from test/README.md + cd ${WRKSRC}/test && \ + ${CMAKE_BIN} -S . -B build -DUSE_SANITIZER="Address" -DCMAKE_BUILD_TYPE="Debug" && \ + ${CMAKE_BIN} --build build -j ${_MAKE_JOBS} && \ + cd build && \ + ctest + .include <bsd.port.mk> diff --git a/science/spglib/distinfo b/science/spglib/distinfo index 30d432e2cbbd..b47dfdaee1e2 100644 --- a/science/spglib/distinfo +++ b/science/spglib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1651984887 -SHA256 (spglib-spglib-v1.16.5_GH0.tar.gz) = 1bbde03b6b78da756c07f458bd90d84f3c253841b9b0632db5b72c5961e87aef -SIZE (spglib-spglib-v1.16.5_GH0.tar.gz) = 2032040 +TIMESTAMP = 1665185311 +SHA256 (spglib-spglib-v2.0.1_GH0.tar.gz) = d7407c0d67174a0c5e41a82ed62948c43fcaf1b5529f97238d7fadd1123ffe22 +SIZE (spglib-spglib-v2.0.1_GH0.tar.gz) = 2879617 diff --git a/science/spglib/pkg-plist b/science/spglib/pkg-plist index 9964232486b8..9304ec4c4110 100644 --- a/science/spglib/pkg-plist +++ b/science/spglib/pkg-plist @@ -1,7 +1,14 @@ +%%FORTRAN%%bin/spglib_example_fortran.X include/spglib.h include/spglib_f08.f90 +%%FORTRAN%%lib/libspglib_f08.a +%%FORTRAN%%lib/libspglib_f08.so +%%FORTRAN%%lib/libspglib_f08.so.1 +%%FORTRAN%%lib/libspglib_f08.so.2.0.1 lib/libsymspg.a lib/libsymspg.so lib/libsymspg.so.1 -lib/libsymspg.so.1.16.5 +lib/libsymspg.so.2.0.1 +%%FORTRAN%%lib/spglib_f08.mod libdata/pkgconfig/spglib.pc +%%FORTRAN%%libdata/pkgconfig/spglib_f08.pc