1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/math/py-ecos/Makefile
Yuri Victorovich 8ecca09c54 math/py-ecos: update 2.0.13 → 2.0.14
Reported by:	portscout
2024-06-19 12:03:09 -07:00

28 lines
645 B
Makefile

PORTNAME= ecos
DISTVERSION= 2.0.14
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python package for ECOS: Embedded Cone Solver
WWW= https://www.embotech.com/ECOS
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>=0.9:science/py-scipy@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
pre-configure:
@${ECHO} "__version__=\"$(DISTVERSION)\"" > ${WRKSRC}/src/ecos/version.py
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_ecos*.so
.include <bsd.port.mk>