diff --git a/science/libgetar/Makefile b/science/libgetar/Makefile index e656aa99b1b6..c18841365a01 100644 --- a/science/libgetar/Makefile +++ b/science/libgetar/Makefile @@ -1,20 +1,20 @@ PORTNAME= libgetar DISTVERSIONPREFIX= v -DISTVERSION= 1.1.5 +DISTVERSION= 1.1.7 CATEGORIES= science # physics MAINTAINER= yuri@FreeBSD.org COMMENT= Library to read and write GEneric Trajectory ARchives WWW= https://github.com/glotzerlab/libgetar LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake USE_GITHUB= yes GH_ACCOUNT= glotzerlab CMAKE_ON= LIBGETAR_SHARED .include diff --git a/science/libgetar/distinfo b/science/libgetar/distinfo index b9f19c111690..cf8362f69cbc 100644 --- a/science/libgetar/distinfo +++ b/science/libgetar/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1701932627 -SHA256 (glotzerlab-libgetar-v1.1.5_GH0.tar.gz) = f32863a60408108a9e8bdaa220237497a8318fb1434968d02ed08e645186a236 -SIZE (glotzerlab-libgetar-v1.1.5_GH0.tar.gz) = 2603228 +TIMESTAMP = 1721174986 +SHA256 (glotzerlab-libgetar-v1.1.7_GH0.tar.gz) = ef9f01efa2539b53ee1b21cbdfd6753130669ae94dc7826706158bd2c55fb96b +SIZE (glotzerlab-libgetar-v1.1.7_GH0.tar.gz) = 2603492 diff --git a/science/libgetar/files/patch-CMakeLists.txt b/science/libgetar/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..56a6953908f0 --- /dev/null +++ b/science/libgetar/files/patch-CMakeLists.txt @@ -0,0 +1,9 @@ +--- CMakeLists.txt.orig 2024-07-17 00:16:02 UTC ++++ CMakeLists.txt +@@ -54,4 +54,6 @@ install(FILES ${GETAR_HEADERS} DESTINATION include/get + + install(FILES ${GETAR_HEADERS} DESTINATION include/getar) + ++if (BUILD_TESTING) + add_subdirectory(test) ++endif() diff --git a/science/py-libgetar/Makefile b/science/py-libgetar/Makefile index e504b50e1716..8dd85d13686f 100644 --- a/science/py-libgetar/Makefile +++ b/science/py-libgetar/Makefile @@ -1,33 +1,33 @@ PORTNAME= libgetar DISTVERSIONPREFIX= v -DISTVERSION= 1.1.5 +DISTVERSION= 1.1.7 CATEGORIES= science # physics PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Library to read and write GEneric Trajectory ARchives WWW= https://github.com/glotzerlab/libgetar LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE PY_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}breathe>0:devel/py-breathe@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} USES= python USE_PYTHON= distutils cython autoplist USE_GITHUB= yes GH_ACCOUNT= glotzerlab TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gtar/_gtar${PYTHON_EXT_SUFFIX}.so do-test: @cd ${WRKSRC}/test && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m unittest discover .include diff --git a/science/py-libgetar/distinfo b/science/py-libgetar/distinfo index c4173c20c746..558099d01e50 100644 --- a/science/py-libgetar/distinfo +++ b/science/py-libgetar/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1701932914 -SHA256 (glotzerlab-libgetar-v1.1.5_GH0.tar.gz) = f32863a60408108a9e8bdaa220237497a8318fb1434968d02ed08e645186a236 -SIZE (glotzerlab-libgetar-v1.1.5_GH0.tar.gz) = 2603228 +TIMESTAMP = 1721175499 +SHA256 (glotzerlab-libgetar-v1.1.7_GH0.tar.gz) = ef9f01efa2539b53ee1b21cbdfd6753130669ae94dc7826706158bd2c55fb96b +SIZE (glotzerlab-libgetar-v1.1.7_GH0.tar.gz) = 2603492