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,26 +1,34 @@ 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}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= LibSBML Python API WWW= https://sbml.org/Main_Page LICENSE= LGPL21 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 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