Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
math/py-nlopt: update 2.7.1 → 2.7.1.2
Reported by: portscout
- Loading branch information
Showing
6 changed files
with
54 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
TIMESTAMP = 1655669851 | ||
SHA256 (DanielBok-nlopt-python-2.7.1_GH0.tar.gz) = 838a46f67309b1e1f63227a27726e8a7be19f9b05f0972d40b98a52ccfb799fb | ||
SIZE (DanielBok-nlopt-python-2.7.1_GH0.tar.gz) = 6749 | ||
SHA256 (stevengj-nlopt-4a0e93c_GH0.tar.gz) = 3d8036633821df60f387431fde51cd11c125743a24ccbda40221518ad21663a4 | ||
SIZE (stevengj-nlopt-4a0e93c_GH0.tar.gz) = 2044242 | ||
TIMESTAMP = 1712206116 | ||
SHA256 (DanielBok-nlopt-python-2.7.1.2_GH0.tar.gz) = 3fd3c49689f42adf2ff230fde768312ee55bd48c33f97cc8effd52b655aaa909 | ||
SIZE (DanielBok-nlopt-python-2.7.1.2_GH0.tar.gz) = 9079 | ||
SHA256 (stevengj-nlopt-7a7587e_GH0.tar.gz) = 0a5a0e349e3c59283ee9f309da2e5dea0e68d33d642e7ee6b6df3f4de5f0b013 | ||
SIZE (stevengj-nlopt-7a7587e_GH0.tar.gz) = 2049756 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- CMakeLists.txt.orig 2024-04-03 02:23:20 UTC | ||
+++ CMakeLists.txt | ||
@@ -2,6 +2,8 @@ project(nlopt-python) | ||
|
||
project(nlopt-python) | ||
|
||
+set(FREEBSD_PYTHON_VER $ENV{FREEBSD_PYTHON_VER}) | ||
+ | ||
set (CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR}) | ||
set (CMAKE_INSTALL_LIBDIR ${CMAKE_INSTALL_PREFIX}/nlopt) | ||
set (INSTALL_PYTHON_DIR ${CMAKE_INSTALL_PREFIX}) | ||
@@ -9,7 +11,7 @@ if (NOT WIN32) | ||
option (BUILD_SHARED_LIBS OFF) | ||
|
||
if (NOT WIN32) | ||
- find_package (PythonInterp) | ||
+ find_package (PythonInterp ${FREEBSD_PYTHON_VER} EXACT) | ||
|
||
execute_process( | ||
COMMAND |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- extern/nlopt/CMakeLists.txt.orig 2024-04-04 04:49:46 UTC | ||
+++ extern/nlopt/CMakeLists.txt | ||
@@ -317,9 +317,9 @@ if (NLOPT_PYTHON) | ||
|
||
if (NLOPT_PYTHON) | ||
if (CMAKE_VERSION VERSION_LESS 3.24) | ||
- find_package (Python COMPONENTS Interpreter Development) | ||
+ find_package (Python ${FREEBSD_PYTHON_VER} EXACT COMPONENTS Interpreter Development) | ||
else () | ||
- find_package (Python COMPONENTS Interpreter Development.Module) | ||
+ find_package (Python ${FREEBSD_PYTHON_VER} EXACT COMPONENTS Interpreter Development.Module) | ||
endif () | ||
|
||
find_package (NumPy) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
%%PYTHON_SITELIBDIR%%/nlopt-2.7.1-py%%PYTHON_VER%%.egg-info/PKG-INFO | ||
%%PYTHON_SITELIBDIR%%/nlopt-2.7.1-py%%PYTHON_VER%%.egg-info/SOURCES.txt | ||
%%PYTHON_SITELIBDIR%%/nlopt-2.7.1-py%%PYTHON_VER%%.egg-info/dependency_links.txt | ||
%%PYTHON_SITELIBDIR%%/nlopt-2.7.1-py%%PYTHON_VER%%.egg-info/not-zip-safe | ||
%%PYTHON_SITELIBDIR%%/nlopt-2.7.1-py%%PYTHON_VER%%.egg-info/requires.txt | ||
%%PYTHON_SITELIBDIR%%/nlopt-2.7.1-py%%PYTHON_VER%%.egg-info/top_level.txt | ||
%%PYTHON_SITELIBDIR%%/nlopt/__init__.py | ||
%%PYTHON_SITELIBDIR%%/nlopt/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc | ||
%%PYTHON_SITELIBDIR%%/nlopt/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc | ||
%%PYTHON_SITELIBDIR%%/nlopt/__pycache__/nlopt%%PYTHON_EXT_SUFFIX%%.opt-1.pyc | ||
%%PYTHON_SITELIBDIR%%/nlopt/__pycache__/nlopt%%PYTHON_EXT_SUFFIX%%.pyc | ||
%%PYTHON_SITELIBDIR%%/nlopt/_nlopt.so | ||
%%PYTHON_SITELIBDIR%%/nlopt/_nlopt%%PYTHON_EXT_SUFFIX%%.so | ||
%%PYTHON_SITELIBDIR%%/nlopt/nlopt.py |