mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
math/py-nlopt: update 2.8.0 → 2.9.0
Reported by: portscout
This commit is contained in:
parent
14bf91863f
commit
a878e29380
@ -1,5 +1,5 @@
|
||||
PORTNAME= nlopt
|
||||
DISTVERSION= 2.8.0
|
||||
DISTVERSION= 2.9.0
|
||||
CATEGORIES= math
|
||||
#MASTER_SITES= PYPI # https://github.com/DanielBok/nlopt-python/issues/15
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -24,13 +24,13 @@ USE_PYTHON= distutils # autoplist is broken, see https://github.com/DanielBok/nl
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= DanielBok
|
||||
GH_PROJECT= nlopt-python
|
||||
GH_TUPLE= stevengj:nlopt:0b95472:nlopt/extern/nlopt
|
||||
GH_TUPLE= stevengj:nlopt:75dd16e:nlopt/extern/nlopt
|
||||
|
||||
#CMAKE_ARGS= -DFREEBSD_PYTHON_VER=${PYTHON_VER}
|
||||
MAKE_ENV= FREEBSD_PYTHON_VER=${PYTHON_VER}
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/nlopt/_nlopt${PYTHON_EXT_SUFFIX}.so
|
||||
xpost-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/nlopt/_nlopt.so
|
||||
|
||||
do-test:
|
||||
@${SETENV} ${TEST_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} ${FILESDIR}/example.py
|
||||
|
@ -1,5 +1,5 @@
|
||||
TIMESTAMP = 1725591918
|
||||
SHA256 (DanielBok-nlopt-python-2.8.0_GH0.tar.gz) = 79d2905a76483f0cd0b7a66954beea2d426383097b75880b9b2852706a16b7fc
|
||||
SIZE (DanielBok-nlopt-python-2.8.0_GH0.tar.gz) = 9152
|
||||
SHA256 (stevengj-nlopt-0b95472_GH0.tar.gz) = 9714d26bc040b0c12ed9101702b082c87385464686e92d194957f4ad22523c79
|
||||
SIZE (stevengj-nlopt-0b95472_GH0.tar.gz) = 2051424
|
||||
TIMESTAMP = 1731822083
|
||||
SHA256 (DanielBok-nlopt-python-2.9.0_GH0.tar.gz) = bd16c2a8af7819efeb6cc1b4f349c4553be02e95e628bca7a5c9891da467b99b
|
||||
SIZE (DanielBok-nlopt-python-2.9.0_GH0.tar.gz) = 9154
|
||||
SHA256 (stevengj-nlopt-75dd16e_GH0.tar.gz) = 969621b928096094546d77d118e1f3e94496f9160a8b01adc6a7755e301f9568
|
||||
SIZE (stevengj-nlopt-75dd16e_GH0.tar.gz) = 2054748
|
||||
|
@ -1,14 +1,14 @@
|
||||
--- extern/nlopt/CMakeLists.txt.orig 2024-04-04 04:49:46 UTC
|
||||
--- extern/nlopt/CMakeLists.txt.orig 2024-11-14 05:30:22 UTC
|
||||
+++ extern/nlopt/CMakeLists.txt
|
||||
@@ -317,9 +317,9 @@ if (NLOPT_PYTHON)
|
||||
@@ -324,9 +324,9 @@ if (NLOPT_PYTHON)
|
||||
|
||||
if (NLOPT_PYTHON)
|
||||
if (CMAKE_VERSION VERSION_LESS 3.24)
|
||||
- find_package (Python COMPONENTS Interpreter Development)
|
||||
if (CMAKE_VERSION VERSION_LESS 3.26)
|
||||
- find_package (Python 3.6 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)
|
||||
- find_package (Python 3.6 COMPONENTS Interpreter Development.Module Development.SABIModule)
|
||||
+ find_package (Python ${FREEBSD_PYTHON_VER} EXACT COMPONENTS Interpreter Development.Module Development.SABIModule)
|
||||
endif ()
|
||||
|
||||
find_package (NumPy)
|
||||
if (Python_FOUND)
|
||||
|
@ -3,5 +3,5 @@
|
||||
%%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%%PYTHON_EXT_SUFFIX%%.so
|
||||
%%PYTHON_SITELIBDIR%%/nlopt/_nlopt.so
|
||||
%%PYTHON_SITELIBDIR%%/nlopt/nlopt.py
|
||||
|
Loading…
Reference in New Issue
Block a user