libsbmlsim: update Python variants

This commit is contained in:
Renee Otten
2026-02-22 22:00:02 -05:00
committed by Renee Otten
parent 27f420c041
commit 4bd134844b
2 changed files with 10 additions and 15 deletions
+2 -1
View File
@@ -29,7 +29,8 @@ patchfiles patch-python-mp.diff
depends_build-append \
port:check \
path:bin/pkg-config:pkgconfig
path:bin/pkg-config:pkgconfig \
port:swig
depends_lib-append port:bzip2 \
port:zlib
+8 -14
View File
@@ -38,22 +38,16 @@ variant java description {Generate Java language bindings.} {
configure.args-append -DWITH_JAVA:BOOL=ON
}
variant python27 conflicts python38 python39 description {Generate Python version 2.7 language bindings.} {
depends_build-append port:swig port:swig-python
depends_lib-append port:python27
configure.args-append -DWITH_PYTHON:BOOL=ON -DPYTHON_EXECUTABLE=${prefix}/bin/python2.7
variant python313 conflicts python314 description {Generate Python version 3.13 language bindings.} {
depends_build-append port:swig port:swig-python
depends_lib-append port:python313
configure.args-append -DWITH_PYTHON:BOOL=ON -DPYTHON_EXECUTABLE=${prefix}/bin/python3.13
}
variant python38 conflicts python27 python39 description {Generate Python version 3.8 language bindings.} {
depends_build-append port:swig port:swig-python
depends_lib-append port:python38
configure.args-append -DWITH_PYTHON:BOOL=ON -DPYTHON_EXECUTABLE=${prefix}/bin/python3.8
}
variant python39 conflicts python27 python38 description {Generate Python version 3.9 language bindings.} {
depends_build-append port:swig port:swig-python
depends_lib-append port:python39
configure.args-append -DWITH_PYTHON:BOOL=ON -DPYTHON_EXECUTABLE=${prefix}/bin/python3.9
variant python314 conflicts python313 description {Generate Python version 3.14 language bindings.} {
depends_build-append port:swig port:swig-python
depends_lib-append port:python314
configure.args-append -DWITH_PYTHON:BOOL=ON -DPYTHON_EXECUTABLE=${prefix}/bin/python3.14
}
variant ruby description {Generate Ruby language bindings.} {