1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00
freebsd-ports/math/py-PuLP/Makefile
Yuri Victorovich e327d87848 math/py-PuLP: Update 2.5.0 -> 2.5.1
Reported by:	portscout
2021-10-02 16:00:00 -07:00

31 lines
758 B
Makefile

PORTNAME= PuLP
DISTVERSION= 2.5.1
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= LP modeler written in python
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}amply>=0.1.2:math/py-amply@${PY_FLAVOR} \
cbc:math/cbc \
glpsol:math/glpk
USES= python:3.6+
USE_PYTHON= distutils concurrent autoplist
NO_ARCH= yes
post-patch:
@${CP} ${WRKSRC}/pulp/pulp.cfg.linux ${WRKSRC}/pulp/pulp.cfg.freebsd
@${REINPLACE_CMD} -E 's/^(CplexPath|PulpCbcPath) = .*/#&/' ${WRKSRC}/pulp/pulp.cfg.freebsd
do-test: install # one test is known to fail: https://github.com/coin-or/pulp/issues/494
@cd ${TEST_WRKSRC} && py.test
.include <bsd.port.mk>