aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Korobkov <alster@vinterdalen.se>2024-04-27 07:26:31 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-04-27 07:52:59 +0000
commit4729af8a17d2d322c746984aec635c9620ab2958 (patch)
tree78054e30c9e5b5fc969b2ad045aee6a43bff5489
parent43b2d219301cf460514c4a027e035f042f039bc2 (diff)
downloadports-4729af8a17d2d322c746984aec635c9620ab2958.tar.gz
ports-4729af8a17d2d322c746984aec635c9620ab2958.zip
science/thermofun: update 0.4.4 → 0.4.5
PR: 278467
-rw-r--r--science/thermofun/Makefile19
-rw-r--r--science/thermofun/distinfo6
-rw-r--r--science/thermofun/pkg-descr4
-rw-r--r--science/thermofun/pkg-plist14
4 files changed, 22 insertions, 21 deletions
diff --git a/science/thermofun/Makefile b/science/thermofun/Makefile
index f121cb363492..cca1c2936417 100644
--- a/science/thermofun/Makefile
+++ b/science/thermofun/Makefile
@@ -1,41 +1,42 @@
PORTNAME= thermofun
DISTVERSIONPREFIX= v
-DISTVERSION= 0.4.4
+DISTVERSION= 0.4.5
CATEGORIES= science # chemistry
MAINTAINER= yuri@FreeBSD.org
COMMENT= Code for calculating thermodynamic properties of materials
-WWW= https://github.com/thermohub/thermofun
+WWW= https://github.com/thermohub/thermofun/
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json \
- spdlog>0:devel/spdlog \
- ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR}
+ spdlog>0:devel/spdlog
LIB_DEPENDS= libChemicalFun.so:science/chemicalfun
-USES= cmake compiler:c++14-lang
+USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= thermohub
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
CXXFLAGS+= -DSPDLOG_FMT_EXTERNAL # see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258073#c3
-TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}
OPTIONS_DEFINE= PYTHON
OPTIONS_DEFAULT= PYTHON
OPTIONS_SUB= yes
+PYTHON_BUILD_DEPENDS= pybind11>0:devel/pybind11 \
+ ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR}
PYTHON_USES= python
PYTHON_USE= PYTHON=pytest
PYTHON_CMAKE_BOOL= TFUN_BUILD_PYTHON
PYTHON_CMAKE_ON= -DFREEBSD_STAGEDIR=${STAGEDIR} -DFREEBSD_PREFIX=${PREFIX}
-PYTHON_BUILD_DEPENDS= pybind11>0:devel/pybind11 \
- ${PY_SETUPTOOLS}
post-install-PYTHON-on:
# remove wrong *.pyc, see related bug https://bitbucket.org/gems4/chemicalfun/issues/1/please-support-stagedir
diff --git a/science/thermofun/distinfo b/science/thermofun/distinfo
index 9b6fa7e8a90e..0346934de012 100644
--- a/science/thermofun/distinfo
+++ b/science/thermofun/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1686365234
-SHA256 (thermohub-thermofun-v0.4.4_GH0.tar.gz) = d5ca71461eeeb7e2343bad15131d7d5c0a271d495f869243b28677f82386ee6d
-SIZE (thermohub-thermofun-v0.4.4_GH0.tar.gz) = 2084337
+TIMESTAMP = 1713550727
+SHA256 (thermohub-thermofun-v0.4.5_GH0.tar.gz) = 90519474d54ff91de61172cab0169c8a26a3dc7e2b0b6345237ed0d4e9787b30
+SIZE (thermohub-thermofun-v0.4.5_GH0.tar.gz) = 2079838
diff --git a/science/thermofun/pkg-descr b/science/thermofun/pkg-descr
index 2ecc495e54fe..32c595adc9bf 100644
--- a/science/thermofun/pkg-descr
+++ b/science/thermofun/pkg-descr
@@ -1,2 +1,2 @@
-A code for calculating the standard state thermodynamic properties at a given
-temperature and pressure.
+A code for calculating the standard state thermodynamic properties
+at a given temperature and pressure.
diff --git a/science/thermofun/pkg-plist b/science/thermofun/pkg-plist
index c11f3bece961..c70bdbb788a1 100644
--- a/science/thermofun/pkg-plist
+++ b/science/thermofun/pkg-plist
@@ -68,12 +68,12 @@ lib/cmake/ThermoFun/ThermoFunConfigVersion.cmake
lib/cmake/ThermoFun/ThermoFunTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/ThermoFun/ThermoFunTargets.cmake
lib/libThermoFun.so
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/thermofun-0.4.3.dist-info/INSTALLER
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/thermofun-0.4.3.dist-info/METADATA
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/thermofun-0.4.3.dist-info/RECORD
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/thermofun-0.4.3.dist-info/REQUESTED
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/thermofun-0.4.3.dist-info/WHEEL
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/thermofun-0.4.3.dist-info/direct_url.json
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/thermofun-0.4.3.dist-info/top_level.txt
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/thermofun-0.4.5.dist-info/INSTALLER
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/thermofun-0.4.5.dist-info/METADATA
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/thermofun-0.4.5.dist-info/RECORD
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/thermofun-0.4.5.dist-info/REQUESTED
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/thermofun-0.4.5.dist-info/WHEEL
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/thermofun-0.4.5.dist-info/direct_url.json
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/thermofun-0.4.5.dist-info/top_level.txt
%%PYTHON%%%%PYTHON_SITELIBDIR%%/thermofun/PyThermoFun%%PYTHON_EXT_SUFFIX%%.so
%%PYTHON%%%%PYTHON_SITELIBDIR%%/thermofun/__init__.py