git: 6000be190908 - main - biology/py-python-libsbml: update 5.20.4 → 5.21.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Jul 2026 18:11:40 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6000be190908d3efce05e18f5b401031d7bf185d
commit 6000be190908d3efce05e18f5b401031d7bf185d
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-07-30 05:44:25 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-07-30 18:11:33 +0000
biology/py-python-libsbml: update 5.20.4 → 5.21.1
---
biology/py-python-libsbml/Makefile | 14 +++++++++++---
biology/py-python-libsbml/distinfo | 6 +++---
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/biology/py-python-libsbml/Makefile b/biology/py-python-libsbml/Makefile
index cfb57bd01762..286dd1614dd6 100644
--- a/biology/py-python-libsbml/Makefile
+++ b/biology/py-python-libsbml/Makefile
@@ -1,6 +1,5 @@
PORTNAME= python-libsbml
-DISTVERSION= 5.20.4
-PORTREVISION= 1
+DISTVERSION= 5.21.1
CATEGORIES= biology python
#MASTER_SITES= PYPI # no tarballs on PYPI
MASTER_SITES= https://github.com/sbmlteam/python-libsbml/releases/download/v${DISTVERSION}/
@@ -16,11 +15,20 @@ BUILD_DEPENDS= cmake:devel/cmake-core \
swig:devel/swig
USES= python
-USE_PYTHON= autoplist distutils # autoplist produces incomplete plist, missing files are in pkg-plist. Reported to the upstream author fbergman@caltech.edu on 2021-08-17
+USE_PYTHON= autoplist distutils pytest # autoplist produces incomplete plist, missing files are in pkg-plist. Reported to the upstream author fbergman@caltech.edu on 2021-08-17
+
+WRKSRC= ${WRKDIR}/python_libsbml-${DISTVERSION}
+
+TEST_WRKSRC= ${WRKSRC}/libsbml_source/src/bindings/python
MAKE_ENV= CMAKE_BUILD_PARALLEL_LEVEL=${MAKE_JOBS_NUMBER}
+do-test:
+ cd ${TEST_WRKSRC} && ${PYTHON_CMD} test.py -p ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/libsbml/_libsbml*.so
+# tests as of 5.21.1: Ran 1819 tests in 0.078s
+
.include <bsd.port.mk>
diff --git a/biology/py-python-libsbml/distinfo b/biology/py-python-libsbml/distinfo
index 26af45c03fd7..978825b1a053 100644
--- a/biology/py-python-libsbml/distinfo
+++ b/biology/py-python-libsbml/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1731400774
-SHA256 (python-libsbml-5.20.4.tar.gz) = c9d57cb81661eec7d9ec3a0efa463999d6cd389418dfdbeea764664f3a44617a
-SIZE (python-libsbml-5.20.4.tar.gz) = 48841959
+TIMESTAMP = 1777547689
+SHA256 (python-libsbml-5.21.1.tar.gz) = 378077e37a1b5cd32d8c33bf845b23c22b7a6915d217d7ab811e71e022f982ea
+SIZE (python-libsbml-5.21.1.tar.gz) = 41854207