77d68471ad
PR: 267994 Differential revision: D37518 Approved by: bapt
24 lines
571 B
Makefile
24 lines
571 B
Makefile
PORTNAME= nnpy
|
|
DISTVERSION= 1.4.2
|
|
CATEGORIES= net python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Python bindings for nanomsg (cffi-based)
|
|
WWW= https://github.com/nanomsg/nnpy
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libnanomsg.so:net/nanomsg
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR}
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_nnpy*.so
|
|
|
|
.include <bsd.port.mk>
|