1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/math/py-onnx/Makefile
Yuri Victorovich 5150114b10 math/py-onnx: Update 1.5.0 -> 1.6.0
Reported by:	portscout
2019-09-28 15:08:27 +00:00

32 lines
812 B
Makefile

# $FreeBSD$
PORTNAME= onnx
DISTVERSION= 1.6.0
CATEGORIES= math
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Open Neural Network eXchange
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= cmake:devel/cmake \
${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
LIB_DEPENDS= libprotobuf.so:devel/protobuf
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
${PY_TYPING} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
USES= compiler:c11 python
USE_PYTHON= distutils concurrent autoplist
BINARY_ALIAS= python=${PYTHON_CMD}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/onnx/onnx_cpp2py_export.so
.include <bsd.port.mk>