Files
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

34 lines
841 B
Makefile

PORTNAME= baycomp
DISTVERSION= 1.0.3
PORTREVISION= 1
CATEGORIES= math python # statistics
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Library for Bayesian comparison of classifiers
WWW= https://github.com/janezd/baycomp
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}matplotlib>=2.1.2:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>=0.19.1:science/py-scipy@${PY_FLAVOR}
#RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pystan>=3.4.0:math/py-pystan@${PY_FLAVOR}
USES= localbase:ldflags python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
POST_PLIST= rm-tests-from-plist
post-install:
@${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/tests
rm-tests-from-plist:
@${REINPLACE_CMD} '/\/tests\//d' ${TMPPLIST}
.include <bsd.port.mk>