diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2020-12-17 20:32:00 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2020-12-17 20:32:00 +0000 |
commit | f25dd7f5f20dad689ae2841fd6aa99a73903a03a (patch) | |
tree | 518c987177c3da7633da8fb64593f9780ecc640c /math | |
parent | 21d78951391d81950f3e617a075cca47662eb58b (diff) | |
download | ports-f25dd7f5f20dad689ae2841fd6aa99a73903a03a.tar.gz ports-f25dd7f5f20dad689ae2841fd6aa99a73903a03a.zip |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/py-gau2grid/Makefile | 2 | ||||
-rw-r--r-- | math/py-gau2grid/distinfo | 6 | ||||
-rw-r--r-- | math/py-gau2grid/files/patch-CMakeLists.txt | 21 |
3 files changed, 15 insertions, 14 deletions
diff --git a/math/py-gau2grid/Makefile b/math/py-gau2grid/Makefile index 1cf001ba1285..a49d30d539eb 100644 --- a/math/py-gau2grid/Makefile +++ b/math/py-gau2grid/Makefile @@ -2,7 +2,7 @@ PORTNAME= gau2grid DISTVERSIONPREFIX= v -DISTVERSION= 2.0.4 +DISTVERSION= 2.0.5 CATEGORIES= math python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/math/py-gau2grid/distinfo b/math/py-gau2grid/distinfo index a7db921aa80e..36b8ea6d55bf 100644 --- a/math/py-gau2grid/distinfo +++ b/math/py-gau2grid/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1578813504 -SHA256 (dgasmith-gau2grid-v2.0.4_GH0.tar.gz) = 1129730e4be1b558d72db8bc49e8a7e480bb960980ff5bee45dcfc257589e56c -SIZE (dgasmith-gau2grid-v2.0.4_GH0.tar.gz) = 84005 +TIMESTAMP = 1608236776 +SHA256 (dgasmith-gau2grid-v2.0.5_GH0.tar.gz) = b6534bfd2b8b469f66d98d030701ce96e61ded84c1ba521b95f897101d3a5832 +SIZE (dgasmith-gau2grid-v2.0.5_GH0.tar.gz) = 84178 diff --git a/math/py-gau2grid/files/patch-CMakeLists.txt b/math/py-gau2grid/files/patch-CMakeLists.txt index 451bc0b4d6b4..e3c96f8eab3b 100644 --- a/math/py-gau2grid/files/patch-CMakeLists.txt +++ b/math/py-gau2grid/files/patch-CMakeLists.txt @@ -1,15 +1,15 @@ ---- CMakeLists.txt.orig 2018-12-17 15:06:15 UTC +--- CMakeLists.txt.orig 2020-12-15 13:54:30 UTC +++ CMakeLists.txt -@@ -56,7 +56,7 @@ message(STATUS "gau2grid install: ${CMAK +@@ -51,7 +51,7 @@ message(STATUS "gau2grid install: ${CMAKE_INSTALL_PREF # << Python >> - set(Python_ADDITIONAL_VERSIONS 3.7 3.6 3.5) # adjust with CMake minimum FindPythonInterp --find_package(PythonLibsNew 2.7 REQUIRED) + set(Python_ADDITIONAL_VERSIONS 3.9 3.8 3.7 3.6 3.5) # adjust with CMake minimum FindPythonInterp +-find_package(PythonLibsNew 3.6 REQUIRED) +find_package(PythonLibsNew ${FREEBSD_PYTHON_VER} REQUIRED) message(STATUS "${Cyan}Found Python ${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}${ColourReset}: ${PYTHON_EXECUTABLE} (found version ${PYTHON_VERSION_STRING})") -@@ -112,6 +112,7 @@ target_include_directories(gg INTERFACE +@@ -110,6 +110,7 @@ target_include_directories(gg INTERFACE $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>) # GNUInstallDirs "DATADIR" wrong here; CMake search path wants "share". @@ -17,15 +17,15 @@ set(CMAKECONFIG_INSTALL_DIR "share/cmake/${PN}") configure_package_config_file(cmake/${PN}Config.cmake.in "${CMAKE_CURRENT_BINARY_DIR}/${PN}Config.cmake" -@@ -138,6 +139,7 @@ if(NOT(${INSTALL_PYMOD} AND ${NATIVE_PYT - NAMESPACE "${PN}::" - DESTINATION ${CMAKECONFIG_INSTALL_DIR}) +@@ -139,6 +140,7 @@ if(${NATIVE_PYTHON_INSTALL_WITH_LIB} OR (NOT(${INSTALL + NAMESPACE "${PN}::" + FILE "${PROJECT_BINARY_DIR}/${PN}Targets.cmake") endif() +endif() if(${INSTALL_PYMOD}) if(${NATIVE_PYTHON_INSTALL}) -@@ -161,11 +163,11 @@ if(${INSTALL_PYMOD}) +@@ -162,12 +164,12 @@ if(${INSTALL_PYMOD}) OUTPUT_STRIP_TRAILING_WHITESPACE) install(DIRECTORY gau2grid @@ -38,4 +38,5 @@ - DESTINATION ${CMAKE_INSTALL_LIBDIR}${PYMOD_INSTALL_LIBDIR}/gau2grid + DESTINATION ${PYMOD_INSTALL_LIBDIR}/gau2grid RENAME "gg${PYLIB_EXTENSION}") - endif() + + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE |