freebsd-ports/biology/py-python-libsbml/Makefile
Ruslan Makhmatkhanov 4135d03c4d biology/py-python-libsbml: relax python version requirement
According to [1] python-libsbml supports Python 3.11 since version 5.19.2

[1] https://github.com/sbmlteam/python-libsbml/releases/tag/v5.19.2

PR:		275494
Approved by:	portmgr (blanket)
2023-12-03 15:02:23 +03:00

25 lines
768 B
Makefile

PORTNAME= python-libsbml
DISTVERSION= 5.20.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
MAKE_ENV= CMAKE_BUILD_PARALLEL_LEVEL=${MAKE_JOBS_NUMBER}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/libsbml/_libsbml*.so
.include <bsd.port.mk>