git: 893daf4fbc25 - main - biology/libsbml: limit supported python versions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Nov 2021 15:28:43 UTC
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=893daf4fbc25cef09586e7c9389ae47f70488de8
commit 893daf4fbc25cef09586e7c9389ae47f70488de8
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-11-01 14:32:26 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2021-11-01 15:28:24 +0000
biology/libsbml: limit supported python versions
File "/wrkdirs/usr/ports/biology/libsbml/work/libsbml-5.19.0/src/bindings/python/doc-converter/rewrite_pydoc.py", line 121, in <module>
from formatter import NullWriter, AbstractFormatter
ModuleNotFoundError: No module named 'formatter'
Approved by: portmgr blanket
---
biology/libsbml/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/biology/libsbml/Makefile b/biology/libsbml/Makefile
index 4e6d0e186774..39e627a55eff 100644
--- a/biology/libsbml/Makefile
+++ b/biology/libsbml/Makefile
@@ -35,7 +35,7 @@ LIBXML2_USE= GNOME=libxml2
LIBXML2_USES= gnome
PYTHON_BUILD_DEPENDS= swig:devel/swig
PYTHON_CMAKE_BOOL= WITH_PYTHON
-PYTHON_USES= python
+PYTHON_USES= python:-3.9
PYTHON_CMAKE_ON= WITH_SWIG
RUBY_BUILD_DEPENDS= swig:devel/swig
RUBY_CMAKE_BOOL= WITH_RUBY