Charlie Li 06a08e69f3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

27 lines
784 B
Makefile

PORTNAME= python-libsbml
DISTVERSION= 5.20.4
PORTREVISION= 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>