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 aec0662f32 math/py-ecos: update 2.0.12 → 2.0.13
Reported by:	portscout
2024-04-05 18:26:29 -07:00

28 lines
645 B
Makefile

PORTNAME= ecos
DISTVERSION= 2.0.13
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>